Skip to content

Commit

Permalink
Merge pull request #220 from alexlarsson/musl-seccomp
Browse files Browse the repository at this point in the history
composefs-from-json; Include readv/writev in seccomp list
  • Loading branch information
alexlarsson authored Oct 12, 2023
2 parents a101a22 + 3f581f2 commit 061f459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/composefs-from-json.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ static void do_seccomp_sandbox(void)
SCMP_SYS(brk), SCMP_SYS(close), SCMP_SYS(exit),
SCMP_SYS(exit_group), SCMP_SYS(fstat), SCMP_SYS(lseek),
SCMP_SYS(mmap), SCMP_SYS(mremap), SCMP_SYS(munmap),
SCMP_SYS(newfstatat), SCMP_SYS(read), SCMP_SYS(sysinfo),
SCMP_SYS(write),
SCMP_SYS(newfstatat), SCMP_SYS(read), SCMP_SYS(readv),
SCMP_SYS(sysinfo), SCMP_SYS(write), SCMP_SYS(writev),
};

ctx = seccomp_init(SCMP_ACT_ERRNO(ENOSYS));
Expand Down

0 comments on commit 061f459

Please sign in to comment.