mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Implement cgroupfs.
A skeleton implementation of cgroupfs. It supports trivial cpu and memory controllers with no support for hierarchies. PiperOrigin-RevId: 366561126
This commit is contained in:
committed by
gVisor bot
parent
a0c1674478
commit
932c8abd0f
+2
-1
@@ -19,8 +19,10 @@ package linux
|
||||
// See linux/magic.h.
|
||||
const (
|
||||
ANON_INODE_FS_MAGIC = 0x09041934
|
||||
CGROUP_SUPER_MAGIC = 0x27e0eb
|
||||
DEVPTS_SUPER_MAGIC = 0x00001cd1
|
||||
EXT_SUPER_MAGIC = 0xef53
|
||||
FUSE_SUPER_MAGIC = 0x65735546
|
||||
OVERLAYFS_SUPER_MAGIC = 0x794c7630
|
||||
PIPEFS_MAGIC = 0x50495045
|
||||
PROC_SUPER_MAGIC = 0x9fa0
|
||||
@@ -29,7 +31,6 @@ const (
|
||||
SYSFS_MAGIC = 0x62656572
|
||||
TMPFS_MAGIC = 0x01021994
|
||||
V9FS_MAGIC = 0x01021997
|
||||
FUSE_SUPER_MAGIC = 0x65735546
|
||||
)
|
||||
|
||||
// Filesystem path limits, from uapi/linux/limits.h.
|
||||
|
||||
Reference in New Issue
Block a user