gVisor bot
975eb8e83f
Internal change.
...
PiperOrigin-RevId: 957694371
2026-08-01 12:58:40 -07:00
Ayush Ranjan and gVisor bot
f6263c38df
Remove VFS1 special handling in tests.
...
Also clean up usage of GVISOR_VFS environment variable.
Updates #1624
PiperOrigin-RevId: 429100450
2022-02-16 11:41:51 -08:00
Fabricio Voznika and gVisor bot
227e18096e
Fix socket permission
...
Closes #6773
PiperOrigin-RevId: 408984647
2021-11-10 15:00:50 -08:00
Ghanan Gowripalan and gVisor bot
129cc47c63
Move socket_test_util to //test/util
...
...and rename the library to socket_util.
PiperOrigin-RevId: 386348306
2021-07-22 16:37:15 -07:00
Jamie Liu and gVisor bot
4eb9fe2834
Fix async-signal-unsafety in socket test.
...
PiperOrigin-RevId: 383689096
2021-07-08 12:26:56 -07:00
Dean Deng and gVisor bot
fcdb60c937
Use size_t instead of C integer types.
...
PiperOrigin-RevId: 368919557
2021-04-16 14:33:34 -07:00
Adin Scannell and gVisor bot
ce8ee943e7
Remove _NoRandomSave tests.
...
We do not currently run random save tests.
PiperOrigin-RevId: 368309921
2021-04-13 15:42:41 -07:00
Dean Deng and gVisor bot
6475198c48
Initialize timestamps for gofer synthetic children.
...
Contrary to the comment on the socket test, the failure was due to an issue
with goferfs rather than kernfs.
PiperOrigin-RevId: 353918021
2021-01-26 12:02:05 -08:00
Dean Deng and gVisor bot
e509080034
Do not send SCM Rights more than once when message is truncated.
...
If data is sent over a stream socket that will not fit all at once, it will
be sent over multiple packets. SCM Rights should only be sent with the first
packet (see net/unix/af_unix.c:unix_stream_sendmsg in Linux).
Reported-by: [email protected]
PiperOrigin-RevId: 353886442
2021-01-26 09:49:31 -08:00
Kevin Krakauer
828818ab27
Resolve compiler warnings
...
The buildkite syscall tests start with a lot of C++ warnings. This
cleans that up a little.
2020-12-23 16:49:01 -08:00
Rahat Mahmood and gVisor bot
de7cf46f24
Implement StatFS for various VFS2 filesystems.
...
This mainly involved enabling kernfs' client filesystems to provide a
StatFS implementation.
Fixes #3411 , #3515 .
PiperOrigin-RevId: 329009864
2020-08-28 14:31:11 -07:00
Rahat Mahmood and gVisor bot
015d0a94c7
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 and gVisor bot
03696b177e
Skip socket tests only if running on vfs1.
...
PiperOrigin-RevId: 312763249
2020-05-21 16:32:48 -07:00
Nicolas Lacasse and gVisor bot
745dfda778
Resolve remaining TODOs for tmpfs.
...
Closes #1197
PiperOrigin-RevId: 311438223
2020-05-13 17:36:37 -07:00
Dean Deng and gVisor bot
009ca04841
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 and gVisor bot
6a0c2192f0
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
ad24d8ce37
Internal change.
...
PiperOrigin-RevId: 265535438
2019-08-26 14:07:17 -07:00
Andrei Vagin and Shentubot
4b9cb38157
gvisor: socket() returns EPROTONOSUPPORT if protocol is not supported
...
PiperOrigin-RevId: 250426407
2019-05-30 12:06:15 -07:00