Skip to content

Commit 8b68710

Browse files
Kenta TadaKenta Tada
authored andcommitted
Add definitions for Linux debug related MAGIC
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
1 parent bc30283 commit 8b68710

File tree

1 file changed

+4
-0
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+4
-0
lines changed

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,11 +729,13 @@ pub const AFFS_SUPER_MAGIC: ::c_long = 0x0000adff;
729729
pub const AFS_SUPER_MAGIC: ::c_long = 0x5346414f;
730730
pub const AUTOFS_SUPER_MAGIC: ::c_long = 0x0187;
731731
pub const BINDERFS_SUPER_MAGIC: ::c_long = 0x6c6f6f70;
732+
pub const BPF_FS_MAGIC: ::c_long = 0xcafe4a11;
732733
pub const BTRFS_SUPER_MAGIC: ::c_long = 0x9123683e;
733734
pub const CGROUP2_SUPER_MAGIC: ::c_long = 0x63677270;
734735
pub const CGROUP_SUPER_MAGIC: ::c_long = 0x27e0eb;
735736
pub const CODA_SUPER_MAGIC: ::c_long = 0x73757245;
736737
pub const CRAMFS_MAGIC: ::c_long = 0x28cd3d45;
738+
pub const DEBUGFS_MAGIC: ::c_long = 0x64626720;
737739
pub const DEVPTS_SUPER_MAGIC: ::c_long = 0x1cd1;
738740
pub const ECRYPTFS_SUPER_MAGIC: ::c_long = 0xf15f;
739741
pub const EFS_SUPER_MAGIC: ::c_long = 0x00414a53;
@@ -765,7 +767,9 @@ pub const QNX6_SUPER_MAGIC: ::c_long = 0x68191122;
765767
pub const RDTGROUP_SUPER_MAGIC: ::c_long = 0x7655821;
766768
pub const REISERFS_SUPER_MAGIC: ::c_long = 0x52654973;
767769
pub const SMB_SUPER_MAGIC: ::c_long = 0x0000517b;
770+
pub const SYSFS_MAGIC: ::c_long = 0x62656572;
768771
pub const TMPFS_MAGIC: ::c_long = 0x01021994;
772+
pub const TRACEFS_MAGIC: ::c_long = 0x74726163;
769773
pub const UDF_SUPER_MAGIC: ::c_long = 0x15013346;
770774
pub const USBDEVICE_SUPER_MAGIC: ::c_long = 0x00009fa2;
771775
pub const XENFS_SUPER_MAGIC: ::c_long = 0xabba1974;

0 commit comments

Comments
 (0)