Re: [PATCH] samples/seccomp: fix 32-bit build

2019-01-07 Thread Ingo Molnar
* Kees Cook wrote: > On Mon, Jan 7, 2019 at 3:16 PM Tycho Andersen wrote: > > > > Both the .o and the actual executable need to be built with -m32 in order > > to link correctly. > > > > Signed-off-by: Tycho Andersen > > Reported-by: Ingo Molnar > > Fixes: fec7b6690541 ("samples: add an

Re: [PATCH] samples/seccomp: fix 32-bit build

2019-01-07 Thread Kees Cook
On Mon, Jan 7, 2019 at 3:16 PM Tycho Andersen wrote: > > Both the .o and the actual executable need to be built with -m32 in order > to link correctly. > > Signed-off-by: Tycho Andersen > Reported-by: Ingo Molnar > Fixes: fec7b6690541 ("samples: add an example of seccomp user trap")

[PATCH] samples/seccomp: fix 32-bit build

2019-01-07 Thread Tycho Andersen
Both the .o and the actual executable need to be built with -m32 in order to link correctly. Signed-off-by: Tycho Andersen Reported-by: Ingo Molnar Fixes: fec7b6690541 ("samples: add an example of seccomp user trap") --- I guess x86 can pick this up directly? Not sure where it should go