Skip to content

Commit 2181e08

Browse files
micah-mortonJames Morris
authored andcommitted
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>
1 parent 2f87324 commit 2181e08

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

security/safesetid/lsm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#define pr_fmt(fmt) "SafeSetID: " fmt
1616

17-
#include <asm/syscall.h>
1817
#include <linux/hashtable.h>
1918
#include <linux/lsm_hooks.h>
2019
#include <linux/module.h>

0 commit comments

Comments
 (0)