runc/libcontainer/configs/validate
Aleksa Sarai 823c06eae9
libcontainer: improve "kernel.{domainname,hostname}" sysctl handling
These sysctls are namespaced by CLONE_NEWUTS, and we need to use
"kernel.domainname" if we want users to be able to set an NIS domainname
on Linux. However we disallow "kernel.hostname" because it would
conflict with the "hostname" field and cause confusion (but we include a
helpful message to make it clearer to the user).

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2018-06-18 21:48:04 +10:00
..
rootless.go runc: not require uid/gid mappings if euid()==0 2018-06-12 12:45:54 +02:00
rootless_test.go Support cgroups with limits as rootless 2017-10-05 11:22:54 +01:00
validator.go libcontainer: improve "kernel.{domainname,hostname}" sysctl handling 2018-06-18 21:48:04 +10:00
validator_test.go validator: actually test success 2016-10-26 23:07:57 +11:00