summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2019-02-19 14:19:07 -0800
committerShentubot <shentubot@google.com>2019-02-19 14:20:05 -0800
commitbb47d8a545f82849f637c480459109e16be336cf (patch)
tree2c47b462d5ae4edb1df6861c753f099b92d97627 /test/syscalls/linux/BUILD
parent22d8b6eba1487d3f0d87a578e414e451d9aeb26d (diff)
Fix clone(CLONE_NEWUSER).
- Use new user namespace for namespace creation checks. - Ensure userns is never nil since it's used by other namespaces. PiperOrigin-RevId: 234673175 Change-Id: I4b9d9d1e63ce4e24362089793961a996f7540cd9
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index 3c61c48ef..e7f5ea998 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -732,7 +732,9 @@ cc_binary(
srcs = ["fork.cc"],
linkstatic = 1,
deps = [
+ "//test/util:capability_util",
"//test/util:logging",
+ "//test/util:memory_util",
"//test/util:test_main",
"//test/util:test_util",
"//test/util:thread_util",