gvisor/runsc
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
..
boot Store endpoints inside multiPortEndpoint in a sorted order 2019-10-30 15:33:41 -07:00
cgroup Impose order on test scripts. 2019-09-03 22:02:43 -07:00
cmd Fix problem with open FD when copy up is triggered in overlayfs 2019-10-16 15:06:24 -07:00
console Always set SysProcAttr.Ctty to an FD in the child's FD table. 2019-06-26 11:27:31 -07:00
container Fix container locking 2019-10-30 15:39:04 -07:00
criutil Add tests for $HOME 2019-10-07 15:55:39 -07:00
debian Impose order on test scripts. 2019-09-03 22:02:43 -07:00
dockerutil Prevent CAP_NET_RAW from appearing in exec 2019-10-01 11:49:49 -07:00
fsgofer Cast the Stat_t.Nlink to uint64 on arm64. 2019-10-28 05:56:03 +00:00
sandbox netstack/tcp: software segmentation offload 2019-10-22 11:55:56 -07:00
specutils Merge pull request #1046 from tomlanyon:crio 2019-10-22 17:05:04 -07:00
testutil Fix early deletion of rootDir 2019-10-24 16:36:54 -07:00
BUILD runsc: remove todo from the build file 2019-10-01 16:25:34 -07:00
main.go netstack/tcp: software segmentation offload 2019-10-22 11:55:56 -07:00
version.go Fix `runsc --version` and add a test. 2019-09-10 15:41:47 -07:00
version_test.sh Merge pull request #843 from nlacasse:version 2019-09-12 14:55:24 -07:00