aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/security.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index cbd970a735f2..2e2c63faead7 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -249,9 +249,6 @@ struct request_sock;
249 * @mnt contains the mounted file system. 249 * @mnt contains the mounted file system.
250 * @flags contains the new filesystem flags. 250 * @flags contains the new filesystem flags.
251 * @data contains the filesystem-specific data. 251 * @data contains the filesystem-specific data.
252 * @sb_post_mountroot:
253 * Update the security module's state when the root filesystem is mounted.
254 * This hook is only called if the mount was successful.
255 * @sb_post_addmount: 252 * @sb_post_addmount:
256 * Update the security module's state when a filesystem is mounted. 253 * Update the security module's state when a filesystem is mounted.
257 * This hook is called any time a mount is successfully grafetd to 254 * This hook is called any time a mount is successfully grafetd to
@@ -1257,7 +1254,6 @@ struct security_operations {
1257 void (*sb_umount_busy) (struct vfsmount * mnt); 1254 void (*sb_umount_busy) (struct vfsmount * mnt);
1258 void (*sb_post_remount) (struct vfsmount * mnt, 1255 void (*sb_post_remount) (struct vfsmount * mnt,
1259 unsigned long flags, void *data); 1256 unsigned long flags, void *data);
1260 void (*sb_post_mountroot) (void);
1261 void (*sb_post_addmount) (struct vfsmount * mnt, 1257 void (*sb_post_addmount) (struct vfsmount * mnt,
1262 struct nameidata * mountpoint_nd); 1258 struct nameidata * mountpoint_nd);
1263 int (*sb_pivotroot) (struct nameidata * old_nd, 1259 int (*sb_pivotroot) (struct nameidata * old_nd,
@@ -1524,7 +1520,6 @@ int security_sb_umount(struct vfsmount *mnt, int flags);
1524void security_sb_umount_close(struct vfsmount *mnt); 1520void security_sb_umount_close(struct vfsmount *mnt);
1525void security_sb_umount_busy(struct vfsmount *mnt); 1521void security_sb_umount_busy(struct vfsmount *mnt);
1526void security_sb_post_remount(struct vfsmount *mnt, unsigned long flags, void *data); 1522void security_sb_post_remount(struct vfsmount *mnt, unsigned long flags, void *data);
1527void security_sb_post_mountroot(void);
1528void security_sb_post_addmount(struct vfsmount *mnt, struct nameidata *mountpoint_nd); 1523void security_sb_post_addmount(struct vfsmount *mnt, struct nameidata *mountpoint_nd);
1529int security_sb_pivotroot(struct nameidata *old_nd, struct nameidata *new_nd); 1524int security_sb_pivotroot(struct nameidata *old_nd, struct nameidata *new_nd);
1530void security_sb_post_pivotroot(struct nameidata *old_nd, struct nameidata *new_nd); 1525void security_sb_post_pivotroot(struct nameidata *old_nd, struct nameidata *new_nd);
@@ -1813,9 +1808,6 @@ static inline void security_sb_post_remount (struct vfsmount *mnt,
1813 unsigned long flags, void *data) 1808 unsigned long flags, void *data)
1814{ } 1809{ }
1815 1810
1816static inline void security_sb_post_mountroot (void)
1817{ }
1818
1819static inline void security_sb_post_addmount (struct vfsmount *mnt, 1811static inline void security_sb_post_addmount (struct vfsmount *mnt,
1820 struct nameidata *mountpoint_nd) 1812 struct nameidata *mountpoint_nd)
1821{ } 1813{ }