[systemd-devel] [PATCH] execute: Fix seccomp support on x32
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Sat Jan 19 09:13:55 PST 2013
On Mon, Aug 06, 2012 at 02:53:35PM +0200, Zbigniew Jędrzejewski-Szmek wrote:
> On 08/06/2012 01:19 PM, Lennart Poettering wrote:
> > On Sat, 04.08.12 10:50, Bryan Kadzban (bryan at kadzban.is-a-geek.net) wrote:
> >
> >>
> >> microcai wrote:
> >>> 2012/8/4 Lennart Poettering <lennart at poettering.net>:
> >>>> On Tue, 24.07.12 22:45, Jonathan Callen (abcd at gentoo.org) wrote:
> >>>>
> >>>>> In the x32 ABI, syscall numbers start at 0x40000000. Mask that
> >>>>> bit on x32 for lookups in the syscall_names array and
> >>>>> syscall_filter and ensure that syscall.h is parsed correctly.
> >>>> Hmpf, can't say I find this patch particularly beautiful?
>
> Why? Patch is mostly self-contained, shouldn't affect other
> architectures, and actually changes just a few lines. Even if the
> implementation is later on changed to use libseccomp, I don't see why we
> shouldn't apply this now to make life easier for the x32 porters.
Hi,
I committed this now. systemd seems to work fine with this patch
in a x32 chroot.
Zbyszek
More information about the systemd-devel
mailing list