gvisor/runsc
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
..
boot Fix stdios ownership 2021-07-12 16:55:40 -07:00
cgroup Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
cli
cmd Fix stdios ownership 2021-07-12 16:55:40 -07:00
config
console
container Fix stdios ownership 2021-07-12 16:55:40 -07:00
flag Fix simple mistakes identified by goreportcard. 2021-01-12 12:38:22 -08:00
fsgofer Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
mitigate Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
sandbox Fix stdios ownership 2021-07-12 16:55:40 -07:00
specutils Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
BUILD
main.go
version.go Fix `runsc --version` and add a test. 2019-09-10 15:41:47 -07:00
version_test.sh