From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Corey Bryant <coreyb@linux.vnet.ibm.com>, qemu-devel@nongnu.org
Cc: pmoore@redhat.com, qemu-stable@nongnu.org, aliguori@amazon.com,
otubo@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH] seccomp: exit if seccomp_init() fails
Date: Thu, 19 Dec 2013 14:41:34 -0600 [thread overview]
Message-ID: <20131219204134.11040.35628@loki> (raw)
In-Reply-To: <1387385291-7825-1-git-send-email-coreyb@linux.vnet.ibm.com>
Quoting Corey Bryant (2013-12-18 10:48:11)
> This fixes a bug where we weren't exiting if seccomp_init() failed.
>
> Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
Cc'ing qemu-stable
> ---
> qemu-seccomp.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/qemu-seccomp.c b/qemu-seccomp.c
> index cf07869..b7c1253 100644
> --- a/qemu-seccomp.c
> +++ b/qemu-seccomp.c
> @@ -231,6 +231,7 @@ int seccomp_start(void)
>
> ctx = seccomp_init(SCMP_ACT_KILL);
> if (ctx == NULL) {
> + rc = -1;
> goto seccomp_return;
> }
>
> --
> 1.8.1.4
prev parent reply other threads:[~2013-12-19 20:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 16:48 [Qemu-devel] [PATCH] seccomp: exit if seccomp_init() fails Corey Bryant
2013-12-19 11:35 ` Eduardo Otubo
2013-12-19 15:59 ` Paul Moore
2013-12-19 20:41 ` Michael Roth [this message]
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=20131219204134.11040.35628@loki \
--to=mdroth@linux.vnet.ibm.com \
--cc=aliguori@amazon.com \
--cc=coreyb@linux.vnet.ibm.com \
--cc=otubo@linux.vnet.ibm.com \
--cc=pmoore@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.