From bdb1ab7b01a182290c97fbccfd42d538bda55a20 Mon Sep 17 00:00:00 2001 From: Kenta Tada Date: Mon, 1 Mar 2021 21:49:48 +0900 Subject: Add definition of SELINUX_MAGIC Signed-off-by: Kenta Tada --- src/unix/linux_like/linux/gnu/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/linux_like/linux/gnu/mod.rs b/src/unix/linux_like/linux/gnu/mod.rs index e8b3325930..ce267e3fca 100644 --- a/src/unix/linux_like/linux/gnu/mod.rs +++ b/src/unix/linux_like/linux/gnu/mod.rs @@ -800,6 +800,7 @@ cfg_if! { pub const QNX6_SUPER_MAGIC: ::c_long = 0x68191122; pub const RDTGROUP_SUPER_MAGIC: ::c_long = 0x7655821; pub const REISERFS_SUPER_MAGIC: ::c_long = 0x52654973; + pub const SELINUX_MAGIC: ::c_long = 0xf97cff8c; pub const SMB_SUPER_MAGIC: ::c_long = 0x0000517b; pub const SYSFS_MAGIC: ::c_long = 0x62656572; pub const TMPFS_MAGIC: ::c_long = 0x01021994; @@ -851,6 +852,7 @@ cfg_if! { pub const QNX6_SUPER_MAGIC: ::c_uint = 0x68191122; pub const RDTGROUP_SUPER_MAGIC: ::c_uint = 0x7655821; pub const REISERFS_SUPER_MAGIC: ::c_uint = 0x52654973; + pub const SELINUX_MAGIC: ::c_uint = 0xf97cff8c; pub const SMB_SUPER_MAGIC: ::c_uint = 0x0000517b; pub const SYSFS_MAGIC: ::c_uint = 0x62656572; pub const TMPFS_MAGIC: ::c_uint = 0x01021994; -- cgit v1.2.1