Update another comment on fork vs. clone3
(cherry picked from commit fa2eee7bf2)
This commit is contained in:
parent
4b4b56d2fa
commit
aaa8f4efe1
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,8 @@ impl Command {
|
|||
}
|
||||
}
|
||||
|
||||
// If we get here, the 'clone3' syscall does not exist
|
||||
// or we do not have permission to call it
|
||||
// Generally, we just call `fork`. If we get here after wanting `clone3`,
|
||||
// then the syscall does not exist or we do not have permission to call it.
|
||||
cvt(libc::fork()).map(|res| (res, pidfd))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue