setuid and setgid take locks on Linux
Open
- Dominant language
- Haskell
- Stars
- 91
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
On Linux, setuid and setgid both take locks, so neither is safe to call in the child after vfork(). Instead, use syscall to issue a raw system call to the kernel.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.