All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eduardo Otubo <eduardo.otubo@profitbricks.com>
To: Brian Rak <brak@gameservers.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] seccomp missing calls in 2.7.0?
Date: Tue, 13 Sep 2016 10:12:52 +0200	[thread overview]
Message-ID: <CAEVwAuMLyWR5p1wKzWTJR0GGdBcVNYu=xhf4iJw2u2hO+43hJQ@mail.gmail.com> (raw)
In-Reply-To: <12706b1f-c5ab-268b-1100-e36600be9b5c@gameservers.com>

On Wed, Sep 7, 2016 at 9:55 PM, Brian Rak <brak@gameservers.com> wrote:
> --- src_clean/qemu-seccomp.c    2016-09-02 11:34:22.000000000 -0400
> +++ src/qemu-seccomp.c    2016-09-06 11:28:23.189162653 -0400
> @@ -65,6 +65,7 @@
>      { SCMP_SYS(prctl), 245 },
>      { SCMP_SYS(signalfd), 245 },
>      { SCMP_SYS(getrlimit), 245 },
> +    { SCMP_SYS(getrusage), 245 },
>      { SCMP_SYS(set_tid_address), 245 },
>      { SCMP_SYS(statfs), 245 },
>      { SCMP_SYS(unlink), 245 },

Hi,

Care to send a proper commit message, stating the use case, issues, etc?

Thanks,

>
>
> On 9/6/2016 12:43 PM, Eduardo Otubo wrote:
>
> This feature is enabled by default in virt-test/avocado and yes lots of
> people use it.
>
> Please send a patch and I'll merge it.
>
>
> On Tue, Sep 6, 2016, 18:41 Brian Rak <brak@gameservers.com> wrote:
>>
>> I've been testing out 2.7.0 with seccomp support.  Whenever I connect to
>> the VNC console, the process gets killed by the kernel.  dmesg shows:
>>
>> audit: type=1326 audit(1473175350.674:2): auid=0 uid=107 gid=107
>> ses=423110 pid=32202 comm="qemu-kvm" exe="/bin/qemu-system-x86_64"
>> sig=31 arch=c000003e syscall=98 compat=0 ip=0x7f2beba83477 code=0x0
>>
>> syscall 98 appears to be getrusage, which does not appear in
>> qemu-seccomp.c.
>>
>> Is seccomp a supported feature these days?  I'm guessing it does not get
>> a whole lot of use.
>>
>>
>



-- 
Eduardo Otubo
ProfitBricks

  reply	other threads:[~2016-09-13  8:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06 15:27 [Qemu-devel] seccomp missing calls in 2.7.0? Brian Rak
2016-09-06 16:43 ` Eduardo Otubo
2016-09-07 19:55   ` Brian Rak
2016-09-13  8:12     ` Eduardo Otubo [this message]
2016-09-13 19:17       ` Brian Rak
2016-09-19  9:45         ` Markus Armbruster
2016-09-19  9:47           ` Eduardo Otubo

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='CAEVwAuMLyWR5p1wKzWTJR0GGdBcVNYu=xhf4iJw2u2hO+43hJQ@mail.gmail.com' \
    --to=eduardo.otubo@profitbricks.com \
    --cc=brak@gameservers.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 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.