aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
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