Skip to content

Commit

Permalink
LSM: SafeSetID: remove unused include
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
micah-morton authored and James Morris committed Jan 30, 2019
1 parent 2f87324 commit 2181e08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion security/safesetid/lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2181e08

Please sign in to comment.