aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-12 13:14:26 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-12 13:14:26 +0100
commit02613a41240086cb50cb38d99fe7ffdd97b7f4f5 (patch)
treec206add60b1989a987325b3e26685ddce49da8d9 /executor/common_linux.h
parent7ed11ab916b9da1061c5618694853c7316cf66a5 (diff)
sys/linux: add basic tipc test
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index 00c78c6af..de3744ad9 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -1658,7 +1658,8 @@ static int namespace_sandbox_proc(void* arg)
// We setup tun here as it needs to be in the test net namespace,
// which in turn needs to be in the test user namespace.
// However, IFF_NAPI_FRAGS will fail as we are not root already.
- // There does not seem to be a call sequence that would satisfy all of that.
+ // TODO: we should create tun in the init net namespace and use setns
+ // to move it to the target namespace.
initialize_tun();
#endif
#if SYZ_EXECUTOR || SYZ_ENABLE_NETDEV