blob: 11b15b6d2e160851c59cad0f3d8b53faa415f8aa [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __LINUX_MAGIC_H__
20#define __LINUX_MAGIC_H__
21#define ADFS_SUPER_MAGIC 0xadf5
22#define AFFS_SUPER_MAGIC 0xadff
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define AFS_SUPER_MAGIC 0x5346414F
25#define AUTOFS_SUPER_MAGIC 0x0187
26#define CODA_SUPER_MAGIC 0x73757245
27#define CRAMFS_MAGIC 0x28cd3d45
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define CRAMFS_MAGIC_WEND 0x453dcd28
30#define DEBUGFS_MAGIC 0x64626720
31#define SECURITYFS_MAGIC 0x73636673
32#define SELINUX_MAGIC 0xf97cff8c
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define SMACK_MAGIC 0x43415d53
35#define RAMFS_MAGIC 0x858458f6
36#define TMPFS_MAGIC 0x01021994
37#define HUGETLBFS_MAGIC 0x958458f6
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define SQUASHFS_MAGIC 0x73717368
40#define ECRYPTFS_SUPER_MAGIC 0xf15f
41#define EFS_SUPER_MAGIC 0x414A53
42#define EXT2_SUPER_MAGIC 0xEF53
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define EXT3_SUPER_MAGIC 0xEF53
45#define XENFS_SUPER_MAGIC 0xabba1974
46#define EXT4_SUPER_MAGIC 0xEF53
47#define BTRFS_SUPER_MAGIC 0x9123683E
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define NILFS_SUPER_MAGIC 0x3434
50#define F2FS_SUPER_MAGIC 0xF2F52010
51#define HPFS_SUPER_MAGIC 0xf995e849
52#define ISOFS_SUPER_MAGIC 0x9660
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define JFFS2_SUPER_MAGIC 0x72b6
55#define PSTOREFS_MAGIC 0x6165676C
56#define EFIVARFS_MAGIC 0xde5e81e4
57#define HOSTFS_SUPER_MAGIC 0x00c0ffee
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070059#define OVERLAYFS_SUPER_MAGIC 0x794c7630
Ben Cheng655a7c02013-10-16 16:09:24 -070060#define MINIX_SUPER_MAGIC 0x137F
61#define MINIX_SUPER_MAGIC2 0x138F
62#define MINIX2_SUPER_MAGIC 0x2468
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070064#define MINIX2_SUPER_MAGIC2 0x2478
Ben Cheng655a7c02013-10-16 16:09:24 -070065#define MINIX3_SUPER_MAGIC 0x4d5a
66#define MSDOS_SUPER_MAGIC 0x4d44
67#define NCP_SUPER_MAGIC 0x564c
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070069#define NFS_SUPER_MAGIC 0x6969
Ben Cheng655a7c02013-10-16 16:09:24 -070070#define OPENPROM_SUPER_MAGIC 0x9fa1
71#define QNX4_SUPER_MAGIC 0x002f
72#define QNX6_SUPER_MAGIC 0x68191122
Ben Cheng655a7c02013-10-16 16:09:24 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070074#define REISERFS_SUPER_MAGIC 0x52654973
Ben Cheng655a7c02013-10-16 16:09:24 -070075#define REISERFS_SUPER_MAGIC_STRING "ReIsErFs"
76#define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs"
77#define REISER2FS_JR_SUPER_MAGIC_STRING "ReIsEr3Fs"
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -070079#define SMB_SUPER_MAGIC 0x517B
Ben Cheng655a7c02013-10-16 16:09:24 -070080#define CGROUP_SUPER_MAGIC 0x27e0eb
Christopher Ferris106b3a82016-08-24 12:15:38 -070081#define CGROUP2_SUPER_MAGIC 0x63677270
Ben Cheng655a7c02013-10-16 16:09:24 -070082#define STACK_END_MAGIC 0x57AC6E9D
Christopher Ferris106b3a82016-08-24 12:15:38 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080084#define TRACEFS_MAGIC 0x74726163
Ben Cheng655a7c02013-10-16 16:09:24 -070085#define V9FS_MAGIC 0x01021997
Christopher Ferris05d08e92016-02-04 13:16:38 -080086#define BDEVFS_MAGIC 0x62646576
Ben Cheng655a7c02013-10-16 16:09:24 -070087#define BINFMTFS_MAGIC 0x42494e4d
Christopher Ferris106b3a82016-08-24 12:15:38 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070089#define DEVPTS_SUPER_MAGIC 0x1cd1
90#define FUTEXFS_SUPER_MAGIC 0xBAD1DEA
Christopher Ferris05d08e92016-02-04 13:16:38 -080091#define PIPEFS_MAGIC 0x50495045
Ben Cheng655a7c02013-10-16 16:09:24 -070092#define PROC_SUPER_MAGIC 0x9fa0
Christopher Ferris106b3a82016-08-24 12:15:38 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070094#define SOCKFS_MAGIC 0x534F434B
95#define SYSFS_MAGIC 0x62656572
Christopher Ferris05d08e92016-02-04 13:16:38 -080096#define USBDEVICE_SUPER_MAGIC 0x9fa2
Ben Cheng655a7c02013-10-16 16:09:24 -070097#define MTD_INODE_FS_MAGIC 0x11307854
Christopher Ferris106b3a82016-08-24 12:15:38 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070099#define ANON_INODE_FS_MAGIC 0x09041934
Christopher Ferris38062f92014-07-09 15:33:25 -0700100#define BTRFS_TEST_MAGIC 0x73727279
Christopher Ferris05d08e92016-02-04 13:16:38 -0800101#define NSFS_MAGIC 0x6e736673
102#define BPF_FS_MAGIC 0xcafe4a11
Christopher Ferris106b3a82016-08-24 12:15:38 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104#define UDF_SUPER_MAGIC 0x15013346
Christopher Ferris49f525c2016-12-12 14:55:36 -0800105#define BALLOON_KVM_MAGIC 0x13661366
106#define ZSMALLOC_MAGIC 0x58295829
Christopher Ferris05d08e92016-02-04 13:16:38 -0800107#endif
Christopher Ferris49f525c2016-12-12 14:55:36 -0800108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */