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.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index c8ad8ec684b4..43c6357568a3 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -291,10 +291,6 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
291 * Update module state after a successful pivot. 291 * Update module state after a successful pivot.
292 * @old_path contains the path for the old root. 292 * @old_path contains the path for the old root.
293 * @new_path contains the path for the new root. 293 * @new_path contains the path for the new root.
294 * @sb_get_mnt_opts:
295 * Get the security relevant mount options used for a superblock
296 * @sb the superblock to get security mount options from
297 * @opts binary data structure containing all lsm mount data
298 * @sb_set_mnt_opts: 294 * @sb_set_mnt_opts:
299 * Set the security relevant mount options used for a superblock 295 * Set the security relevant mount options used for a superblock
300 * @sb the superblock to set security mount options for 296 * @sb the superblock to set security mount options for
@@ -1348,8 +1344,6 @@ struct security_operations {
1348 struct path *new_path); 1344 struct path *new_path);
1349 void (*sb_post_pivotroot) (struct path *old_path, 1345 void (*sb_post_pivotroot) (struct path *old_path,
1350 struct path *new_path); 1346 struct path *new_path);
1351 int (*sb_get_mnt_opts) (const struct super_block *sb,
1352 struct security_mnt_opts *opts);
1353 int (*sb_set_mnt_opts) (struct super_block *sb, 1347 int (*sb_set_mnt_opts) (struct super_block *sb,
1354 struct security_mnt_opts *opts); 1348 struct security_mnt_opts *opts);
1355 void (*sb_clone_mnt_opts) (const struct super_block *oldsb, 1349 void (*sb_clone_mnt_opts) (const struct super_block *oldsb,
@@ -1624,8 +1618,6 @@ void security_sb_post_remount(struct vfsmount *mnt, unsigned long flags, void *d
1624void security_sb_post_addmount(struct vfsmount *mnt, struct path *mountpoint); 1618void security_sb_post_addmount(struct vfsmount *mnt, struct path *mountpoint);
1625int security_sb_pivotroot(struct path *old_path, struct path *new_path); 1619int security_sb_pivotroot(struct path *old_path, struct path *new_path);
1626void security_sb_post_pivotroot(struct path *old_path, struct path *new_path); 1620void security_sb_post_pivotroot(struct path *old_path, struct path *new_path);
1627int security_sb_get_mnt_opts(const struct super_block *sb,
1628 struct security_mnt_opts *opts);
1629int security_sb_set_mnt_opts(struct super_block *sb, struct security_mnt_opts *opts); 1621int security_sb_set_mnt_opts(struct super_block *sb, struct security_mnt_opts *opts);
1630void security_sb_clone_mnt_opts(const struct super_block *oldsb, 1622void security_sb_clone_mnt_opts(const struct super_block *oldsb,
1631 struct super_block *newsb); 1623 struct super_block *newsb);
@@ -1942,12 +1934,6 @@ static inline int security_sb_pivotroot(struct path *old_path,
1942static inline void security_sb_post_pivotroot(struct path *old_path, 1934static inline void security_sb_post_pivotroot(struct path *old_path,
1943 struct path *new_path) 1935 struct path *new_path)
1944{ } 1936{ }
1945static inline int security_sb_get_mnt_opts(const struct super_block *sb,
1946 struct security_mnt_opts *opts)
1947{
1948 security_init_mnt_opts(opts);
1949 return 0;
1950}
1951 1937
1952static inline int security_sb_set_mnt_opts(struct super_block *sb, 1938static inline int security_sb_set_mnt_opts(struct super_block *sb,
1953 struct security_mnt_opts *opts) 1939 struct security_mnt_opts *opts)