mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
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>
This commit is contained in:
parent
f5c0c26d90
commit
a10d7c22b3
6 changed files with 13 additions and 34 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue