gvisor/runsc/cmd
Fabricio Voznika 29cd05a7c6 Add sandbox to cgroup
Sandbox creation uses the limits and reservations configured in the
OCI spec and set cgroup options accordinly. Then it puts both the
sandbox and gofer processes inside the cgroup.

It also allows the cgroup to be pre-configured by the caller. If the
cgroup already exists, sandbox and gofer processes will join the
cgroup but it will not modify the cgroup with spec limits.

PiperOrigin-RevId: 216538209
Change-Id: If2c65ffedf55820baab743a0edcfb091b89c1019
2018-10-10 09:00:42 -07:00
..
BUILD Fix sandbox and gofer capabilities 2018-09-19 17:15:14 -07:00
boot.go Add sandbox to cgroup 2018-10-10 09:00:42 -07:00
capability.go Switch to root in userns when CAP_SYS_CHROOT is also missing 2018-09-28 09:44:13 -07:00
capability_test.go Fix sandbox and gofer capabilities 2018-09-19 17:15:14 -07:00
checkpoint.go Handle children processes better in tests 2018-09-18 15:21:28 -07:00
cmd.go Switch to root in userns when CAP_SYS_CHROOT is also missing 2018-09-28 09:44:13 -07:00
create.go runsc: Pass log and config files to sandbox process by FD. 2018-09-04 20:10:01 -07:00
debug.go Add tests to verify gofer is chroot'ed 2018-10-09 21:07:14 -07:00
delete.go runsc: do not delete in paused state. 2018-09-06 11:06:19 -07:00
delete_test.go runsc: Support abbreviated container IDs. 2018-06-06 16:13:53 -07:00
events.go runsc: Enable container creation within existing sandboxes. 2018-06-19 21:44:33 -07:00
exec.go runsc: Support job control signals in "exec -it". 2018-10-01 22:06:56 -07:00
exec_test.go Check in gVisor. 2018-04-28 01:44:26 -04:00
gofer.go Fix sandbox and gofer capabilities 2018-09-19 17:15:14 -07:00
kill.go Removed duplicate/stale TODOs 2018-09-30 22:22:18 -07:00
list.go Add tests to verify gofer is chroot'ed 2018-10-09 21:07:14 -07:00
path.go runsc: fix container rootfs path. 2018-09-04 13:37:40 -07:00
pause.go Added code for a pause command for a container process. 2018-06-15 16:09:09 -07:00
ps.go runsc: Enable container creation within existing sandboxes. 2018-06-19 21:44:33 -07:00
restore.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
resume.go Added a resume command to unpause a paused container. 2018-06-19 15:23:36 -07:00
run.go runsc: Pass log and config files to sandbox process by FD. 2018-09-04 20:10:01 -07:00
start.go Refactor the Sandbox package into Sandbox + Container. 2018-05-15 10:18:03 -07:00
state.go Put fsgofer inside chroot 2018-08-27 11:10:14 -07:00
wait.go runsc: Enable waiting on exited processes. 2018-09-17 16:25:24 -07:00