Update another comment on fork vs. clone3

This commit is contained in:
Josh Stone
2021-10-15 14:45:23 -07:00
parent 85b55ce00d
commit fa2eee7bf2

View File

@@ -211,8 +211,8 @@ impl Command {
} }
} }
// If we get here, the 'clone3' syscall does not exist // Generally, we just call `fork`. If we get here after wanting `clone3`,
// or we do not have permission to call it // then the syscall does not exist or we do not have permission to call it.
cvt(libc::fork()).map(|res| (res, pidfd)) cvt(libc::fork()).map(|res| (res, pidfd))
} }