gvisor/runsc/container
Fabricio Voznika ca90dad0e2 Fix container locking
Sandbox root dir was not being saved with the Container state,
so it would point to the wrong directory location when attempting
to lock the sandbox. This led to race conditions saving and
loading container state. Fixing it, led to multiple deadlocks.

I've moved the saving and locking logic to a separate struct and
moved the lock file inside the RootDir (instead of container
root dir), which allows the lock to be taken inside Destroy,
and removes the need to lock the sandbox.

PiperOrigin-RevId: 277599612
2019-10-30 15:39:04 -07:00
..
test_app Prevent CAP_NET_RAW from appearing in exec 2019-10-01 11:49:49 -07:00
BUILD Fix container locking 2019-10-30 15:39:04 -07:00
console_test.go Impose order on test scripts. 2019-09-03 22:02:43 -07:00
container.go Fix container locking 2019-10-30 15:39:04 -07:00
container_test.go Fix early deletion of rootDir 2019-10-24 16:36:54 -07:00
hook.go Update canonical repository. 2019-06-13 16:50:15 -07:00
multi_container_test.go Fix early deletion of rootDir 2019-10-24 16:36:54 -07:00
shared_volume_test.go Impose order on test scripts. 2019-09-03 22:02:43 -07:00
state_file.go Fix container locking 2019-10-30 15:39:04 -07:00
status.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00