]> Cypherpunks repositories - gostls13.git/commit
syscall: move check of unprivileged_userns_clone to whoamiCmd
authorAlexander Morozov <lk4d4math@gmail.com>
Mon, 31 Aug 2015 15:41:43 +0000 (08:41 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 31 Aug 2015 16:34:31 +0000 (16:34 +0000)
commitae82315b82672ca95c2b5365d7d18283981a40af
treea31fdcaa831dc5bda1df3a0a16b839467692b6f1
parent3578bdf3c3c5832d3590d355add707b97485a6ab
syscall: move check of unprivileged_userns_clone to whoamiCmd

This is basic validation and should be performed early

Fixes #12412

Change-Id: I903f7eeafdc22376704985a53d649698cf9d8ef4
Reviewed-on: https://go-review.googlesource.com/14110
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/syscall/exec_linux_test.go