Commit f8d82b8e authored by Eduardo Otubo's avatar Eduardo Otubo Committed by Michael S. Tsirkin

seccomp: add memfd_create to whitelist

This is used by memfd code.
Signed-off-by: 's avatarEduardo Otubo <eduardo.otubo@profitbricks.com>
Signed-off-by: 's avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: 's avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: 's avatarMichael S. Tsirkin <mst@redhat.com>
Tested-by: 's avatarThibaut Collet <thibaut.collet@6wind.com>
parent 1d9edff7
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment