66bb1c4644
The implementation in libcontainer/system is quite complicated, and we only use it to detect if user-namespaces are enabled. In addition, the implementation in containerd uses a sync.Once, so that detection (and reading/parsing `/proc/self/uid_map`) is only performed once. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
cgroup2_linux.go | ||
numcpu.go | ||
numcpu_linux.go | ||
numcpu_windows.go | ||
README.md | ||
sysinfo.go | ||
sysinfo_linux.go | ||
sysinfo_linux_test.go | ||
sysinfo_test.go | ||
sysinfo_unix.go | ||
sysinfo_windows.go |
SysInfo stores information about which features a kernel supports.