summaryrefslogtreecommitdiff
path: root/include/linux/magic.h
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2008-10-07 22:00:12 +0400
committerJames Morris <jmorris@namei.org>2008-10-13 02:47:43 +0400
commit92562927826fceb2f8e69c89e28161b8c1e0b125 (patch)
treee44f22406ea4d3753a4834feed7e7d271da28ab8 /include/linux/magic.h
parent93db628658197aa46bd7f83d429908b6f187ec9c (diff)
downloadlinux-92562927826fceb2f8e69c89e28161b8c1e0b125.tar.xz
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 'include/linux/magic.h')
-rw-r--r--include/linux/magic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/magic.h b/include/linux/magic.h
index 1fa0c2ce4dec..f7f3fdddbef0 100644
--- a/include/linux/magic.h
+++ b/include/linux/magic.h
@@ -6,6 +6,10 @@
#define AFS_SUPER_MAGIC 0x5346414F
#define AUTOFS_SUPER_MAGIC 0x0187
#define CODA_SUPER_MAGIC 0x73757245
+#define DEBUGFS_MAGIC 0x64626720
+#define SYSFS_MAGIC 0x62656572
+#define SECURITYFS_MAGIC 0x73636673
+#define TMPFS_MAGIC 0x01021994
#define EFS_SUPER_MAGIC 0x414A53
#define EXT2_SUPER_MAGIC 0xEF53
#define EXT3_SUPER_MAGIC 0xEF53