mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Add restart_syscall to pledge()
This commit is contained in:
parent
b77cae2d57
commit
7bd4179b9b
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ static const uint16_t kPledgeLinuxDefault[] = {
|
|||
// the bpf script or the end.
|
||||
static const uint16_t kPledgeLinuxStdio[] = {
|
||||
__NR_linux_sigreturn, //
|
||||
__NR_linux_restart_syscall, //
|
||||
__NR_linux_exit_group, //
|
||||
__NR_linux_sched_yield, //
|
||||
__NR_linux_sched_getaffinity, //
|
||||
|
|
Loading…
Reference in a new issue