seccomp: adding times() to the whitelist
PATCH 1/1 seccomp: adding times() to the whitelist
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
--- qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
qemu-seccomp.c +1 -0
@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 }, { SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 1 line
1.7.1
Quoted 15 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>--- qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +0
-0
qemu-seccomp.c static const struct QemuSeccompSyscall seccomp_whitelist[] = { · line 96
Quoted 7 lines
qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 }, { SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
Regards, Corey Bryant
Quoted 5 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>
Works for me.
Quoted 16 lines
--- qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 }, { SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
paul moore security and virtualization @ redhat
Hello,
Any chance to get this patch applied?
Thanks!
Quoted 28 lines · Paul Moore
Quoted 5 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>Quoted 16 lines
--- qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 }, { SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
Eduardo Otubo IBM Linux Technology Center
Il 06/09/2013 20:41, Eduardo Otubo ha scritto:
Quoted 5 lines
Hello,
Any chance to get this patch applied?
Thanks!
Paul, perhaps you can add yourself to MAINTAINERS and send a pull request?
Paolo
Quoted 31 lines · Paul Moore
Quoted 29 lines · Eduardo Otubo
Quoted 5 lines
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>Quoted 17 lines
--- qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +0
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscallseccomp_whitelist[]
= { {SCMP_SYS(getuid), 245 },{ SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 }, { SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Quoted 10 lines · Paolo Bonzini
Il 06/09/2013 20:41, Eduardo Otubo ha scritto:
Quoted 5 lines
Hello,
Any chance to get this patch applied?
Thanks!
Paul, perhaps you can add yourself to
MAINTAINERSand send a pull request?Paolo
Out of respect for the work that Eduardo has done, and is continuing to do, with the QEMU seccomp filtering, I think Eduardo should be the one to take on this role. If Eduardo declines I'll do ahead and submit a patch adding myself to the MAINTAINERS file.
Quoted 33 lines
Quoted 33 lines · Paul Moore
Quoted 32 lines · Eduardo Otubo
Quoted 5 lines
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>Quoted 21 lines
---
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +0
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscallseccomp_whitelist[]
= { {SCMP_SYS(getuid), 245 },{ SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 },+ {
SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
paul moore security and virtualization @ redhat
Quoted 8 lines · Paul Moore
Quoted 7 lines · Paolo Bonzini
Il 06/09/2013 20:41, Eduardo Otubo ha scritto:
Quoted 5 lines
Hello,
Any chance to get this patch applied?
Thanks!
Quoted 8 lines
Quoted 3 lines
Paul, perhaps you can add yourself to
MAINTAINERSand send a pull request?Paolo
Out of respect for the work that Eduardo has done, and is continuing to do, with the QEMU seccomp filtering, I think Eduardo should be the one to take on this role. If Eduardo declines I'll do ahead and submit a patch adding myself to the
MAINTAINERSfile.
If this is ok for everyone, I would be really glad to take this role to myself. Paul, thanks for this vote of confidence. Paolo, should I send a patch for MAINTAINERS right away?
Regards,
Quoted 35 lines
Quoted 34 lines
Quoted 34 lines · Paul Moore
Quoted 32 lines · Eduardo Otubo
Quoted 5 lines
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>Quoted 21 lines
---
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +0
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscallseccomp_whitelist[]
= { {SCMP_SYS(getuid), 245 },{ SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 },+ {
SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
Eduardo Otubo IBM Linux Technology Center
[Qemu-devel] seccomp submaintainer? (was Re: [PATCH] seccomp: adding times() to the whitelist)
Il 09/09/2013 15:20, Eduardo Otubo ha scritto:
Quoted 8 lines
Quoted 4 lines
Out of respect for the work that Eduardo has done, and is continuing to do, with the QEMU seccomp filtering, I think Eduardo should be the one to take on this role. If Eduardo declines I'll do ahead and submit a patch adding myself to the
MAINTAINERSfile.If this is ok for everyone, I would be really glad to take this role to myself. Paul, thanks for this vote of confidence. Paolo, should I send a patch for
MAINTAINERSright away?
Ok, I was suggesting Paul because he was the one doing reviews.
Eduardo, that is also okay for me. However, even as a maintainer please do wait for Paul's reviews. Many areas of QEMU have maintainers that do not send their own patches without a review, so this wouldn't be a new rule. :)
Please wait for Anthony's ack. I changed the subject and CCed him to grab his attention.
Paolo
Re: [Qemu-devel] seccomp submaintainer? (was Re: [PATCH] seccomp: adding times() to the whitelist)
Quoted 10 lines · Paolo Bonzini
Il 09/09/2013 15:20, Eduardo Otubo ha scritto:
Quoted 8 lines
Quoted 4 lines
Out of respect for the work that Eduardo has done, and is continuing to do, with the QEMU seccomp filtering, I think Eduardo should be the one to take on this role. If Eduardo declines I'll do ahead and submit a patch adding myself to the
MAINTAINERSfile.If this is ok for everyone, I would be really glad to take this role to myself. Paul, thanks for this vote of confidence. Paolo, should I send a patch for
MAINTAINERSright away?
Quoted 6 lines
Ok, I was suggesting Paul because he was the one doing reviews.
Eduardo, that is also okay for me. However, even as a maintainer please do wait for Paul's reviews. Many areas of QEMU have maintainers that do not send their own patches without a review, so this wouldn't be a new rule. :)
Okay, with respect to maintainership, I was thinking more along the lines of the Linux Kernel where those that do the work get the job; it looks like QEMU has a slightly different twist on the idea. If it makes more sense to the QEMU devs you can always add me as a co-maintainer.
Regardless, I do plan on continuing to review/test patches and I don't expect that to change in the near future.
Quoted 4 lines
Please wait for Anthony's ack. I changed the subject and CCed him to grab his attention.
Paolo
Signature · 2 lines
paul moore security and virtualization @ redhat
Re: [Qemu-devel] seccomp submaintainer? (was Re: [PATCH] seccomp: adding times() to the whitelist)
In reply to Paolo BonziniQuoted 12 lines · Paolo Bonzini
Il 09/09/2013 15:20, Eduardo Otubo ha scritto:
Quoted 8 lines
Quoted 4 lines
Out of respect for the work that Eduardo has done, and is continuing to do, with the QEMU seccomp filtering, I think Eduardo should be the one to take on this role. If Eduardo declines I'll do ahead and submit a patch adding myself to the
MAINTAINERSfile.If this is ok for everyone, I would be really glad to take this role to myself. Paul, thanks for this vote of confidence. Paolo, should I send a patch for
MAINTAINERSright away?Ok, I was suggesting Paul because he was the one doing reviews.
Quoted 7 lines
Eduardo, that is also okay for me. However, even as a maintainer please do wait for Paul's reviews. Many areas of QEMU have maintainers that do not send their own patches without a review, so this wouldn't be a new rule. :)
Please wait for Anthony's ack. I changed the subject and CCed him to grab his attention.
Ack. I think it's a great idea.
Regards,
Anthony Liguori
Quoted 2 lines
Paolo
Quoted 10 lines · Paul Moore
Quoted 5 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>
I fear this patch may have been lost in the maintainer discussion - can we merge this fix please?
Quoted 20 lines
Quoted 20 lines
---
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
paul moore security and virtualization @ redhat
Quoted 6 lines · Paul Moore
Quoted 5 lines · Paul Moore
Quoted 4 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>I fear this patch may have been lost in the maintainer discussion - can we merge this fix please?
Just another poke on this patch. Poor little bug https://bugzilla.redhat.com/show_bug.cgi?id=1004175 is waiting for a fix.
Thanks.
Quoted 22 lines
Quoted 21 lines
Quoted 21 lines
---
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
Eduardo Otubo IBM Linux Technology Center
Quoted 20 lines · Eduardo Otubo
Quoted 16 lines · Paul Moore
Quoted 13 lines · Paul Moore
Quoted 6 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/**show_bug.cgi?id=1004175<https://bugzilla.redhat.com/show_bug.cgi?id=1004175>
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>
Quoted 8 lines
Quoted 3 lines
I fear this patch may have been lost in the maintainer discussion - can we merge this fix please?
Just another poke on this patch. Poor little bug
https://bugzilla.redhat.com/**show_bug.cgi?id=1004175<https://bugzilla.redhat.com/show_bug.cgi?id=1004175>is waiting for a fix.Thanks.
M: Eduardo Otubo <[email protected]>
S: Supported
F: qemu-seccomp.c
F: include/sysemu/seccomp.h
You should be sending a pull request Eduardo.
Regards,
Anthony Liguori
Quoted 32 lines
Quoted 26 lines
---
Quoted 21 lines
Quoted 20 lines
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },--
Eduardo Otubo
IBM Linux Technology Center
Paul Moore
Acked-byQuoted 10 lines · Paul Moore
Quoted 5 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>
Eduardo, perhaps you should just merge this into your tree and send a pull request? This fix should also go into -stable.
Quoted 20 lines
Quoted 20 lines
---
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
paul moore security and virtualization @ redhat
Quoted 6 lines · Paul Moore
Quoted 5 lines · Paul Moore
Quoted 4 lines · Eduardo Otubo
This was causing Qemu process to hang when using -sandbox on.
Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1004175
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Eduardo Otubo <[email protected]>Works for me.
Tested-by Paul Moore <[email protected]>Eduardo, perhaps you should just merge this into your tree and send a pull request? This fix should also go into -stable.
OH you're absolutely right, I'll just do it! Thanks for the heads up, forgot I have special powers now.
Quoted 24 lines
Acked-by Paul Moore <[email protected]>Quoted 20 lines
Quoted 20 lines
---
qemu-seccomp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu-seccomp.c +1
-0@@ -90,6 +90,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(getuid), 245 }, { SCMP_SYS(geteuid), 245 }, { SCMP_SYS(timer_create), 245 }, + { SCMP_SYS(times), 245 },{ SCMP_SYS(exit), 245 }, { SCMP_SYS(clock_gettime), 245 }, { SCMP_SYS(time), 245 },
Signature · 2 lines
Eduardo Otubo IBM Linux Technology Center