| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** | 
|  | 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 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define AFS_SUPER_MAGIC 0x5346414F | 
|  | 24 | #define AUTOFS_SUPER_MAGIC 0x0187 | 
|  | 25 | #define CODA_SUPER_MAGIC 0x73757245 | 
|  | 26 | #define CRAMFS_MAGIC 0x28cd3d45 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define CRAMFS_MAGIC_WEND 0x453dcd28 | 
|  | 28 | #define DEBUGFS_MAGIC 0x64626720 | 
|  | 29 | #define SECURITYFS_MAGIC 0x73636673 | 
|  | 30 | #define SELINUX_MAGIC 0xf97cff8c | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 31 | #define SMACK_MAGIC 0x43415d53 | 
|  | 32 | #define RAMFS_MAGIC 0x858458f6 | 
|  | 33 | #define TMPFS_MAGIC 0x01021994 | 
|  | 34 | #define HUGETLBFS_MAGIC 0x958458f6 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 35 | #define SQUASHFS_MAGIC 0x73717368 | 
|  | 36 | #define ECRYPTFS_SUPER_MAGIC 0xf15f | 
|  | 37 | #define EFS_SUPER_MAGIC 0x414A53 | 
|  | 38 | #define EXT2_SUPER_MAGIC 0xEF53 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | #define EXT3_SUPER_MAGIC 0xEF53 | 
|  | 40 | #define XENFS_SUPER_MAGIC 0xabba1974 | 
|  | 41 | #define EXT4_SUPER_MAGIC 0xEF53 | 
|  | 42 | #define BTRFS_SUPER_MAGIC 0x9123683E | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 43 | #define NILFS_SUPER_MAGIC 0x3434 | 
|  | 44 | #define F2FS_SUPER_MAGIC 0xF2F52010 | 
|  | 45 | #define HPFS_SUPER_MAGIC 0xf995e849 | 
|  | 46 | #define ISOFS_SUPER_MAGIC 0x9660 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 47 | #define JFFS2_SUPER_MAGIC 0x72b6 | 
|  | 48 | #define PSTOREFS_MAGIC 0x6165676C | 
|  | 49 | #define EFIVARFS_MAGIC 0xde5e81e4 | 
|  | 50 | #define HOSTFS_SUPER_MAGIC 0x00c0ffee | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 51 | #define OVERLAYFS_SUPER_MAGIC 0x794c7630 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 52 | #define MINIX_SUPER_MAGIC 0x137F | 
|  | 53 | #define MINIX_SUPER_MAGIC2 0x138F | 
|  | 54 | #define MINIX2_SUPER_MAGIC 0x2468 | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 55 | #define MINIX2_SUPER_MAGIC2 0x2478 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 56 | #define MINIX3_SUPER_MAGIC 0x4d5a | 
|  | 57 | #define MSDOS_SUPER_MAGIC 0x4d44 | 
|  | 58 | #define NCP_SUPER_MAGIC 0x564c | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 59 | #define NFS_SUPER_MAGIC 0x6969 | 
| Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 60 | #define OCFS2_SUPER_MAGIC 0x7461636f | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 61 | #define OPENPROM_SUPER_MAGIC 0x9fa1 | 
|  | 62 | #define QNX4_SUPER_MAGIC 0x002f | 
|  | 63 | #define QNX6_SUPER_MAGIC 0x68191122 | 
| Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 64 | #define AFS_FS_MAGIC 0x6B414653 | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 65 | #define REISERFS_SUPER_MAGIC 0x52654973 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 66 | #define REISERFS_SUPER_MAGIC_STRING "ReIsErFs" | 
|  | 67 | #define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs" | 
|  | 68 | #define REISER2FS_JR_SUPER_MAGIC_STRING "ReIsEr3Fs" | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 69 | #define SMB_SUPER_MAGIC 0x517B | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 70 | #define CGROUP_SUPER_MAGIC 0x27e0eb | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 71 | #define CGROUP2_SUPER_MAGIC 0x63677270 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 72 | #define RDTGROUP_SUPER_MAGIC 0x7655821 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 73 | #define STACK_END_MAGIC 0x57AC6E9D | 
| Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 74 | #define TRACEFS_MAGIC 0x74726163 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 75 | #define V9FS_MAGIC 0x01021997 | 
| Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 76 | #define BDEVFS_MAGIC 0x62646576 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 77 | #define DAXFS_MAGIC 0x64646178 | 
| Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 78 | #define BINFMTFS_MAGIC 0x42494e4d | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 79 | #define DEVPTS_SUPER_MAGIC 0x1cd1 | 
|  | 80 | #define FUTEXFS_SUPER_MAGIC 0xBAD1DEA | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 81 | #define PIPEFS_MAGIC 0x50495045 | 
| Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 82 | #define PROC_SUPER_MAGIC 0x9fa0 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 83 | #define SOCKFS_MAGIC 0x534F434B | 
|  | 84 | #define SYSFS_MAGIC 0x62656572 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 85 | #define USBDEVICE_SUPER_MAGIC 0x9fa2 | 
| Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 86 | #define MTD_INODE_FS_MAGIC 0x11307854 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 87 | #define ANON_INODE_FS_MAGIC 0x09041934 | 
| Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 88 | #define BTRFS_TEST_MAGIC 0x73727279 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 89 | #define NSFS_MAGIC 0x6e736673 | 
| Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 90 | #define BPF_FS_MAGIC 0xcafe4a11 | 
| Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 91 | #define AAFS_MAGIC 0x5a3c69f0 | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 92 | #define UDF_SUPER_MAGIC 0x15013346 | 
| Christopher Ferris | 49f525c | 2016-12-12 14:55:36 -0800 | [diff] [blame] | 93 | #define BALLOON_KVM_MAGIC 0x13661366 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 94 | #define ZSMALLOC_MAGIC 0x58295829 | 
| Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 95 | #endif |