diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-12-05 11:58:35 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-12-21 11:46:42 -0500 |
commit | a10d7c22b34bcf744679019269bfb33ebf0b75ee (patch) | |
tree | d8061eb8e92296f6a55d683112c8f8a172f33e83 /include/linux/lsm_hooks.h | |
parent | f5c0c26d9008b355babb6d16f3d7c4de3bada0e7 (diff) | |
download | linux-a10d7c22b34bcf744679019269bfb33ebf0b75ee.tar.gz linux-a10d7c22b34bcf744679019269bfb33ebf0b75ee.tar.bz2 linux-a10d7c22b34bcf744679019269bfb33ebf0b75ee.zip |
LSM: split ->sb_set_mnt_opts() out of ->sb_kern_mount()
... leaving the "is it kernel-internal" logics in the caller.
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r-- | include/linux/lsm_hooks.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index e1a12a1e2b32..f432123af0e3 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -1464,8 +1464,7 @@ union security_list_options { int (*sb_copy_data)(char *orig, char *copy); int (*sb_remount)(struct super_block *sb, struct security_mnt_opts *opts); - int (*sb_kern_mount)(struct super_block *sb, int flags, - struct security_mnt_opts *opts); + int (*sb_kern_mount)(struct super_block *sb); int (*sb_show_options)(struct seq_file *m, struct super_block *sb); int (*sb_statfs)(struct dentry *dentry); int (*sb_mount)(const char *dev_name, const struct path *path, |