linux_dsm_epyc7002/arch/s390/kernel
Will Drewry e4da89d02f seccomp: ignore secure_computing return values
This change is inspired by
  https://lkml.org/lkml/2012/4/16/14
which fixes the build warnings for arches that don't support
CONFIG_HAVE_ARCH_SECCOMP_FILTER.

In particular, there is no requirement for the return value of
secure_computing() to be checked unless the architecture supports
seccomp filter.  Instead of silencing the warnings with (void)
a new static inline is added to encode the expected behavior
in a compiler and human friendly way.

v2: - cleans things up with a static inline
    - removes sfr's signed-off-by since it is a different approach
v1: - matches sfr's original change

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Will Drewry <wad@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2012-04-18 12:24:50 +10:00
..
vdso32
vdso64
asm-offsets.c
audit.c
audit.h
base.S
bitmap.c
compat_audit.c
compat_exec_domain.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c
compat_wrapper.S
cpcmd.c
crash_dump.c
crash.c
debug.c
diag.c
dis.c
early.c
ebcdic.c
entry64.S
entry.h
entry.S
ftrace.c
head31.S
head64.S
head_kdump.S
head.S
init_task.c
ipl.c
irq.c
jump_label.c
kprobes.c
lgr.c [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
machine_kexec.c
Makefile
mcount64.S
mcount.S
mem_detect.c
module.c
nmi.c
os_info.c
perf_cpum_cf.c [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
perf_event.c [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
process.c
processor.c
ptrace.c seccomp: ignore secure_computing return values 2012-04-18 12:24:50 +10:00
reipl64.S
reipl.S
relocate_kernel64.S
relocate_kernel.S
s390_ksyms.c
sclp.S
setup.c [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
signal.c
smp.c [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
stacktrace.c
suspend.c
swsusp_asm64.S
sys_s390.c
syscalls.S
sysinfo.c
time.c
topology.c
traps.c
vdso.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
vmlinux.lds.S
vtime.c