seccomp branch queue
The following changes since commit b574f602680d41c4cf4a9c106e3e2244bed01cdd:
Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20141216-1' into staging (2014-12-17 19:22:42 +0000)
are available in the git repository at:
https://github.com/otubo/qemu.git tags/pull-seccomp-20150105
for you to fetch changes up to ea259acae5b2d88ee6e92caf1cf44eb501eaef47:
seccomp: add mbind() to the syscall whitelist (2015-01-05 18:13:38 +0100)
----------------------------------------------------------------
seccomp: typo in configure error message
seccomp: add mbind() to the syscall whitelist
----------------------------------------------------------------
Eduardo Otubo (1):
seccomp: typo in configure error message
Paul Moore (1):
seccomp: add mbind() to the syscall whitelist
configure | 2 +- qemu-seccomp.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 01/02] seccomp: typo in configure error message
Error message was misleading people to install wrong version of libseccomp.
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -1830,7 +1830,7 @@ if test "$seccomp" != "no" ; then seccomp="yes" else if test "$seccomp" = "yes"; then - feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.0" + feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1" fi seccomp="no" fi
Signature · 1 line
1.9.1
[Qemu-devel] [PULL 02/02] seccomp: add mbind() to the syscall whitelist
In reply to Eduardo OtuboFrom: Paul Moore <[email protected]>
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.
--- qemu-seccomp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
qemu-seccomp.c +2 -1
@@ -235,7 +235,8 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(fallocate), 240 }, { SCMP_SYS(fadvise64), 240 }, { SCMP_SYS(inotify_init1), 240 }, - { SCMP_SYS(inotify_add_watch), 240 } + { SCMP_SYS(inotify_add_watch), 240 }, + { SCMP_SYS(mbind), 240 } };int seccomp_start (void )
Signature · 1 line
1.9.1
Peter Maydell
AppliedQuoted 20 lines · Eduardo Otubo
The following changes since commit
b574f602680d41c4cf4a9c106e3e2244bed01cdd:Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20141216-1' into staging (2014-12-17 19:22:42 +0000)
are available in the git repository at:
https://github.com/otubo/qemu.git tags/pull-seccomp-20150105
for you to fetch changes up to
ea259acae5b2d88ee6e92caf1cf44eb501eaef47:seccomp: add
mbind()to the syscall whitelist (2015-01-05 18:13:38 +0100)----------------------------------------------------------------
seccomp: typo in configure error message
seccomp: addmbind()to the syscall whitelist
----------------------------------------------------------------
Eduardo Otubo (1):
seccomp: typo in configure error message
Quoted 2 lines
Paul Moore (1):
seccomp: addmbind()to the syscall whitelist
Applied, thanks.
-- PMM