gvisor/test/syscalls/linux
Bhasker Hariharan ae332d96e4 Fix TCP_LINGER2 behavior to match linux.
We still deviate a bit from linux in how long we will actually wait in
FIN-WAIT-2. Linux seems to cap it with TIME_WAIT_LEN and it's not completely
obvious as to why it's done that way. For now I think we can ignore that and
fix it if it really is an issue.

PiperOrigin-RevId: 328324922
2020-08-25 07:17:32 -07:00
..
rseq Fix return for rseq_test. 2020-08-19 14:46:55 -07:00
32bit.cc
BUILD
accept_bind.cc
accept_bind_stream.cc
access.cc
affinity.cc
aio.cc
alarm.cc
arch_prctl.cc
bad.cc
base_poll_test.cc
base_poll_test.h
bind.cc test/syscall: Remove duplicated gtest/gtest.h. 2019-10-25 12:40:36 -07:00
brk.cc
chdir.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
chmod.cc
chown.cc
chroot.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
clock_getres.cc
clock_gettime.cc
clock_nanosleep.cc
concurrency.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
connect_external.cc
creat.cc
dev.cc
dup.cc
epoll.cc
eventfd.cc
exceptions.cc
exec.cc
exec.h
exec_assert_closed_workload.cc
exec_basic_workload.cc
exec_binary.cc Skip ElfInterpreterStaticTest for 5.X kernels. 2020-08-21 11:39:04 -07:00
exec_proc_exe_workload.cc
exec_state_workload.cc
exit.cc
exit_script.sh
fadvise64.cc
fallocate.cc
fault.cc
fchdir.cc
fcntl.cc
file_base.h
flock.cc Return appropriate errors when file locking is unsuccessful. 2020-08-19 08:53:12 -07:00
fork.cc
fpsig_fork.cc
fpsig_nested.cc
fsync.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
futex.cc
getcpu.cc
getdents.cc Internal change. 2020-07-23 13:58:42 -07:00
getrandom.cc
getrusage.cc Prefer Type& over Type & 2020-01-28 11:18:17 -08:00
inotify.cc
ioctl.cc
ip6tables.cc
ip_socket_test_util.cc
ip_socket_test_util.h
iptables.cc
iptables.h
itimer.cc
kill.cc
link.cc
lseek.cc
madvise.cc
memfd.cc
memory_accounting.cc
mempolicy.cc
mincore.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
mkdir.cc
mknod.cc Fix mknod and inotify syscall test 2020-07-07 15:35:01 -07:00
mlock.cc
mmap.cc
mount.cc
mremap.cc Deflake aio_test. 2019-09-05 16:36:44 -07:00
msync.cc Fix header ordering and format all C++ code. 2020-01-27 18:27:20 -08:00
munmap.cc
network_namespace.cc Remove flaky network namespace test that uses clone(). 2020-03-12 14:35:25 -07:00
open.cc [vfs] Do O_DIRECTORY check after resolving symlinks. 2020-08-17 13:26:31 -07:00
open_create.cc
packet_socket.cc
packet_socket_raw.cc Redirect TODO to GitHub issues 2020-07-28 21:24:26 -07:00
partial_bad_buffer.cc
pause.cc
ping_socket.cc
pipe.cc
poll.cc Fix error code returned due to Port exhaustion. 2020-06-05 13:43:01 -07:00
ppoll.cc
prctl.cc
prctl_setuid.cc
pread64.cc
preadv.cc
preadv2.cc Merge pull request #1471 from xiaobo55x:syscall_test 2020-01-30 16:12:25 -08:00
priority.cc
priority_execve.cc
proc.cc
proc_net.cc
proc_net_tcp.cc Change to standard types. 2020-01-21 17:28:57 -08:00
proc_net_udp.cc
proc_net_unix.cc Internal change. 2020-04-03 10:20:55 -07:00
proc_pid_oomscore.cc
proc_pid_smaps.cc
proc_pid_uid_gid_map.cc
pselect.cc
ptrace.cc
pty.cc
pty_root.cc
pwrite64.cc
pwritev2.cc
raw_socket.cc
raw_socket_hdrincl.cc s/github.dev/gvisor.dev 2020-07-31 11:40:12 -07:00
raw_socket_icmp.cc Use PacketBuffers, rather than VectorisedViews, in netstack. 2019-11-06 14:25:59 -08:00
read.cc
readahead.cc
readv.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
readv_common.cc tests: fix errors detected by asan. 2020-01-13 10:16:07 -08:00
readv_common.h
readv_socket.cc
rename.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
rlimits.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
rseq.cc
rtsignal.cc
sched.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sched_yield.cc
seccomp.cc
select.cc
semaphore.cc
sendfile.cc Don't allow read/write when offset+size overflows. 2020-04-13 18:00:17 -07:00
sendfile_socket.cc
shm.cc
sigaction.cc
sigaltstack.cc
sigaltstack_check.cc
sigiret.cc
signalfd.cc
sigprocmask.cc
sigstop.cc
sigtimedwait.cc
socket.cc Correctly set the test VFS environment variable. 2020-06-15 01:09:38 -07:00
socket_abstract.cc
socket_bind_to_device.cc
socket_bind_to_device_distribution.cc
socket_bind_to_device_sequence.cc
socket_bind_to_device_util.cc
socket_bind_to_device_util.h
socket_blocking.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
socket_blocking.h
socket_capability.cc
socket_filesystem.cc
socket_generic.cc
socket_generic.h
socket_generic_stress.cc
socket_inet_loopback.cc
socket_inet_loopback_nogotsan.cc
socket_ip_loopback_blocking.cc
socket_ip_tcp_generic.cc Fix TCP_LINGER2 behavior to match linux. 2020-08-25 07:17:32 -07:00
socket_ip_tcp_generic.h
socket_ip_tcp_generic_loopback.cc
socket_ip_tcp_loopback.cc Put GetSocketPairs() in unnamed namespace 2019-12-18 12:50:04 -08:00
socket_ip_tcp_loopback_blocking.cc
socket_ip_tcp_loopback_nonblock.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_ip_tcp_udp_generic.cc
socket_ip_udp_generic.cc Add support for SO_REUSEADDR to UDP sockets/endpoints. 2020-06-10 23:49:26 -07:00
socket_ip_udp_generic.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_ip_udp_loopback.cc
socket_ip_udp_loopback_blocking.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_ip_udp_loopback_nonblock.cc
socket_ip_udp_unbound_netlink_util.cc
socket_ip_udp_unbound_netlink_util.h
socket_ip_unbound.cc
socket_ipv4_tcp_unbound_external_networking.cc
socket_ipv4_tcp_unbound_external_networking.h
socket_ipv4_tcp_unbound_external_networking_test.cc
socket_ipv4_udp_unbound.cc
socket_ipv4_udp_unbound.h
socket_ipv4_udp_unbound_external_networking.cc
socket_ipv4_udp_unbound_external_networking.h
socket_ipv4_udp_unbound_external_networking_test.cc
socket_ipv4_udp_unbound_loopback.cc
socket_ipv4_udp_unbound_loopback_netlink.cc
socket_ipv4_udp_unbound_loopback_nogotsan.cc
socket_ipv4_udp_unbound_netlink.cc
socket_ipv4_udp_unbound_netlink.h
socket_ipv6_udp_unbound_loopback_netlink.cc
socket_ipv6_udp_unbound_netlink.cc Consider loopback bound to all addresses in subnet 2020-08-24 12:28:35 -07:00
socket_ipv6_udp_unbound_netlink.h
socket_netdevice.cc
socket_netlink.cc
socket_netlink_route.cc
socket_netlink_route_util.cc Dedup netlink utility functions in tests. 2020-04-09 13:34:31 -07:00
socket_netlink_route_util.h Dedup netlink utility functions in tests. 2020-04-09 13:34:31 -07:00
socket_netlink_uevent.cc
socket_netlink_util.cc
socket_netlink_util.h Support RTM_NEWADDR and RTM_GETLINK in (rt)netlink. 2020-02-04 18:05:03 -08:00
socket_non_blocking.cc
socket_non_blocking.h
socket_non_stream.cc
socket_non_stream.h
socket_non_stream_blocking.cc Return correct length with MSG_TRUNC for unix sockets. 2020-01-08 17:24:05 -08:00
socket_non_stream_blocking.h
socket_stream.cc Return correct length with MSG_TRUNC for unix sockets. 2020-01-08 17:24:05 -08:00
socket_stream.h
socket_stream_blocking.cc
socket_stream_blocking.h
socket_stream_nonblock.cc
socket_stream_nonblock.h
socket_test_util.cc
socket_test_util.h
socket_test_util_impl.cc
socket_unix.cc
socket_unix.h
socket_unix_abstract_nonblock.cc
socket_unix_blocking_local.cc
socket_unix_cmsg.cc
socket_unix_cmsg.h
socket_unix_dgram.cc
socket_unix_dgram.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_unix_dgram_local.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_unix_dgram_non_blocking.cc
socket_unix_domain.cc
socket_unix_filesystem_nonblock.cc
socket_unix_non_stream.cc
socket_unix_non_stream.h
socket_unix_non_stream_blocking_local.cc
socket_unix_pair.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_unix_pair_nonblock.cc
socket_unix_seqpacket.cc socket/unix: handle sendto address argument for connected sockets 2020-06-10 13:26:54 -07:00
socket_unix_seqpacket.h
socket_unix_seqpacket_local.cc
socket_unix_stream.cc socket/unix: handle sendto address argument for connected sockets 2020-06-10 13:26:54 -07:00
socket_unix_stream_blocking_local.cc
socket_unix_stream_local.cc
socket_unix_stream_nonblock_local.cc
socket_unix_unbound_abstract.cc
socket_unix_unbound_dgram.cc
socket_unix_unbound_filesystem.cc
socket_unix_unbound_seqpacket.cc
socket_unix_unbound_stream.cc
splice.cc
stat.cc
stat_times.cc
statfs.cc
sticky.cc Use directory fds in sticky test to avoid permission issues. 2020-07-01 15:19:16 -07:00
symlink.cc
sync.cc
sync_file_range.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
sysinfo.cc
syslog.cc
sysret.cc
tcp_socket.cc
tgkill.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time.cc
timerfd.cc Add tests for eventfd/timerfd/inotify operations that should return ESPIPE. 2020-06-26 19:42:27 -07:00
timers.cc
tkill.cc
truncate.cc
tuntap.cc
tuntap_hostinet.cc
udp_bind.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
udp_socket.cc
udp_socket_errqueue_test_case.cc
udp_socket_test_cases.cc
udp_socket_test_cases.h
uidgid.cc
uname.cc
unix_domain_socket_test_util.cc
unix_domain_socket_test_util.h
unlink.cc
unshare.cc
utimes.cc
vdso.cc
vdso_clock_gettime.cc
vfork.cc
vsyscall.cc skip vsyscall test cases on Arm64 2020-02-28 14:47:50 +08:00
wait.cc Change to standard types. 2020-01-21 17:28:57 -08:00
write.cc
xattr.cc