Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef __LINUX_MAGIC_H__ |
| 8 | #define __LINUX_MAGIC_H__ |
| 9 | #define ADFS_SUPER_MAGIC 0xadf5 |
| 10 | #define AFFS_SUPER_MAGIC 0xadff |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define AFS_SUPER_MAGIC 0x5346414F |
| 12 | #define AUTOFS_SUPER_MAGIC 0x0187 |
Christopher Ferris | 1ed5534 | 2022-03-22 16:06:25 -0700 | [diff] [blame] | 13 | #define CEPH_SUPER_MAGIC 0x00c36400 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 14 | #define CODA_SUPER_MAGIC 0x73757245 |
| 15 | #define CRAMFS_MAGIC 0x28cd3d45 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 16 | #define CRAMFS_MAGIC_WEND 0x453dcd28 |
| 17 | #define DEBUGFS_MAGIC 0x64626720 |
| 18 | #define SECURITYFS_MAGIC 0x73636673 |
| 19 | #define SELINUX_MAGIC 0xf97cff8c |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 20 | #define SMACK_MAGIC 0x43415d53 |
| 21 | #define RAMFS_MAGIC 0x858458f6 |
| 22 | #define TMPFS_MAGIC 0x01021994 |
| 23 | #define HUGETLBFS_MAGIC 0x958458f6 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 24 | #define SQUASHFS_MAGIC 0x73717368 |
| 25 | #define ECRYPTFS_SUPER_MAGIC 0xf15f |
| 26 | #define EFS_SUPER_MAGIC 0x414A53 |
Christopher Ferris | 9584fa4 | 2019-12-09 15:36:13 -0800 | [diff] [blame] | 27 | #define EROFS_SUPER_MAGIC_V1 0xE0F5E1E2 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 28 | #define EXT2_SUPER_MAGIC 0xEF53 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 29 | #define EXT3_SUPER_MAGIC 0xEF53 |
| 30 | #define XENFS_SUPER_MAGIC 0xabba1974 |
| 31 | #define EXT4_SUPER_MAGIC 0xEF53 |
| 32 | #define BTRFS_SUPER_MAGIC 0x9123683E |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 33 | #define NILFS_SUPER_MAGIC 0x3434 |
| 34 | #define F2FS_SUPER_MAGIC 0xF2F52010 |
| 35 | #define HPFS_SUPER_MAGIC 0xf995e849 |
| 36 | #define ISOFS_SUPER_MAGIC 0x9660 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 37 | #define JFFS2_SUPER_MAGIC 0x72b6 |
Christopher Ferris | 86a4837 | 2019-01-10 14:14:59 -0800 | [diff] [blame] | 38 | #define XFS_SUPER_MAGIC 0x58465342 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | #define PSTOREFS_MAGIC 0x6165676C |
| 40 | #define EFIVARFS_MAGIC 0xde5e81e4 |
| 41 | #define HOSTFS_SUPER_MAGIC 0x00c0ffee |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 42 | #define OVERLAYFS_SUPER_MAGIC 0x794c7630 |
Christopher Ferris | 1ed5534 | 2022-03-22 16:06:25 -0700 | [diff] [blame] | 43 | #define FUSE_SUPER_MAGIC 0x65735546 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 44 | #define MINIX_SUPER_MAGIC 0x137F |
| 45 | #define MINIX_SUPER_MAGIC2 0x138F |
| 46 | #define MINIX2_SUPER_MAGIC 0x2468 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 47 | #define MINIX2_SUPER_MAGIC2 0x2478 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 48 | #define MINIX3_SUPER_MAGIC 0x4d5a |
| 49 | #define MSDOS_SUPER_MAGIC 0x4d44 |
Christopher Ferris | 1ed5534 | 2022-03-22 16:06:25 -0700 | [diff] [blame] | 50 | #define EXFAT_SUPER_MAGIC 0x2011BAB0 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 51 | #define NCP_SUPER_MAGIC 0x564c |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 52 | #define NFS_SUPER_MAGIC 0x6969 |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 53 | #define OCFS2_SUPER_MAGIC 0x7461636f |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 54 | #define OPENPROM_SUPER_MAGIC 0x9fa1 |
| 55 | #define QNX4_SUPER_MAGIC 0x002f |
| 56 | #define QNX6_SUPER_MAGIC 0x68191122 |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 57 | #define AFS_FS_MAGIC 0x6B414653 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 58 | #define REISERFS_SUPER_MAGIC 0x52654973 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 59 | #define REISERFS_SUPER_MAGIC_STRING "ReIsErFs" |
| 60 | #define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs" |
| 61 | #define REISER2FS_JR_SUPER_MAGIC_STRING "ReIsEr3Fs" |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 62 | #define SMB_SUPER_MAGIC 0x517B |
Christopher Ferris | 1ed5534 | 2022-03-22 16:06:25 -0700 | [diff] [blame] | 63 | #define CIFS_SUPER_MAGIC 0xFF534D42 |
| 64 | #define SMB2_SUPER_MAGIC 0xFE534D42 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 65 | #define CGROUP_SUPER_MAGIC 0x27e0eb |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 66 | #define CGROUP2_SUPER_MAGIC 0x63677270 |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 67 | #define RDTGROUP_SUPER_MAGIC 0x7655821 |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 68 | #define STACK_END_MAGIC 0x57AC6E9D |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 69 | #define TRACEFS_MAGIC 0x74726163 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 70 | #define V9FS_MAGIC 0x01021997 |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 71 | #define BDEVFS_MAGIC 0x62646576 |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 72 | #define DAXFS_MAGIC 0x64646178 |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 73 | #define BINFMTFS_MAGIC 0x42494e4d |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 74 | #define DEVPTS_SUPER_MAGIC 0x1cd1 |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame] | 75 | #define BINDERFS_SUPER_MAGIC 0x6c6f6f70 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 76 | #define FUTEXFS_SUPER_MAGIC 0xBAD1DEA |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 77 | #define PIPEFS_MAGIC 0x50495045 |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 78 | #define PROC_SUPER_MAGIC 0x9fa0 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 79 | #define SOCKFS_MAGIC 0x534F434B |
| 80 | #define SYSFS_MAGIC 0x62656572 |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 81 | #define USBDEVICE_SUPER_MAGIC 0x9fa2 |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 82 | #define MTD_INODE_FS_MAGIC 0x11307854 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 83 | #define ANON_INODE_FS_MAGIC 0x09041934 |
Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 84 | #define BTRFS_TEST_MAGIC 0x73727279 |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 85 | #define NSFS_MAGIC 0x6e736673 |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 86 | #define BPF_FS_MAGIC 0xcafe4a11 |
Christopher Ferris | 1308ad3 | 2017-11-14 17:32:13 -0800 | [diff] [blame] | 87 | #define AAFS_MAGIC 0x5a3c69f0 |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 88 | #define ZONEFS_MAGIC 0x5a4f4653 |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 89 | #define UDF_SUPER_MAGIC 0x15013346 |
Christopher Ferris | b8a95e2 | 2019-10-02 18:29:20 -0700 | [diff] [blame] | 90 | #define DMA_BUF_MAGIC 0x444d4142 |
Christopher Ferris | 8177cdf | 2020-08-03 11:53:55 -0700 | [diff] [blame] | 91 | #define DEVMEM_MAGIC 0x454d444d |
Christopher Ferris | 3a39c0b | 2021-09-02 00:03:38 +0000 | [diff] [blame] | 92 | #define SECRETMEM_MAGIC 0x5345434d |
Christopher Ferris | 7f4c837 | 2024-06-03 14:22:19 -0700 | [diff] [blame] | 93 | #define PID_FS_MAGIC 0x50494446 |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 94 | #endif |