gvisor/test/syscalls/linux
Ian Gudger 962567aafd Add Unix socket tests for the MSG_CTRUNC msghdr flag.
TCP tests and the implementation will come in followup CLs.

Updates google/gvisor#206
Updates google/gvisor#207

PiperOrigin-RevId: 245121470
Change-Id: Ib50b62724d3ba0cbfb1374e1f908798431ee2b21
2019-04-24 14:51:42 -07:00
..
32bit.cc Internal change 2019-04-10 18:00:18 -07:00
BUILD Don't allow sigtimedwait to catch unblockable signals 2019-04-17 13:43:20 -07:00
accept_bind.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
accept_bind_stream.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
access.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
affinity.cc Fix tests which fail in kokoro 2019-03-08 13:33:32 -08:00
aio.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
alarm.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
arch_prctl.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
bad.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
base_poll_test.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
base_poll_test.h Open source system call tests. 2018-12-10 14:42:34 -08:00
bind.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
brk.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
chdir.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
chmod.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
chown.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
chroot.cc Require CAP_SYS_CHROOT in ChrootTest.ProcMountsMountinfoNoEscape. 2019-01-11 14:48:26 -08:00
clock_getres.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
clock_gettime.cc Fix tests which fail in kokoro 2019-03-08 13:33:32 -08:00
clock_nanosleep.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
concurrency.cc Clean up some uses of fork() in tests. 2019-01-11 14:49:39 -08:00
creat.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
dev.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
dup.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
epoll.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
eventfd.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
exceptions.cc Internal change. 2019-02-06 17:00:24 -08:00
exec.cc netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
exec.h Open source system call tests. 2018-12-10 14:42:34 -08:00
exec_assert_closed_workload.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
exec_basic_workload.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
exec_binary.cc Internal change 2019-04-10 18:00:18 -07:00
exec_proc_exe_workload.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
exec_state_workload.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
exit.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
exit_script.sh Open source system call tests. 2018-12-10 14:42:34 -08:00
fadvise64.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
fallocate.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
fault.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
fchdir.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
fcntl.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
file_base.h Open source system call tests. 2018-12-10 14:42:34 -08:00
flock.cc Add NoRandomSave to tests with correctness DisableSave 2019-03-05 13:54:38 -08:00
fork.cc Fix clone(CLONE_NEWUSER). 2019-02-19 14:20:05 -08:00
fpsig_fork.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
fpsig_nested.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
fsync.cc Allow fsync on a directory. 2019-01-17 11:06:59 -08:00
futex.cc Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
getcpu.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
getdents.cc Refactor out NewEventFD to a test utility. 2019-01-29 08:01:48 -08:00
getrandom.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
getrusage.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
inotify.cc Setting timestamps should trigger an inotify event. 2019-03-28 14:15:23 -07:00
ioctl.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
ip_socket_test_util.cc Implement Broadcast support 2019-02-20 12:54:13 -08:00
ip_socket_test_util.h Implement Broadcast support 2019-02-20 12:54:13 -08:00
itimer.cc Remove unused variable. 2018-12-13 16:21:41 -08:00
kill.cc Remove unsafe ScopedSigaction 2019-03-06 12:55:52 -08:00
link.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
lseek.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
madvise.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
memfd.cc Fix MemfdTest_OtherProcessCanOpenFromProcfs. 2019-04-01 10:18:36 -07:00
memory_accounting.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
mempolicy.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
mincore.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
mkdir.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
mknod.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
mlock.cc Fixing select call to not enforce RLIMIT_NOFILE. 2019-01-10 09:44:45 -08:00
mmap.cc Clean up gofer handle caching. 2019-03-28 11:43:51 -07:00
mount.cc gvisor: Add support for the MS_NOEXEC mount option 2019-04-04 17:43:53 -07:00
mremap.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
msync.cc Automated rollback of changelist 226224230 2018-12-21 08:23:34 -08:00
munmap.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
open.cc Add NoRandomSave to tests with correctness DisableSave 2019-03-05 13:54:38 -08:00
open_create.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
partial_bad_buffer.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
pause.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
pipe.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
poll.cc Use FD limit and file size limit from host 2019-04-17 12:57:40 -07:00
ppoll.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
prctl.cc set task's name when fork 2019-03-28 18:05:42 -07:00
prctl_setuid.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
pread64.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
preadv.cc netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
preadv2.cc Implement pwritev2. 2018-12-19 13:16:06 -08:00
priority.cc Fix a few compilation warnings 2019-01-14 16:13:14 -08:00
priority_execve.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
proc.cc Fixed /proc/cpuinfo permissions 2019-04-10 10:49:43 -07:00
proc_net.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
proc_net_unix.cc Implement /proc/net/unix. 2019-02-07 14:44:21 -08:00
proc_pid_smaps.cc Implement /proc/[pid]/smaps. 2019-01-07 15:17:44 -08:00
proc_pid_uid_gid_map.cc Trim trailing newline when reading /proc/[pid]/{uid,gid}_map in test. 2019-04-01 15:31:37 -07:00
pselect.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
ptrace.cc Deflake PtraceTest.SeizeSetOptions. 2019-04-05 17:54:31 -07:00
pty.cc Fix index out of bounds in tty implementation. 2019-04-03 13:00:34 -07:00
pwrite64.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
pwritev2.cc Implement pwritev2. 2018-12-19 13:16:06 -08:00
raw_socket_ipv4.cc Add a raw socket transport endpoint and use it for raw ICMP sockets. 2019-04-02 11:13:49 -07:00
read.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
readv.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
readv_common.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
readv_common.h Open source system call tests. 2018-12-10 14:42:34 -08:00
readv_socket.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
rename.cc Remove references to replaced child in Rename in ramfs/agentfs 2019-03-18 18:40:06 -07:00
rlimits.cc rlimits test: don't exceed nr_open. 2019-04-10 16:34:50 -07:00
rtsignal.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sched.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sched_yield.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
seccomp.cc Set rax to syscall number on SECCOMP_RET_TRAP. 2019-02-19 15:49:37 -08:00
select.cc Fixing select call to not enforce RLIMIT_NOFILE. 2019-01-10 09:44:45 -08:00
semaphore.cc Add semctl(GETPID) syscall 2019-03-01 10:57:02 -08:00
sendfile.cc Handle invalid offset in sendfile(2) 2019-02-25 12:17:46 -08:00
sendfile_socket.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
shm.cc Enable recently-fixed test case for shm_test. 2018-12-17 14:12:24 -08:00
sigaction.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sigaltstack.cc netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
sigaltstack_check.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sigiret.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sigprocmask.cc Remove obsolete gVisor-specific test condition. 2019-01-28 13:03:07 -08:00
sigstop.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sigtimedwait.cc Don't allow sigtimedwait to catch unblockable signals 2019-04-17 13:43:20 -07:00
socket_abstract.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_blocking.cc Add blocking recv tests 2018-12-14 22:11:26 -08:00
socket_blocking.h Add blocking recv tests 2018-12-14 22:11:26 -08:00
socket_filesystem.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_generic.cc Add test for short recvmsg iovec length. 2019-03-21 18:53:17 -07:00
socket_generic.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_inet_loopback.cc Use socket address functions in unbound IPv4 UDP tests. 2019-02-08 18:23:38 -08:00
socket_ip_loopback_blocking.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_tcp_generic.cc tcpip/transport/tcp: read side only shutdown of an endpoint 2019-04-19 19:29:05 -07:00
socket_ip_tcp_generic.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_ip_tcp_generic_loopback.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_tcp_loopback.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_tcp_loopback_blocking.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_tcp_loopback_nonblock.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_tcp_udp_generic.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_ip_udp_generic.cc Make IP_MULTICAST_LOOP and IP_MULTICAST_TTL allow setting int or char. 2019-03-08 20:27:58 -08:00
socket_ip_udp_generic.h Plumb IP_MULTICAST_TTL to netstack. 2018-12-26 23:52:12 -08:00
socket_ip_udp_loopback.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_udp_loopback_blocking.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ip_udp_loopback_nonblock.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_ipv4_tcp_unbound_external_networking.cc Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_ipv4_tcp_unbound_external_networking.h Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_ipv4_tcp_unbound_external_networking_test.cc Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_ipv4_udp_unbound.cc Fix getsockopt(IP_MULTICAST_IF). 2019-03-09 11:40:51 -08:00
socket_ipv4_udp_unbound.h Plumb IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP to netstack. 2019-02-07 23:15:23 -08:00
socket_ipv4_udp_unbound_external_networking.cc Implement IP_MULTICAST_LOOP. 2019-03-08 15:49:17 -08:00
socket_ipv4_udp_unbound_external_networking.h Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_ipv4_udp_unbound_external_networking_test.cc Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_ipv4_udp_unbound_loopback.cc Plumb IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP to netstack. 2019-02-07 23:15:23 -08:00
socket_netdevice.cc gvisor/test: fix a compile time error in socket_netdevice 2019-01-22 11:49:36 -08:00
socket_netlink_route.cc Add support for the MSG_TRUNC msghdr flag. 2019-04-19 16:17:01 -07:00
socket_netlink_util.cc Kokoro: Build all packages as part of presubmit. 2018-12-21 17:13:34 -08:00
socket_netlink_util.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_non_blocking.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_non_blocking.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_non_stream.cc Add support for the MSG_TRUNC msghdr flag. 2019-04-19 16:17:01 -07:00
socket_non_stream.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_non_stream_blocking.cc Implement MSG_WAITALL 2018-12-10 17:56:34 -08:00
socket_non_stream_blocking.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_stream.cc Add support for the MSG_TRUNC msghdr flag. 2019-04-19 16:17:01 -07:00
socket_stream.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_stream_blocking.cc Deflake socket_stream_blocking tests. 2019-01-25 22:38:48 -08:00
socket_stream_blocking.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_stream_nonblock.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_stream_nonblock.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_test_util.cc Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_test_util.h Implement Broadcast support 2019-02-20 12:54:13 -08:00
socket_unix.cc Add Unix socket tests for the MSG_CTRUNC msghdr flag. 2019-04-24 14:51:42 -07:00
socket_unix.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_unix_abstract.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_abstract_nonblock.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_blocking_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_dgram.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_unix_dgram.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_unix_dgram_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_dgram_non_blocking.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_domain.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_filesystem.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_filesystem_nonblock.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_non_stream.cc Explicitly std::move() returned std::vector<Mapping>. 2019-01-24 12:18:10 -08:00
socket_unix_non_stream.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_unix_non_stream_blocking_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_pair.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_pair_nonblock.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_seqpacket.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_unix_seqpacket.h Open source system call tests. 2018-12-10 14:42:34 -08:00
socket_unix_seqpacket_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_stream.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_stream_blocking_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_stream_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_stream_nonblock_local.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_unbound_abstract.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_unbound_dgram.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_unbound_filesystem.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_unbound_seqpacket.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
socket_unix_unbound_stream.cc Remove O_CLOEXEC from socket test configurations where irrelevant. 2019-01-25 13:35:32 -08:00
stat.cc Bugfix: fix fstatat symbol link to dir 2019-04-22 20:07:06 -07:00
stat_times.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
statfs.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sticky.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
symlink.cc Keep symlink target open while in test that compares inode ids. 2019-04-18 12:39:35 -07:00
sync.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sync_file_range.cc Clean up some uses of fork() in tests. 2019-01-11 14:49:39 -08:00
sysinfo.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
syslog.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
sysret.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
tcp_socket.cc Deflake socket tests 2018-12-18 11:27:36 -08:00
temp_umask.h Open source system call tests. 2018-12-10 14:42:34 -08:00
tgkill.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
time.cc netstack: reduce MSS from SYN to account tcp options 2019-03-19 17:33:20 -07:00
timerfd.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
timers.cc Clean up some uses of fork() in tests. 2019-01-11 14:49:39 -08:00
tkill.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
truncate.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
udp_bind.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
udp_socket.cc netstack: Add SIOCGSTAMP support. 2019-02-19 16:41:32 -08:00
uidgid.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
uname.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
unix_domain_socket_test_util.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
unix_domain_socket_test_util.h Open source system call tests. 2018-12-10 14:42:34 -08:00
unlink.cc Add NoRandomSave to tests with correctness DisableSave 2019-03-05 13:54:38 -08:00
unshare.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
utimes.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
vdso.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
vdso_clock_gettime.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
vfork.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
vsyscall.cc Open source system call tests. 2018-12-10 14:42:34 -08:00
wait.cc Fix a few compilation warnings 2019-01-14 16:13:14 -08:00
write.cc Export kernel.SignalInfoPriv. 2019-04-08 16:32:11 -07:00