gvisor/runsc/container
Fabricio Voznika f51e0486d4 Fix stdios ownership
Set stdio ownership based on the container's user to ensure the
user can open/read/write to/from stdios.

1. stdios in the host are changed to have the owner be the same
uid/gid of the process running the sandbox. This ensures that the
sandbox has full control over it.
2. stdios owner owner inside the sandbox is changed to match the
container's user to give access inside the container and make it
behave the same as runc.

Fixes #6180

PiperOrigin-RevId: 384347009
2021-07-12 16:55:40 -07:00
..
BUILD Clean test tags. 2021-04-20 13:11:25 -07:00
console_test.go Fix stdios ownership 2021-07-12 16:55:40 -07:00
container.go Fix stdios ownership 2021-07-12 16:55:40 -07:00
container_norace_test.go Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00
container_race_test.go Simplify Docker test infrastructure. 2020-04-23 11:33:30 -07:00
container_test.go Fix stdios ownership 2021-07-12 16:55:40 -07:00
hook.go Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
multi_container_test.go Fix stdios ownership 2021-07-12 16:55:40 -07:00
shared_volume_test.go Fix stdios ownership 2021-07-12 16:55:40 -07:00
state_file.go Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
status.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00