diff options
author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-03-09 00:08:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 00:08:49 +0900 |
commit | 23fdf4232aa97a63006f03c2030495f053a3c85d (patch) | |
tree | 430f04ead6ff3ce85b2f247e6b8a49de3ea7e16b | |
parent | 8af0d7f6c8c394239366ba7d69214c1953a8bf66 (diff) | |
parent | 013fffde23d7eaadf2838f1c66fa4def2bcff96c (diff) | |
download | rust-libc-23fdf4232aa97a63006f03c2030495f053a3c85d.tar.gz |
Merge pull request #1660 from MikailBag/master
Add definitions for cgroupfs and cgroup2fs MAGIC
-rw-r--r-- | src/unix/linux_like/linux/gnu/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/linux_like/linux/gnu/mod.rs b/src/unix/linux_like/linux/gnu/mod.rs index a79d73cc62..eb33d791c9 100644 --- a/src/unix/linux_like/linux/gnu/mod.rs +++ b/src/unix/linux_like/linux/gnu/mod.rs @@ -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; |