diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-25 15:31:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-28 00:47:52 -0400 |
commit | 3b73b68c05db0b3c9b282c6e8e6eb71acc589a02 (patch) | |
tree | 3476c56eee92926db102949296804aa192a2c249 /include/linux/security.h | |
parent | 77b286c0d26a5399912f5affd90ed73e2d8b42a5 (diff) |
constify security_sb_pivotroot()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index cb53cffbfae4..fcfa211c694f 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -225,7 +225,7 @@ int security_sb_statfs(struct dentry *dentry); | |||
225 | int security_sb_mount(const char *dev_name, const struct path *path, | 225 | int security_sb_mount(const char *dev_name, const struct path *path, |
226 | const char *type, unsigned long flags, void *data); | 226 | const char *type, unsigned long flags, void *data); |
227 | int security_sb_umount(struct vfsmount *mnt, int flags); | 227 | int security_sb_umount(struct vfsmount *mnt, int flags); |
228 | int security_sb_pivotroot(struct path *old_path, struct path *new_path); | 228 | int security_sb_pivotroot(const struct path *old_path, const struct path *new_path); |
229 | int security_sb_set_mnt_opts(struct super_block *sb, | 229 | int security_sb_set_mnt_opts(struct super_block *sb, |
230 | struct security_mnt_opts *opts, | 230 | struct security_mnt_opts *opts, |
231 | unsigned long kern_flags, | 231 | unsigned long kern_flags, |
@@ -542,8 +542,8 @@ static inline int security_sb_umount(struct vfsmount *mnt, int flags) | |||
542 | return 0; | 542 | return 0; |
543 | } | 543 | } |
544 | 544 | ||
545 | static inline int security_sb_pivotroot(struct path *old_path, | 545 | static inline int security_sb_pivotroot(const struct path *old_path, |
546 | struct path *new_path) | 546 | const struct path *new_path) |
547 | { | 547 | { |
548 | return 0; | 548 | return 0; |
549 | } | 549 | } |