We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa2eee7 commit 6edaaa6Copy full SHA for 6edaaa6
library/std/src/sys/unix/process/process_unix.rs
@@ -168,6 +168,8 @@ impl Command {
168
169
// Bypassing libc for `clone3` can make further libc calls unsafe,
170
// so we use it sparingly for now. See #89522 for details.
171
+ // Some tools (e.g. sandboxing tools) may also expect `fork`
172
+ // rather than `clone3`.
173
let want_clone3_pidfd = self.get_create_pidfd();
174
175
// If we fail to create a pidfd for any reason, this will
0 commit comments