Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,9 @@ fn test_linux(target: &str) {
// headers conflicts with linux/pidfd.h
"PIDFD_NONBLOCK" => true,

// is a private value for kernel usage normally
"FUSE_SUPER_MAGIC" => true,

_ => false,
}
});
Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/linux/gnu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ cfg_if! {
pub const EXT3_SUPER_MAGIC: ::c_long = 0x0000ef53;
pub const EXT4_SUPER_MAGIC: ::c_long = 0x0000ef53;
pub const F2FS_SUPER_MAGIC: ::c_long = 0xf2f52010;
pub const FUSE_SUPER_MAGIC: ::c_long = 0x65735546;
pub const FUTEXFS_SUPER_MAGIC: ::c_long = 0xbad1dea;
pub const HOSTFS_SUPER_MAGIC: ::c_long = 0x00c0ffee;
pub const HPFS_SUPER_MAGIC: ::c_long = 0xf995e849;
Expand Down Expand Up @@ -921,6 +922,7 @@ cfg_if! {
pub const EXT3_SUPER_MAGIC: ::c_uint = 0x0000ef53;
pub const EXT4_SUPER_MAGIC: ::c_uint = 0x0000ef53;
pub const F2FS_SUPER_MAGIC: ::c_uint = 0xf2f52010;
pub const FUSE_SUPER_MAGIC: ::c_uint = 0x65735546;
pub const FUTEXFS_SUPER_MAGIC: ::c_uint = 0xbad1dea;
pub const HOSTFS_SUPER_MAGIC: ::c_uint = 0x00c0ffee;
pub const HPFS_SUPER_MAGIC: ::c_uint = 0xf995e849;
Expand Down