gvisor/runsc/test/integration
Fabricio Voznika 02ab1f187c Copy up parent when binding UDS on overlayfs
Overlayfs was expecting the parent to exist when bind(2)
was called, which may not be the case. The fix is to copy
the parent directory to the upper layer before binding
the UDS.

There is not good place to add tests for it. Syscall tests
would be ideal, but it's hard to guarantee that the
directory where the socket is created hasn't been touched
before (and thus copied the parent to the upper layer).
Added it to runsc integration tests for now. If it turns
out we have lots of these kind of tests, we can consider
moving them somewhere more appropriate.

PiperOrigin-RevId: 251954156
2019-06-06 16:45:51 -07:00
..
BUILD Copy up parent when binding UDS on overlayfs 2019-06-06 16:45:51 -07:00
exec_test.go Send error message to docker/kubectl exec on failure 2019-06-06 10:49:43 -07:00
integration.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
integration_test.go gvisor/runsc/tests: set timeout for http.Get() 2019-05-13 00:50:44 -07:00
regression_test.go Copy up parent when binding UDS on overlayfs 2019-06-06 16:45:51 -07:00