Skip to content

Commit 23fdf42

Browse files
authored
Merge pull request #1660 from MikailBag/master
Add definitions for cgroupfs and cgroup2fs MAGIC
2 parents 8af0d7f + 013fffd commit 23fdf42

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,8 @@ pub const REISERFS_SUPER_MAGIC: ::c_long = 0x52654973;
634634
pub const SMB_SUPER_MAGIC: ::c_long = 0x0000517b;
635635
pub const TMPFS_MAGIC: ::c_long = 0x01021994;
636636
pub const USBDEVICE_SUPER_MAGIC: ::c_long = 0x00009fa2;
637+
pub const CGROUP_SUPER_MAGIC: ::c_long = 0x27e0eb;
638+
pub const CGROUP2_SUPER_MAGIC: ::c_long = 0x63677270;
637639

638640
pub const CPU_SETSIZE: ::c_int = 0x400;
639641

0 commit comments

Comments
 (0)