From ef5954d4e6c952ad766444de8532b7442c90f1ab Mon Sep 17 00:00:00 2001 From: Mikail Bagishov Date: Wed, 12 Feb 2020 23:16:55 +0300 Subject: [PATCH] Add definitions for cgroupfs and cgroup2fs MAGIC --- 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 ea041aa6dae18..e5249ff56fea7 100644 --- a/src/unix/linux_like/linux/gnu/mod.rs +++ b/src/unix/linux_like/linux/gnu/mod.rs @@ -543,6 +543,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;