diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2008-10-07 14:00:12 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-10-12 18:47:43 -0400 |
commit | 92562927826fceb2f8e69c89e28161b8c1e0b125 (patch) | |
tree | e44f22406ea4d3753a4834feed7e7d271da28ab8 /security/inode.c | |
parent | 93db628658197aa46bd7f83d429908b6f187ec9c (diff) |
integrity: special fs magic
Discussion on the mailing list questioned the use of these
magic values in userspace, concluding these values are already
exported to userspace via statfs and their correct/incorrect
usage is left up to the userspace application.
- Move special fs magic number definitions to magic.h
- Add magic.h include
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Reviewed-by: James Morris <jmorris@namei.org>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/inode.c')
-rw-r--r-- | security/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/security/inode.c b/security/inode.c index ca4958ebad8d..efea5a605466 100644 --- a/security/inode.c +++ b/security/inode.c | |||
@@ -20,8 +20,7 @@ | |||
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/namei.h> | 21 | #include <linux/namei.h> |
22 | #include <linux/security.h> | 22 | #include <linux/security.h> |
23 | 23 | #include <linux/magic.h> | |
24 | #define SECURITYFS_MAGIC 0x73636673 | ||
25 | 24 | ||
26 | static struct vfsmount *mount; | 25 | static struct vfsmount *mount; |
27 | static int mount_count; | 26 | static int mount_count; |