* [Qemu-devel] [PULL 01/01] seccomp: add kill() to the syscall whitelist
2013-12-03 12:51 [Qemu-devel] [PULL 00/01] seccomp: add missing system call to whitelist Eduardo Otubo
@ 2013-12-03 12:51 ` Eduardo Otubo
0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Otubo @ 2013-12-03 12:51 UTC (permalink / raw)
To: qemu-devel; +Cc: pmoore, anthony
From: Paul Moore <pmoore@redhat.com>
The kill() syscall is triggered with the following command:
# qemu -sandbox on -monitor stdio \
-device intel-hda -device hda-duplex -vnc :0
The resulting syslog/audit message:
# ausearch -m SECCOMP
----
time->Wed Nov 20 09:52:08 2013
type=SECCOMP msg=audit(1384912328.482:6656): auid=0 uid=0 gid=0 ses=854
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=12087
comm="qemu-kvm" sig=31 syscall=62 compat=0 ip=0x7f7a1d2abc67 code=0x0
# scmp_sys_resolver 62
kill
Reported-by: CongLi <coli@redhat.com>
Tested-by: CongLi <coli@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Acked-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
---
qemu-seccomp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index 69cee44..cf07869 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -114,6 +114,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
{ SCMP_SYS(write), 244 },
{ SCMP_SYS(fcntl), 243 },
{ SCMP_SYS(tgkill), 242 },
+ { SCMP_SYS(kill), 242 },
{ SCMP_SYS(rt_sigaction), 242 },
{ SCMP_SYS(pipe2), 242 },
{ SCMP_SYS(munmap), 242 },
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 00/01] seccomp: adding new syscalls to the whitelist
@ 2014-02-03 13:00 Eduardo Otubo
2014-02-03 13:00 ` [Qemu-devel] [PULL 01/01] seccomp: add kill() to the syscall whitelist Eduardo Otubo
0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Otubo @ 2014-02-03 13:00 UTC (permalink / raw)
To: qemu-devel; +Cc: anthony, Eduardo Otubo
The following changes since commit 2f61120c10da9128357510debc8e66880cd2bfdc:
Merge remote-tracking branch 'qmp-unstable/queue/qmp' into staging (2014-02-01 23:32:31 +0000)
are available in the git repository at:
git://github.com/otubo/qemu.git seccomp
Felix Geyer (1):
seccomp: add timerfd_create and timerfd_settime to the whitelist
qemu-seccomp.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 01/01] seccomp: add kill() to the syscall whitelist
2014-02-03 13:00 [Qemu-devel] [PULL 00/01] seccomp: adding new syscalls to the whitelist Eduardo Otubo
@ 2014-02-03 13:00 ` Eduardo Otubo
0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Otubo @ 2014-02-03 13:00 UTC (permalink / raw)
To: qemu-devel; +Cc: Paul Moore, anthony
From: Paul Moore <pmoore@redhat.com>
The kill() syscall is triggered with the following command:
# qemu -sandbox on -monitor stdio \
-device intel-hda -device hda-duplex -vnc :0
The resulting syslog/audit message:
# ausearch -m SECCOMP
----
time->Wed Nov 20 09:52:08 2013
type=SECCOMP msg=audit(1384912328.482:6656): auid=0 uid=0 gid=0 ses=854
subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=12087
comm="qemu-kvm" sig=31 syscall=62 compat=0 ip=0x7f7a1d2abc67 code=0x0
# scmp_sys_resolver 62
kill
Reported-by: CongLi <coli@redhat.com>
Tested-by: CongLi <coli@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Acked-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
---
qemu-seccomp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index 69cee44..cf07869 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -114,6 +114,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
{ SCMP_SYS(write), 244 },
{ SCMP_SYS(fcntl), 243 },
{ SCMP_SYS(tgkill), 242 },
+ { SCMP_SYS(kill), 242 },
{ SCMP_SYS(rt_sigaction), 242 },
{ SCMP_SYS(pipe2), 242 },
{ SCMP_SYS(munmap), 242 },
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-03 13:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 13:00 [Qemu-devel] [PULL 00/01] seccomp: adding new syscalls to the whitelist Eduardo Otubo
2014-02-03 13:00 ` [Qemu-devel] [PULL 01/01] seccomp: add kill() to the syscall whitelist Eduardo Otubo
-- strict thread matches above, loose matches on Subject: below --
2013-12-03 12:51 [Qemu-devel] [PULL 00/01] seccomp: add missing system call to whitelist Eduardo Otubo
2013-12-03 12:51 ` [Qemu-devel] [PULL 01/01] seccomp: add kill() to the syscall whitelist Eduardo Otubo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).