Message ID | 1421760753-2678-1-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show |
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
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.
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>
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 },
This is used by "-realtime mlock=on". Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- qemu-seccomp.c | 1 + 1 file changed, 1 insertion(+)