mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
LSM: lift extracting and parsing LSM options into the caller of ->sb_remount()
This paves the way for retaining the LSM options from a common filesystem mount context during a mount parameter parsing phase to be instituted prior to actual mount/reconfiguration actions. Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
6be8750b4c
commit
c039bc3c24
5 changed files with 38 additions and 41 deletions
|
@ -1462,7 +1462,8 @@ union security_list_options {
|
|||
int (*sb_alloc_security)(struct super_block *sb);
|
||||
void (*sb_free_security)(struct super_block *sb);
|
||||
int (*sb_copy_data)(char *orig, char *copy);
|
||||
int (*sb_remount)(struct super_block *sb, void *data);
|
||||
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_show_options)(struct seq_file *m, struct super_block *sb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue