mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
Merge remote-tracking branch 'otubo/seccomp' into staging
* otubo/seccomp: seccomp: add some basic shared memory syscalls to the whitelist seccomp: add mkdir() and fchmod() to the whitelist Message-id: 1390231004-18392-1-git-send-email-otubo@linux.vnet.ibm.com Signed-off-by: Anthony Liguori <aliguori@amazon.com>
This commit is contained in:
commit
1c51e68b18
@ -220,7 +220,12 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
|
||||
{ SCMP_SYS(io_cancel), 241 },
|
||||
{ SCMP_SYS(io_setup), 241 },
|
||||
{ SCMP_SYS(io_destroy), 241 },
|
||||
{ SCMP_SYS(arch_prctl), 240 }
|
||||
{ SCMP_SYS(arch_prctl), 240 },
|
||||
{ SCMP_SYS(mkdir), 240 },
|
||||
{ SCMP_SYS(fchmod), 240 },
|
||||
{ SCMP_SYS(shmget), 240 },
|
||||
{ SCMP_SYS(shmat), 240 },
|
||||
{ SCMP_SYS(shmdt), 240 }
|
||||
};
|
||||
|
||||
int seccomp_start(void)
|
||||
|
Loading…
Reference in New Issue
Block a user