mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: Re: [ptxdist] systemd: seccomp
Date: Sun, 29 Nov 2015 16:47:13 +0100	[thread overview]
Message-ID: <20151129154713.GC10431@pengutronix.de> (raw)
In-Reply-To: <20151129152132.GA975@archie.tuxnet.lan>

Hello,

On Sun, Nov 29, 2015 at 04:21:32PM +0100, Clemens Gruber wrote:
> I noticed that the systemd rule in ptxdist explicitly disables seccomp
> support. Would be great to have support for SystemCallFilter in service
> files.
> 
> I therefore added libseccomp and modified the systemd rule to enable
> seccomp (optionally via a menu entry).
> I use the current git master Linux kernel with CONFIG_SECCOMP enabled.
> 
> Even though systemctl --version shows +SECCOMP, the SystemCallFilter
> statement does not have any effect.
> For testing, I only allowed one syscall for a program which needs much
> more, but it did still run normally as if no SystemCallFilter had been
> set at all.
> 
> Platform used:
> - ARM (i.MX6Q) with ptxdist: SystemCallFilter had no effect
> - x86_64 (Intel i7 6700K) with ArchLinux: Working perfectly
the obvious cross test is to test arch on your i.MX6 and a ptxdist
generated os on your i7.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-11-29 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29 15:21 Clemens Gruber
2015-11-29 15:47 ` Uwe Kleine-König [this message]
2015-12-20 15:30   ` Clemens Gruber

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=20151129154713.GC10431@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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