diff options
author | Tycho Andersen <tycho@tycho.ws> | 2019-01-07 16:16:31 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-01-08 07:45:01 +0100 |
commit | a77d1d196bc63b37d9b4d1b614884669e8e79d32 (patch) | |
tree | 9b11aa2ef88a3fd31293cb4f2470488f6be0f3d8 /arch/x86/kernel/cpu/Makefile | |
parent | 3bd6e94bec122a951d462c239b47954cf5f36e33 (diff) |
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: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Reviewed-by: Kees 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: fec7b6690541 ("samples: add an example of seccomp user trap")
Link: http://lkml.kernel.org/r/20190107231631.1849-1-tycho@tycho.ws
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/Makefile')
0 files changed, 0 insertions, 0 deletions