Skip to contentSkip to conversation

Add syscalls for -runas and -chroot to the seccomp sandbox

PATCH [email protected] 1 participant 1 message Oct 2, 2015

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

Should it enable seccomp a bit later?

Ideally it should be enabled as late as possible, right before the main loop, because here's no reason to whitelist syscalls that are only ever needed to start QEMU up (e.g. chroot, which is only used before the guest even boots). But for now, the simplest solution to the -chroot and -runas issue I can think
of is to enable those syscalls in my patch.