Skip to content

Commit a6dc5bc

Browse files
committed
Auto merge of #2089 - KentaTada:add-selinuxfs, r=JohnTitor
Add definition of SELINUX_MAGIC This commit adds the definition of SELINUX_MAGIC.
2 parents 1dbc85d + bdb1ab7 commit a6dc5bc

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,7 @@ cfg_if! {
800800
pub const QNX6_SUPER_MAGIC: ::c_long = 0x68191122;
801801
pub const RDTGROUP_SUPER_MAGIC: ::c_long = 0x7655821;
802802
pub const REISERFS_SUPER_MAGIC: ::c_long = 0x52654973;
803+
pub const SELINUX_MAGIC: ::c_long = 0xf97cff8c;
803804
pub const SMB_SUPER_MAGIC: ::c_long = 0x0000517b;
804805
pub const SYSFS_MAGIC: ::c_long = 0x62656572;
805806
pub const TMPFS_MAGIC: ::c_long = 0x01021994;
@@ -851,6 +852,7 @@ cfg_if! {
851852
pub const QNX6_SUPER_MAGIC: ::c_uint = 0x68191122;
852853
pub const RDTGROUP_SUPER_MAGIC: ::c_uint = 0x7655821;
853854
pub const REISERFS_SUPER_MAGIC: ::c_uint = 0x52654973;
855+
pub const SELINUX_MAGIC: ::c_uint = 0xf97cff8c;
854856
pub const SMB_SUPER_MAGIC: ::c_uint = 0x0000517b;
855857
pub const SYSFS_MAGIC: ::c_uint = 0x62656572;
856858
pub const TMPFS_MAGIC: ::c_uint = 0x01021994;

0 commit comments

Comments
 (0)