Skip to content
Commit a77d1d19 authored by Tycho Andersen's avatar Tycho Andersen Committed by Ingo Molnar
Browse files

samples/seccomp: Fix 32-bit build



Both the .o and the actual executable need to be built with -m32 in order
to link correctly.

Reported-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarTycho Andersen <tycho@tycho.ws>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: James Morris <jmorris@namei.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: fec7b669

 ("samples: add an example of seccomp user trap")
Link: http://lkml.kernel.org/r/20190107231631.1849-1-tycho@tycho.ws
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 3bd6e94b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment