@@ -1411,8 +1411,8 @@ struct security_operations {
14111411 int (* sb_kern_mount ) (struct super_block * sb , int flags , void * data );
14121412 int (* sb_show_options ) (struct seq_file * m , struct super_block * sb );
14131413 int (* sb_statfs ) (struct dentry * dentry );
1414- int (* sb_mount ) (char * dev_name , struct path * path ,
1415- char * type , unsigned long flags , void * data );
1414+ int (* sb_mount ) (const char * dev_name , struct path * path ,
1415+ const char * type , unsigned long flags , void * data );
14161416 int (* sb_umount ) (struct vfsmount * mnt , int flags );
14171417 int (* sb_pivotroot ) (struct path * old_path ,
14181418 struct path * new_path );
@@ -1694,8 +1694,8 @@ int security_sb_remount(struct super_block *sb, void *data);
16941694int security_sb_kern_mount (struct super_block * sb , int flags , void * data );
16951695int security_sb_show_options (struct seq_file * m , struct super_block * sb );
16961696int security_sb_statfs (struct dentry * dentry );
1697- int security_sb_mount (char * dev_name , struct path * path ,
1698- char * type , unsigned long flags , void * data );
1697+ int security_sb_mount (const char * dev_name , struct path * path ,
1698+ const char * type , unsigned long flags , void * data );
16991699int security_sb_umount (struct vfsmount * mnt , int flags );
17001700int security_sb_pivotroot (struct path * old_path , struct path * new_path );
17011701int security_sb_set_mnt_opts (struct super_block * sb , struct security_mnt_opts * opts );
@@ -1964,8 +1964,8 @@ static inline int security_sb_statfs(struct dentry *dentry)
19641964 return 0 ;
19651965}
19661966
1967- static inline int security_sb_mount (char * dev_name , struct path * path ,
1968- char * type , unsigned long flags ,
1967+ static inline int security_sb_mount (const char * dev_name , struct path * path ,
1968+ const char * type , unsigned long flags ,
19691969 void * data )
19701970{
19711971 return 0 ;
0 commit comments