From: Eduardo Otubo <eduardo.otubo@profitbricks.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist
Date: Wed, 21 Jan 2015 15:16:45 +0100 [thread overview]
Message-ID: <20150121141644.GB14268@vader> (raw)
In-Reply-To: <1421760753-2678-1-git-send-email-pbonzini@redhat.com>
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
next prev parent reply other threads:[~2015-01-21 14:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-01-21 15:03 ` Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150121141644.GB14268@vader \
--to=eduardo.otubo@profitbricks.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).