open-nomad/drivers/rawexec
Danielle Tomlinson 880e5015f2 rawexec: Only use cgroups when running as root.
If Nomad is not running as root, we should not try to use cgroups for pid
freezing.

This originally was implemented pre-driver-support in
https://github.com/hashicorp/nomad/blob/v0.8.6/client/driver/raw_exec.go#L120-L130
2018-11-10 06:45:11 -08:00
..
driver.go rawexec: Only use cgroups when running as root. 2018-11-10 06:45:11 -08:00
driver_test.go rawexec: fix fingerprint results and tests 2018-10-30 17:16:22 -07:00
driver_unix_test.go Get raw exec tests compiling and passing again 2018-10-16 16:56:56 -07:00
handle.go rawexec: standardize names/code 2018-11-01 15:53:07 -07:00
state.go rawexec: standardize names/code 2018-11-01 15:53:07 -07:00