mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
seccomp: add memfd_create to whitelist
This is used by memfd code. Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
This commit is contained in:
parent
1d9edff78f
commit
f8d82b8eb8
@ -237,7 +237,8 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
|
||||
{ SCMP_SYS(fadvise64), 240 },
|
||||
{ SCMP_SYS(inotify_init1), 240 },
|
||||
{ SCMP_SYS(inotify_add_watch), 240 },
|
||||
{ SCMP_SYS(mbind), 240 }
|
||||
{ SCMP_SYS(mbind), 240 },
|
||||
{ SCMP_SYS(memfd_create), 240 }
|
||||
};
|
||||
|
||||
int seccomp_start(void)
|
||||
|
Loading…
Reference in New Issue
Block a user