mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
security,selinux: remove security_add_mnt_opt()
Its last user has been removed in commit f2aedb713c ("NFS: Add
fs_context support.").
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
committed by
Paul Moore
parent
5fe3757289
commit
52f982f00b
@@ -78,8 +78,6 @@ LSM_HOOK(int, 0, sb_set_mnt_opts, struct super_block *sb, void *mnt_opts,
|
||||
LSM_HOOK(int, 0, sb_clone_mnt_opts, const struct super_block *oldsb,
|
||||
struct super_block *newsb, unsigned long kern_flags,
|
||||
unsigned long *set_kern_flags)
|
||||
LSM_HOOK(int, 0, sb_add_mnt_opt, const char *option, const char *val,
|
||||
int len, void **mnt_opts)
|
||||
LSM_HOOK(int, 0, move_mount, const struct path *from_path,
|
||||
const struct path *to_path)
|
||||
LSM_HOOK(int, 0, dentry_init_security, struct dentry *dentry,
|
||||
|
||||
Reference in New Issue
Block a user