summaryrefslogtreecommitdiff
path: root/security/safesetid
diff options
context:
space:
mode:
authorMicah Morton <mortonm@chromium.org>2019-01-30 18:56:43 +0300
committerJames Morris <james.morris@microsoft.com>2019-01-30 23:29:53 +0300
commit2181e084b26bddca22bc3f23364c15809cfed28b (patch)
tree167f97d3ce226a2023aa764e7b48145d454684c7 /security/safesetid
parent2f87324be7736151bd1f9bf1d63b1eb0401011ba (diff)
downloadlinux-2181e084b26bddca22bc3f23364c15809cfed28b.tar.xz
LSM: SafeSetID: remove unused include
The include for asm/syscall.h was needed in a prior version of lsm.c that checked return values of syscall_get_nr, but since we did away with that part of the code this include is no longer necessary. Take out this include since it breaks builds for certain architectures. We no longer have any arch-specific code in SafeSetID. Signed-off-by: Micah Morton <mortonm@chromium.org> Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'security/safesetid')
-rw-r--r--security/safesetid/lsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/safesetid/lsm.c b/security/safesetid/lsm.c
index 282a242beb86..cecd38e2ac80 100644
--- a/security/safesetid/lsm.c
+++ b/security/safesetid/lsm.c
@@ -14,7 +14,6 @@
#define pr_fmt(fmt) "SafeSetID: " fmt
-#include <asm/syscall.h>
#include <linux/hashtable.h>
#include <linux/lsm_hooks.h>
#include <linux/module.h>