* [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist
@ 2015-01-20 13:32 Paolo Bonzini
2015-01-21 7:43 ` Amit Shah
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Paolo Bonzini @ 2015-01-20 13:32 UTC (permalink / raw)
To: qemu-devel; +Cc: Eduardo Otubo
This is used by "-realtime mlock=on".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
qemu-seccomp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/qemu-seccomp.c b/qemu-seccomp.c
index b0c6269..f9de0d3 100644
--- a/qemu-seccomp.c
+++ b/qemu-seccomp.c
@@ -229,6 +229,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
{ SCMP_SYS(shmdt), 240 },
{ SCMP_SYS(timerfd_create), 240 },
{ SCMP_SYS(shmctl), 240 },
+ { SCMP_SYS(mlockall), 240 },
{ SCMP_SYS(mlock), 240 },
{ SCMP_SYS(munlock), 240 },
{ SCMP_SYS(semctl), 240 },
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist
2015-01-20 13:32 [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist Paolo Bonzini
@ 2015-01-21 7:43 ` Amit Shah
2015-01-21 14:16 ` Eduardo Otubo
2015-01-21 15:03 ` Eduardo Habkost
2 siblings, 0 replies; 4+ messages in thread
From: Amit Shah @ 2015-01-21 7:43 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel, Eduardo Otubo
On (Tue) 20 Jan 2015 [14:32:33], Paolo Bonzini wrote:
> This is used by "-realtime mlock=on".
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Amit
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist
2015-01-20 13:32 [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist Paolo Bonzini
2015-01-21 7:43 ` Amit Shah
@ 2015-01-21 14:16 ` Eduardo Otubo
2015-01-21 15:03 ` Eduardo Habkost
2 siblings, 0 replies; 4+ messages in thread
From: Eduardo Otubo @ 2015-01-21 14:16 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
On Tue, Jan 20, 2015 at 02:32:33PM +0100, Paolo Bonzini wrote:
> This is used by "-realtime mlock=on".
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> qemu-seccomp.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/qemu-seccomp.c b/qemu-seccomp.c
> index b0c6269..f9de0d3 100644
> --- a/qemu-seccomp.c
> +++ b/qemu-seccomp.c
> @@ -229,6 +229,7 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
> { SCMP_SYS(shmdt), 240 },
> { SCMP_SYS(timerfd_create), 240 },
> { SCMP_SYS(shmctl), 240 },
> + { SCMP_SYS(mlockall), 240 },
> { SCMP_SYS(mlock), 240 },
> { SCMP_SYS(munlock), 240 },
> { SCMP_SYS(semctl), 240 },
> --
> 2.1.0
>
Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
Acked-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
I'll make a pull request by Friday at the end of the day. Thanks for the
patch.
--
Eduardo Otubo
ProfitBricks GmbH
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist
2015-01-20 13:32 [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist Paolo Bonzini
2015-01-21 7:43 ` Amit Shah
2015-01-21 14:16 ` Eduardo Otubo
@ 2015-01-21 15:03 ` Eduardo Habkost
2 siblings, 0 replies; 4+ messages in thread
From: Eduardo Habkost @ 2015-01-21 15:03 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel, Eduardo Otubo
On Tue, Jan 20, 2015 at 02:32:33PM +0100, Paolo Bonzini wrote:
> This is used by "-realtime mlock=on".
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-by: Eduardo Habkost <ehabkost@redhat.com>
--
Eduardo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-21 15:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 13:32 [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist Paolo Bonzini
2015-01-21 7:43 ` Amit Shah
2015-01-21 14:16 ` Eduardo Otubo
2015-01-21 15:03 ` Eduardo Habkost
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).