[systemd-devel] [PATCH] execute: Fix seccomp support on x32

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Aug 6 05:53:35 PDT 2012


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.

Zbyszek


More information about the systemd-devel mailing list