|
@@ -225,7 +225,7 @@ int security_sb_statfs(struct dentry *dentry);
|
|
int security_sb_mount(const char *dev_name, const struct path *path,
|
|
int security_sb_mount(const char *dev_name, const struct path *path,
|
|
const char *type, unsigned long flags, void *data);
|
|
const char *type, unsigned long flags, void *data);
|
|
int security_sb_umount(struct vfsmount *mnt, int flags);
|
|
int security_sb_umount(struct vfsmount *mnt, int flags);
|
|
-int security_sb_pivotroot(struct path *old_path, struct path *new_path);
|
|
|
|
|
|
+int security_sb_pivotroot(const struct path *old_path, const struct path *new_path);
|
|
int security_sb_set_mnt_opts(struct super_block *sb,
|
|
int security_sb_set_mnt_opts(struct super_block *sb,
|
|
struct security_mnt_opts *opts,
|
|
struct security_mnt_opts *opts,
|
|
unsigned long kern_flags,
|
|
unsigned long kern_flags,
|
|
@@ -542,8 +542,8 @@ static inline int security_sb_umount(struct vfsmount *mnt, int flags)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int security_sb_pivotroot(struct path *old_path,
|
|
|
|
- struct path *new_path)
|
|
|
|
|
|
+static inline int security_sb_pivotroot(const struct path *old_path,
|
|
|
|
+ const struct path *new_path)
|
|
{
|
|
{
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|