android_kernel_google_msm/arch
Will Drewry 01bc71e06c 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>
2014-10-31 19:46:19 -07:00
..
alpha
arm board-flo-storage: Add support for UIO devices for RemoteFS 2014-07-16 00:04:03 +00:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon Update copyright to The Linux Foundation 2013-03-15 17:07:39 -07:00
ia64 random: remove rand_initialize_irq() 2013-09-09 17:01:42 -07:00
m32r
m68k
microblaze seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
mips seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
mn10300
openrisc
parisc
powerpc seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
s390 seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
score
sh seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
sparc seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
tile
um
unicore32
x86 Change-Id: I7c9d49079d4e18390c2d520513a4afd55e6eaa3e 2014-10-31 19:46:17 -07:00
xtensa
.gitignore
Kconfig ptrace,seccomp: Add PTRACE_SECCOMP support 2014-10-31 19:46:16 -07:00