]> git.proxmox.com Git - mirror_qemu.git/commit
seccomp: add mbind() to the syscall whitelist
authorPaul Moore <pmoore@redhat.com>
Wed, 17 Dec 2014 20:50:09 +0000 (15:50 -0500)
committerEduardo Otubo <eduardo.otubo@profitbricks.com>
Mon, 5 Jan 2015 17:13:38 +0000 (18:13 +0100)
commitea259acae5b2d88ee6e92caf1cf44eb501eaef47
tree2528f5ad79dce968699b1930deb99f8f853a10b5
parentaa49668cc3cc680187e9e9b1d2eb8d64d72bff3e
seccomp: add mbind() to the syscall whitelist

The "memory-backend-ram" QOM object utilizes the mbind(2) syscall to
set the policy for a memory range.  Add the syscall to the seccomp
sandbox whitelist.

Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
Acked-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
Tested-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
qemu-seccomp.c