Add restart_syscall to pledge()

This commit is contained in:
Justine Tunney 2022-08-07 22:58:33 -07:00
parent b77cae2d57
commit 7bd4179b9b

View file

@ -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, //