]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-seccomp.c
slirp: Send RDNSS in RA only if host has an IPv6 DNS server
[mirror_qemu.git] / qemu-seccomp.c
index 138ee022a8fe32f110cb19a7a4c9b099e7536466..df75d9c4710f7336acac8d9b33cd69a874e08230 100644 (file)
@@ -65,6 +65,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
     { SCMP_SYS(prctl), 245 },
     { SCMP_SYS(signalfd), 245 },
     { SCMP_SYS(getrlimit), 245 },
+    { SCMP_SYS(getrusage), 245 },
     { SCMP_SYS(set_tid_address), 245 },
     { SCMP_SYS(statfs), 245 },
     { SCMP_SYS(unlink), 245 },
@@ -252,6 +253,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
 #ifdef HAVE_CACHEFLUSH
     { SCMP_SYS(cacheflush), 240 },
 #endif
+    { SCMP_SYS(sysinfo), 240 },
 };
 
 int seccomp_start(void)