gvisor/runsc/boot
Nicolas Lacasse 106de2182d runsc: Terminal support for "docker exec -ti".
This CL adds terminal support for "docker exec".  We previously only supported
consoles for the container process, but not exec processes.

The SYS_IOCTL syscall was added to the default seccomp filter list, but only
for ioctls that get/set winsize and termios structs. We need to allow these
ioctl for all containers because it's possible to run "exec -ti" on a
container that was started without an attached console, after the filters
have been installed.

Note that control-character signals are still not properly supported.

Tested with:
	$ docker run --runtime=runsc -it alpine
In another terminial:
	$ docker exec -it <containerid> /bin/sh

PiperOrigin-RevId: 210185456
Change-Id: I6d2401e53a7697bb988c120a8961505c335f96d9
2018-08-24 17:43:21 -07:00
..
filter runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
BUILD Added functionality to create a RestoreEnvironment. 2018-06-21 10:18:11 -07:00
config.go runsc: Fix instances of file access "proxy". 2018-08-15 09:34:18 -07:00
controller.go runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
debug.go Add 'runsc debug' command 2018-06-20 13:31:31 -07:00
events.go Moved restore code out of create and made to be called after create. 2018-07-18 16:58:30 -07:00
fds.go Check in gVisor. 2018-04-28 01:44:26 -04:00
fs.go runsc: Allow runsc to properly search the PATH for executable name. 2018-08-24 14:42:40 -07:00
limits.go Make default limits the same as with runc 2018-07-02 12:51:38 -07:00
loader.go runsc: Terminal support for "docker exec -ti". 2018-08-24 17:43:21 -07:00
loader_test.go runsc: Change cache policy for root fs and volume mounts. 2018-08-14 16:25:58 -07:00
network.go Basic support for ip link/addr and ifconfig 2018-08-08 22:39:58 -07:00
strace.go Check in gVisor. 2018-04-28 01:44:26 -04:00