]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
LSM: SafeSetID: remove unused include
authorMicah Morton <mortonm@chromium.org>
Wed, 30 Jan 2019 15:56:43 +0000 (07:56 -0800)
committerJames Morris <james.morris@microsoft.com>
Wed, 30 Jan 2019 20:29:53 +0000 (12:29 -0800)
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>
security/safesetid/lsm.c

index 282a242beb861caa50bec1af029a545412b9812d..cecd38e2ac805ceee48feb12633199d8185e89db 100644 (file)
@@ -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>