runc/libcontainer/integration
Julian Friedman e91b2b8aca Set rlimits using prlimit in parent
Fixes #680

This changes setupRlimit to use the Prlimit syscall (rather than
Setrlimit) and moves the call to the parent process. This is necessary
because Setrlimit would affect the libcontainer consumer if called in
the parent, and would fail if called from the child if the
child process is in a user namespace and the requested rlimit is higher
than that in the parent.

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
2016-03-25 15:11:44 +00:00
..
checkpoint_test.go Make cwd required 2016-01-14 19:06:56 -05:00
doc.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
exec_test.go Set rlimits using prlimit in parent 2016-03-25 15:11:44 +00:00
execin_test.go Set rlimits using prlimit in parent 2016-03-25 15:11:44 +00:00
init_test.go Revert "Return proper exit code for exec errors" 2016-03-10 11:00:48 -08:00
seccomp_test.go Make cwd required 2016-01-14 19:06:56 -05:00
template_test.go Handle memory swappiness as a pointer to handle default/unset case 2016-02-24 09:02:06 -06:00
utils_test.go Integration tests for joining namespaces 2016-02-28 12:26:53 -08:00