qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist


From: Eduardo Otubo
Subject: Re: [Qemu-devel] [PATCH] seccomp: add mlockall to whitelist
Date: Wed, 21 Jan 2015 15:16:45 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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 <address@hidden>
> ---
>  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 <address@hidden>
Acked-by: Eduardo Otubo <address@hidden>

I'll make a pull request by Friday at the end of the day. Thanks for the
patch.

-- 
Eduardo Otubo
ProfitBricks GmbH



reply via email to

[Prev in Thread] Current Thread [Next in Thread]