From f094ba7386fc5fbb3df5fd84008ca07d2289ff26 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 10 Feb 2023 14:38:14 +0100 Subject: Simplify the PID namespace check: just try to mount /proc Fixes #7783. --- src/libutil/util.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 266da0ae3..95562280e 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -301,6 +301,7 @@ struct ProcessOptions bool dieWithParent = true; bool runExitHandlers = false; bool allowVfork = false; + int cloneFlags = 0; // use clone() with the specified flags (Linux only) }; pid_t startProcess(std::function fun, const ProcessOptions & options = ProcessOptions()); -- cgit v1.2.3