Skip to content

Add definitions for security related MAGIC #2094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/unix/linux_like/linux/gnu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,9 @@ 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 SECURITYFS_MAGIC: ::c_long = 0x73636673;
pub const SELINUX_MAGIC: ::c_long = 0xf97cff8c;
pub const SMACK_MAGIC: ::c_long = 0x43415d53;
pub const SMB_SUPER_MAGIC: ::c_long = 0x0000517b;
pub const SYSFS_MAGIC: ::c_long = 0x62656572;
pub const TMPFS_MAGIC: ::c_long = 0x01021994;
Expand Down Expand Up @@ -852,7 +854,9 @@ 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 SECURITYFS_MAGIC: ::c_uint = 0x73636673;
pub const SELINUX_MAGIC: ::c_uint = 0xf97cff8c;
pub const SMACK_MAGIC: ::c_uint = 0x43415d53;
pub const SMB_SUPER_MAGIC: ::c_uint = 0x0000517b;
pub const SYSFS_MAGIC: ::c_uint = 0x62656572;
pub const TMPFS_MAGIC: ::c_uint = 0x01021994;
Expand Down