Skip to content

Commit

Permalink
Add definitions for cgroupfs and cgroup2fs MAGIC
Browse files Browse the repository at this point in the history
  • Loading branch information
MikailBag committed Mar 8, 2020
1 parent 8af0d7f commit 013fffd
Showing 1 changed file with 2 additions and 0 deletions.
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 @@ -634,6 +634,8 @@ pub const REISERFS_SUPER_MAGIC: ::c_long = 0x52654973;
pub const SMB_SUPER_MAGIC: ::c_long = 0x0000517b;
pub const TMPFS_MAGIC: ::c_long = 0x01021994;
pub const USBDEVICE_SUPER_MAGIC: ::c_long = 0x00009fa2;
pub const CGROUP_SUPER_MAGIC: ::c_long = 0x27e0eb;
pub const CGROUP2_SUPER_MAGIC: ::c_long = 0x63677270;

pub const CPU_SETSIZE: ::c_int = 0x400;

Expand Down

0 comments on commit 013fffd

Please sign in to comment.