]> Cypherpunks repositories - gostls13.git/commit
syscall: skip test if unprivileged_userns_clone sysctl is missing
authorMeng Zhuo <mengzhuo1203@gmail.com>
Thu, 6 Jun 2019 10:07:13 +0000 (18:07 +0800)
committerTobias Klauser <tobias.klauser@gmail.com>
Thu, 6 Jun 2019 10:49:25 +0000 (10:49 +0000)
commitf31b7b9b5b43277fb8b77ee57389a0b2f5278c1e
treea2e9b32ac56f974512abce7968c880ca745db16d
parent064ce85c2062cfee8dc87b69a831980e67d3d8a8
syscall: skip test if unprivileged_userns_clone sysctl is missing

The original test (CL 166460) didn't check the existence of
/proc/sys/kernel/unprivileged_userns_clone and continue the test
if the file doesn't exist.

Fixes #32459

Change-Id: Iab4938252fcaded32b61e17edf68f966c2565582
Reviewed-on: https://go-review.googlesource.com/c/go/+/180877
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/syscall/exec_linux_test.go