aboutsummaryrefslogtreecommitdiffstats
path: root/security/yama/yama_lsm.c
diff options
context:
space:
mode:
authorWill Drewry <wad@chromium.org>2012-04-17 14:48:58 -0500
committerJames Morris <james.l.morris@oracle.com>2012-04-18 12:24:52 +1000
commit8156b451f37898d3c3652b4e988a4d62ae16eaac (patch)
treee310c816de65d28f5b5ecf75bc890ccc8a2c2514 /security/yama/yama_lsm.c
parentseccomp: ignore secure_computing return values (diff)
downloadlinux-dev-8156b451f37898d3c3652b4e988a4d62ae16eaac.tar.xz
linux-dev-8156b451f37898d3c3652b4e988a4d62ae16eaac.zip
seccomp: fix build warnings when there is no CONFIG_SECCOMP_FILTER
If both audit and seccomp filter support are disabled, 'ret' is marked as unused. If just seccomp filter support is disabled, data and skip are considered unused. This change fixes those build warnings. 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>
Diffstat (limited to 'security/yama/yama_lsm.c')
0 files changed, 0 insertions, 0 deletions