android_kernel_google_msm/include
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
..
acpi
asm-generic seccomp: Add SECCOMP_RET_TRAP 2014-10-31 19:46:15 -07:00
crypto
drm msm: kgsl: Add genlock to KGSL DRM driver 2013-09-11 22:41:12 -07:00
keys
linux seccomp: ignore secure_computing return values 2014-10-31 19:46:19 -07:00
math-emu
media camera: Support setting MWB and EV for yuv sensor. 2013-06-24 10:55:26 -07:00
misc
mtd
net Handle 'sk' being NULL in UID-based routing. 2014-07-08 16:56:04 -07:00
pcmcia
rdma
rxrpc
scsi
sound ASoC: add definations for compressed operations 2013-04-18 16:08:45 -07:00
target
trace trace/events: fix gpu event timestamp formatting 2013-04-23 22:49:30 -07:00
video
xen
Kbuild