Rahat Mahmood
f23f62c2c2
Correctly set the test VFS environment variable.
...
Also fix test bugs uncovered now that they aren't silently skipped on
VFS2.
Updates #1487 .
PiperOrigin-RevId: 316415807
2020-06-15 01:09:38 -07:00
Dean Deng
ba2bf9fc13
Skip socket tests only if running on vfs1.
...
PiperOrigin-RevId: 312763249
2020-05-21 16:32:48 -07:00
Nicolas Lacasse
db655f020e
Resolve remaining TODOs for tmpfs.
...
Closes #1197
PiperOrigin-RevId: 311438223
2020-05-13 17:36:37 -07:00
Dean Deng
ce19497c1c
Fix Unix socket permissions.
...
Enforce write permission checks in BoundEndpointAt, which corresponds to the
permission checks in Linux (net/unix/af_unix.c:unix_find_other).
Also, create bound socket files with the correct permissions in VFS2.
Fixes #2324 .
PiperOrigin-RevId: 308949084
2020-04-28 20:13:01 -07:00
Michael Pratt
61e40819d9
Sanity test that open(2) on a UDS fails
...
Spoiler alert: it doesn't.
PiperOrigin-RevId: 272513529
2019-10-02 14:01:49 -07:00
gVisor bot
baf4d8aaca
Internal change.
...
PiperOrigin-RevId: 265535438
2019-08-26 14:07:17 -07:00
Andrei Vagin
4b9cb38157
gvisor: socket() returns EPROTONOSUPPORT if protocol is not supported
...
PiperOrigin-RevId: 250426407
2019-05-30 12:06:15 -07:00