gvisor/test/syscalls/linux
Andrei Vagin a10389e783 splice: cap splice calls to MAX_RW_COUNT
The Linux does the same.

Reported-by: syzbot+e81716e8956e92e9d56b@syzkaller.appspotmail.com
PiperOrigin-RevId: 305625439
2020-04-08 23:03:12 -07:00
..
rseq arm64: add a travis build ci 2020-02-21 22:44:19 -08:00
32bit.cc
BUILD
accept_bind.cc
accept_bind_stream.cc
access.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
affinity.cc
aio.cc
alarm.cc
arch_prctl.cc
bad.cc
base_poll_test.cc
base_poll_test.h
bind.cc
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
clock_getres.cc
clock_gettime.cc
clock_nanosleep.cc
concurrency.cc
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 Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
exec_binary.cc
exec_proc_exe_workload.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
exec_state_workload.cc
exit.cc
exit_script.sh
fadvise64.cc
fallocate.cc Deflake fallocate syscall test. 2020-02-18 12:02:05 -08:00
fault.cc
fchdir.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
fcntl.cc
file_base.h
flock.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
fork.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
fpsig_fork.cc Fix header ordering and format all C++ code. 2020-01-27 18:27:20 -08:00
fpsig_nested.cc
fsync.cc
futex.cc
getcpu.cc
getdents.cc
getrandom.cc
getrusage.cc Prefer Type& over Type & 2020-01-28 11:18:17 -08:00
inotify.cc Internal change. 2020-02-10 10:29:57 -08:00
ioctl.cc
ip_socket_test_util.cc Add socket connection stress test. 2020-02-04 15:54:49 -08:00
ip_socket_test_util.h
iptables.cc Read iptables via sockopts. 2019-08-19 10:05:59 -07:00
iptables.h Prefer Type& over Type & 2020-01-28 11:18:17 -08:00
itimer.cc
kill.cc
link.cc
lseek.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
madvise.cc Prefer Type& over Type & 2020-01-28 11:18:17 -08:00
memfd.cc Change to standard types. 2020-01-21 17:28:57 -08:00
memory_accounting.cc
mempolicy.cc Prefer Type& over Type & 2020-01-28 11:18:17 -08:00
mincore.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
mkdir.cc
mknod.cc
mlock.cc Fix header ordering and format all C++ code. 2020-01-27 18:27:20 -08:00
mmap.cc
mount.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
mremap.cc
msync.cc
munmap.cc Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
network_namespace.cc
open.cc
open_create.cc
packet_socket.cc Merge pull request #1975 from nybidari:iptables 2020-03-11 11:02:04 -07:00
packet_socket_raw.cc
partial_bad_buffer.cc
pause.cc
pipe.cc Unify the kOLargeFile definition in syscall tests. 2020-01-23 01:04:02 +00:00
poll.cc Add missing newline 2020-04-03 11:38:37 -07:00
ppoll.cc
prctl.cc
prctl_setuid.cc
pread64.cc test/syscall: Remove duplicated gtest/gtest.h. 2019-10-25 12:40:36 -07:00
preadv.cc
preadv2.cc
priority.cc
priority_execve.cc
proc.cc
proc_net.cc
proc_net_tcp.cc
proc_net_udp.cc
proc_net_unix.cc
proc_pid_oomscore.cc Stub oom_score_adj and oom_score. 2020-03-05 18:23:01 -08:00
proc_pid_smaps.cc
proc_pid_uid_gid_map.cc
pselect.cc
ptrace.cc Add missing newline 2020-04-03 11:38:37 -07:00
pty.cc
pty_root.cc Job control: controlling TTYs and foreground process groups. 2019-09-19 11:36:47 -07:00
pwrite64.cc
pwritev2.cc
raw_socket_hdrincl.cc
raw_socket_icmp.cc
raw_socket_ipv4.cc
read.cc
readahead.cc
readv.cc
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 Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
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 Change to standard types. 2020-01-21 17:28:57 -08:00
sendfile.cc
sendfile_socket.cc splice: cap splice calls to MAX_RW_COUNT 2020-04-08 23:03:12 -07:00
shm.cc
sigaction.cc
sigaltstack.cc
sigaltstack_check.cc
sigiret.cc
signalfd.cc Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
sigprocmask.cc Add notes to relevant tests. 2020-02-05 22:46:35 -08:00
sigstop.cc Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
sigtimedwait.cc
socket.cc
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
socket_blocking.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_filesystem.cc
socket_generic.cc
socket_generic.h
socket_generic_stress.cc
socket_inet_loopback.cc
socket_ip_loopback_blocking.cc
socket_ip_tcp_generic.cc Fix for panic in endpoint.Close(). 2020-01-30 12:00:35 -08:00
socket_ip_tcp_generic.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_ip_tcp_generic_loopback.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_ip_tcp_loopback.cc
socket_ip_tcp_loopback_blocking.cc
socket_ip_tcp_loopback_nonblock.cc
socket_ip_tcp_udp_generic.cc
socket_ip_udp_generic.cc
socket_ip_udp_generic.h
socket_ip_udp_loopback.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_ip_udp_loopback_blocking.cc
socket_ip_udp_loopback_nonblock.cc
socket_ip_unbound.cc
socket_ipv4_tcp_unbound_external_networking.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
socket_ipv4_tcp_unbound_external_networking.h
socket_ipv4_tcp_unbound_external_networking_test.cc Refactor syscall tests 2020-02-07 13:19:18 -08:00
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 Refactor syscall tests 2020-02-07 13:19:18 -08:00
socket_ipv4_udp_unbound_loopback.cc
socket_netdevice.cc
socket_netlink.cc
socket_netlink_route.cc Add missing newline 2020-04-03 11:38:37 -07:00
socket_netlink_route_util.cc Implement tap/tun device in vfs. 2020-02-21 15:42:56 -08:00
socket_netlink_route_util.h
socket_netlink_uevent.cc
socket_netlink_util.cc Support RTM_NEWADDR and RTM_GETLINK in (rt)netlink. 2020-02-04 18:05:03 -08:00
socket_netlink_util.h
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 Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_stream.cc
socket_stream.h
socket_stream_blocking.cc Fix header ordering and format all C++ code. 2020-01-27 18:27:20 -08:00
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 Add socket filesystem and global disconnected socket mount for VFS2. 2020-03-31 19:17:12 -07:00
socket_unix.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_unix_abstract_nonblock.cc
socket_unix_blocking_local.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
socket_unix_cmsg.cc
socket_unix_cmsg.h
socket_unix_dgram.cc
socket_unix_dgram.h
socket_unix_dgram_local.cc
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
socket_unix_pair_nonblock.cc
socket_unix_seqpacket.cc
socket_unix_seqpacket.h Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
socket_unix_seqpacket_local.cc
socket_unix_stream.cc test/syscall: Remove duplicated gtest/gtest.h. 2019-10-25 12:40:36 -07:00
socket_unix_stream_blocking_local.cc
socket_unix_stream_local.cc
socket_unix_stream_nonblock_local.cc Wrap all GetSocketPairs() in unnamed namespaces 2020-01-30 14:17:58 -08:00
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 Import and structure cleanup. 2019-11-21 11:41:30 -08:00
splice.cc
stat.cc
stat_times.cc
statfs.cc
sticky.cc
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 shutdown(s, SHUT_WR) in TIME-WAIT returns ENOTCONN 2020-03-06 11:42:34 -08:00
tgkill.cc
time.cc skip vsyscall test cases on Arm64 2020-02-28 14:47:50 +08:00
timerfd.cc
timers.cc Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
tkill.cc
truncate.cc Import and structure cleanup. 2019-11-21 11:41:30 -08:00
tuntap.cc
tuntap_hostinet.cc test/runner: use proper filters for test cases 2020-03-04 12:52:13 -08:00
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 Port tests in udp_socket.cc to Fuchsia 2019-12-02 05:38:30 -08:00
uidgid.cc Change to standard types. 2020-01-21 17:28:57 -08:00
uname.cc
unix_domain_socket_test_util.cc
unix_domain_socket_test_util.h Import and structure cleanup. 2019-11-21 11:41:30 -08:00
unlink.cc gvisor: return ENOTDIR from the unlink syscall 2019-09-13 21:44:57 -07:00
unshare.cc
utimes.cc
vdso.cc
vdso_clock_gettime.cc
vfork.cc Add basic microbenchmarks. 2020-02-19 18:21:54 -08:00
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 Clean up TODOs 2020-04-08 17:58:13 -07:00
xattr.cc