]> granicus.if.org Git - strace/tree - tests/
tests: add prctl-seccomp-strict.test
[strace] / tests /
drwxr-xr-x   ..
-rw-r--r-- 1759 .gitignore
-rw-r--r-- 10395 Makefile.am
-rw-r--r-- 1722 _newselect.c
-rwxr-xr-x 77 _newselect.test
-rw-r--r-- 590 acct.c
-rwxr-xr-x 94 acct.test
-rw-r--r-- 3004 adjtimex.c
-rwxr-xr-x 183 adjtimex.test
-rw-r--r-- 6744 aio.c
-rwxr-xr-x 177 aio.test
-rw-r--r-- 1860 alarm.c
-rwxr-xr-x 95 alarm.test
-rw-r--r-- 3860 attach-f-p.c
-rwxr-xr-x 2056 attach-f-p.test
-rw-r--r-- 1862 attach-p-cmd-cmd.c
-rw-r--r-- 2249 attach-p-cmd-p.c
-rwxr-xr-x 2214 attach-p-cmd.test
-rwxr-xr-x 2379 bexecve.test
-rw-r--r-- 4062 bpf.c
-rwxr-xr-x 166 bpf.test
-rw-r--r-- 2282 caps.awk
-rw-r--r-- 2253 caps.c
-rwxr-xr-x 151 caps.test
-rw-r--r-- 2377 chmod.c
-rwxr-xr-x 95 chmod.test
-rw-r--r-- 585 chroot.c
-rwxr-xr-x 96 chroot.test
-rw-r--r-- 4682 clock_nanosleep.c
-rwxr-xr-x 180 clock_nanosleep.test
-rw-r--r-- 2851 clock_xettime.c
-rwxr-xr-x 187 clock_xettime.test
-rw-r--r-- 2498 copy_file_range.c
-rwxr-xr-x 100 copy_file_range.test
-rw-r--r-- 2615 count-f.c
-rw-r--r-- 43 count-f.expected
-rwxr-xr-x 151 count-f.test
-rwxr-xr-x 2149 count.test
-rw-r--r-- 464 creat.c
-rwxr-xr-x 95 creat.test
-rwxr-xr-x 2653 detach-running.test
-rwxr-xr-x 2656 detach-sleeping.test
-rwxr-xr-x 3051 detach-stopped.test
-rw-r--r-- 487 dumpio.expected
-rwxr-xr-x 208 dumpio.test
-rw-r--r-- 258 dup.c
-rwxr-xr-x 92 dup.test
-rw-r--r-- 521 dup2.c
-rwxr-xr-x 94 dup2.test
-rw-r--r-- 604 dup3.c
-rwxr-xr-x 94 dup3.test
-rw-r--r-- 389 epoll_create.c
-rwxr-xr-x 102 epoll_create.test
-rw-r--r-- 2286 epoll_create1.c
-rwxr-xr-x 103 epoll_create1.test
-rw-r--r-- 1041 epoll_ctl.c
-rwxr-xr-x 94 epoll_ctl.test
-rw-r--r-- 542 epoll_wait.c
-rwxr-xr-x 100 epoll_wait.test
-rw-r--r-- 2352 error_msg.c
-rw-r--r-- 1839 eventfd.c
-rw-r--r-- 87 eventfd.expected
-rwxr-xr-x 129 eventfd.test
-rw-r--r-- 92 execve-v.c
-rwxr-xr-x 282 execve-v.test
-rw-r--r-- 5243 execve.c
-rwxr-xr-x 270 execve.test
-rw-r--r-- 98 execveat-v.c
-rwxr-xr-x 125 execveat-v.test
-rw-r--r-- 6316 execveat.c
-rwxr-xr-x 93 execveat.test
-rw-r--r-- 534 faccessat.c
-rwxr-xr-x 76 faccessat.test
-rw-r--r-- 291 fanotify_mark.c
-rw-r--r-- 81 fanotify_mark.expected
-rwxr-xr-x 138 fanotify_mark.test
-rw-r--r-- 2353 fchmod.c
-rwxr-xr-x 96 fchmod.test
-rw-r--r-- 2406 fchmodat.c
-rwxr-xr-x 96 fchmodat.test
-rw-r--r-- 2686 fchownat.c
-rwxr-xr-x 96 fchownat.test
-rw-r--r-- 2576 fcntl.c
-rwxr-xr-x 86 fcntl.test
-rw-r--r-- 3212 fcntl64.c
-rwxr-xr-x 73 fcntl64.test
-rw-r--r-- 447 fdatasync.c
-rwxr-xr-x 99 fdatasync.test
-rw-r--r-- 3466 file_handle.c
-rwxr-xr-x 170 file_handle.test
-rw-r--r-- 2391 filter-unavailable.c
-rw-r--r-- 0 filter-unavailable.expected
-rwxr-xr-x 169 filter-unavailable.test
-rw-r--r-- 477 flock.c
-rwxr-xr-x 95 flock.test
-rw-r--r-- 2819 fork-f.c
-rwxr-xr-x 144 fork-f.test
-rw-r--r-- 1753 fstat.c
-rwxr-xr-x 357 fstat.test
-rw-r--r-- 1833 fstat64.c
-rwxr-xr-x 73 fstat64.test
-rw-r--r-- 1855 fstatat.c
-rw-r--r-- 1718 fstatat64.c
-rwxr-xr-x 73 fstatat64.test
-rw-r--r-- 1732 fstatx.c
-rw-r--r-- 431 fsync.c
-rwxr-xr-x 95 fsync.test
-rw-r--r-- 2129 ftruncate.c
-rwxr-xr-x 99 ftruncate.test
-rw-r--r-- 1986 ftruncate64.c
-rwxr-xr-x 101 ftruncate64.test
-rw-r--r-- 172 get_page_size.c
-rw-r--r-- 589 getcwd.c
-rwxr-xr-x 96 getcwd.test
-rw-r--r-- 4375 getdents.c
-rwxr-xr-x 123 getdents.test
-rw-r--r-- 4454 getdents64.c
-rwxr-xr-x 125 getdents64.test
-rw-r--r-- 2394 getrandom.c
-rwxr-xr-x 107 getrandom.test
-rw-r--r-- 2766 getrusage.c
-rwxr-xr-x 97 getrusage.test
-rw-r--r-- 2145 getxxid.c
-rwxr-xr-x 153 getxxid.test
-rw-r--r-- 2209 hexdump_strdup.c
-rw-r--r-- 2102 hexquote_strndup.c
-rw-r--r-- 5379 inet-cmsg.c
-rwxr-xr-x 121 inet-cmsg.test
-rw-r--r-- 5371 init.sh
-rw-r--r-- 2324 inode_of_sockfd.c
-rw-r--r-- 3309 ioctl.c
-rwxr-xr-x 241 ioctl.test
-rw-r--r-- 3116 ip_mreq.c
-rw-r--r-- 1362 ip_mreq.expected
-rwxr-xr-x 157 ip_mreq.test
-rw-r--r-- 170 ipc.sh
-rw-r--r-- 3292 ipc_msg.c
-rwxr-xr-x 82 ipc_msg.test
-rw-r--r-- 2310 ipc_msgbuf.c
-rw-r--r-- 238 ipc_msgbuf.expected
-rwxr-xr-x 174 ipc_msgbuf.test
-rw-r--r-- 3199 ipc_sem.c
-rwxr-xr-x 82 ipc_sem.test
-rw-r--r-- 3297 ipc_shm.c
-rwxr-xr-x 82 ipc_shm.test
-rw-r--r-- 3578 ksysent.c
-rw-r--r-- 516 ksysent.sed
-rwxr-xr-x 46 ksysent.test
-rw-r--r-- 1027 linkat.c
-rwxr-xr-x 91 linkat.test
-rw-r--r-- 2131 llseek.c
-rwxr-xr-x 239 llseek.test
-rw-r--r-- 2265 lseek.c
-rwxr-xr-x 240 lseek.test
-rw-r--r-- 1753 lstat.c
-rwxr-xr-x 69 lstat.test
-rw-r--r-- 1833 lstat64.c
-rwxr-xr-x 71 lstat64.test
-rw-r--r-- 1750 lstatx.c
-rw-r--r-- 1915 match.awk
-rw-r--r-- 2133 membarrier.c
-rwxr-xr-x 100 membarrier.test
-rw-r--r-- 220 memfd_create.c
-rw-r--r-- 71 memfd_create.expected
-rwxr-xr-x 137 memfd_create.test
-rw-r--r-- 2154 mincore.c
-rwxr-xr-x 97 mincore.test
-rw-r--r-- 538 mkdirat.c
-rwxr-xr-x 97 mkdirat.test
-rw-r--r-- 871 mknod.c
-rwxr-xr-x 95 mknod.test
-rw-r--r-- 1954 mlock2.c
-rwxr-xr-x 91 mlock2.test
-rw-r--r-- 1916 mlockall.c
-rwxr-xr-x 101 mlockall.test
-rw-r--r-- 3835 mmap.c
-rwxr-xr-x 2262 mmap.test
-rw-r--r-- 18 mmap64.c
-rwxr-xr-x 148 mmap64.test
-rw-r--r-- 7147 mmsg.c
-rwxr-xr-x 156 mmsg.test
-rw-r--r-- 2118 mq.c
-rw-r--r-- 325 mq.expected
-rwxr-xr-x 181 mq.test
-rw-r--r-- 3595 nanosleep.c
-rwxr-xr-x 143 nanosleep.test
-rw-r--r-- 3196 net-accept-connect.c
-rw-r--r-- 8882 net-y-unix.c
-rwxr-xr-x 1938 net-y-unix.test
-rw-r--r-- 6979 net-yy-inet.c
-rwxr-xr-x 1994 net-yy-inet.test
-rw-r--r-- 9032 net-yy-unix.c
-rwxr-xr-x 2095 net-yy-unix.test
-rw-r--r-- 757 net.expected
-rwxr-xr-x 177 net.test
-rw-r--r-- 4089 netlink_inet_diag.c
-rw-r--r-- 4327 netlink_unix_diag.c
-rw-r--r-- 1722 newfstatat.c
-rwxr-xr-x 74 newfstatat.test
-rw-r--r-- 2206 oldselect.c
-rw-r--r-- 71 oldselect.expected
-rwxr-xr-x 133 oldselect.test
-rw-r--r-- 2602 open.c
-rwxr-xr-x 110 open.test
-rw-r--r-- 2498 openat.c
-rwxr-xr-x 107 openat.test
-rwxr-xr-x 380 opipe.test
-rw-r--r-- 2985 pc.c
-rwxr-xr-x 2589 pc.test
-rw-r--r-- 4570 personality.c
-rwxr-xr-x 187 personality.test
-rw-r--r-- 1872 pipe.c
-rw-r--r-- 74 pipe.expected
-rwxr-xr-x 221 pipe.test
-rw-r--r-- 7192 poll.c
-rwxr-xr-x 318 poll.test
-rw-r--r-- 590 ppoll-v.expected
-rw-r--r-- 2898 ppoll.c
-rw-r--r-- 538 ppoll.expected
-rwxr-xr-x 215 ppoll.test
-rw-r--r-- 2551 prctl-seccomp-strict.c
-rwxr-xr-x 138 prctl-seccomp-strict.test
-rw-r--r-- 6233 pread64-pwrite64.c
-rwxr-xr-x 401 pread64-pwrite64.test
-rw-r--r-- 5688 preadv-pwritev.c
-rwxr-xr-x 167 preadv-pwritev.test
-rw-r--r-- 4505 preadv.c
-rwxr-xr-x 96 preadv.test
-rw-r--r-- 1093 print_quoted_string.c
-rw-r--r-- 4656 pselect6.c
-rwxr-xr-x 93 pselect6.test
-rw-r--r-- 4050 pwritev.c
-rwxr-xr-x 101 pwritev.test
-rwxr-xr-x 574 qual_syscall.test
-rw-r--r-- 5609 read-write.c
-rwxr-xr-x 383 read-write.test
-rw-r--r-- 3667 readdir.c
-rwxr-xr-x 119 readdir.test
-rw-r--r-- 2687 readlink.c
-rwxr-xr-x 97 readlink.test
-rw-r--r-- 2733 readlinkat.c
-rwxr-xr-x 79 readlinkat.test
-rw-r--r-- 4756 readv.c
-rwxr-xr-x 151 readv.test
-rw-r--r-- 4850 recvmsg.c
-rwxr-xr-x 152 recvmsg.test
-rwxr-xr-x 2190 redirect.test
-rw-r--r-- 484 rename.c
-rwxr-xr-x 96 rename.test
-rw-r--r-- 659 renameat.c
-rwxr-xr-x 93 renameat.test
-rw-r--r-- 3044 restart_syscall.c
-rwxr-xr-x 241 restart_syscall.test
-rw-r--r-- 3636 rt_sigpending.c
-rwxr-xr-x 103 rt_sigpending.test
-rw-r--r-- 5701 rt_sigprocmask.c
-rwxr-xr-x 99 rt_sigprocmask.test
-rw-r--r-- 2145 rt_sigqueueinfo.c
-rwxr-xr-x 116 rt_sigqueueinfo.test
-rw-r--r-- 4847 rt_sigsuspend.c
-rwxr-xr-x 117 rt_sigsuspend.test
-rw-r--r-- 6090 rt_sigtimedwait.c
-rwxr-xr-x 105 rt_sigtimedwait.test
-rw-r--r-- 2988 rt_tgsigqueueinfo.c
-rwxr-xr-x 118 rt_tgsigqueueinfo.test
-rwxr-xr-x 215 run.sh
-rw-r--r-- 614 sched_get_priority_mxx.c
-rwxr-xr-x 195 sched_get_priority_mxx.test
-rw-r--r-- 4061 sched_xetaffinity.c
-rwxr-xr-x 175 sched_xetaffinity.test
-rw-r--r-- 3112 sched_xetattr.c
-rwxr-xr-x 220 sched_xetattr.test
-rw-r--r-- 746 sched_xetparam.c
-rwxr-xr-x 163 sched_xetparam.test
-rw-r--r-- 1329 sched_xetscheduler.c
-rwxr-xr-x 179 sched_xetscheduler.test
-rwxr-xr-x 2953 scm_rights-fd.test
-rw-r--r-- 3459 scm_rights.c
-rw-r--r-- 4366 seccomp.c
-rwxr-xr-x 120 seccomp.test
-rw-r--r-- 1759 select.c
-rwxr-xr-x 96 select.test
-rw-r--r-- 4334 sendfile.c
-rwxr-xr-x 98 sendfile.test
-rw-r--r-- 3996 sendfile64.c
-rwxr-xr-x 100 sendfile64.test
-rw-r--r-- 2060 set_ptracer_any.c
-rw-r--r-- 592 sethostname.c
-rwxr-xr-x 101 sethostname.test
-rw-r--r-- 2513 sigaction.awk
-rw-r--r-- 2290 sigaction.c
-rwxr-xr-x 127 sigaction.test
-rw-r--r-- 248 sigaltstack.c
-rw-r--r-- 105 sigaltstack.expected
-rwxr-xr-x 135 sigaltstack.test
-rw-r--r-- 1999 signalfd.c
-rw-r--r-- 85 signalfd.expected
-rwxr-xr-x 131 signalfd.test
-rw-r--r-- 2087 sigreturn.c
-rwxr-xr-x 2031 sigreturn.test
-rw-r--r-- 1879 sleep.c
-rw-r--r-- 2518 splice.c
-rwxr-xr-x 91 splice.test
-rw-r--r-- 53 stack-fcall-0.c
-rw-r--r-- 53 stack-fcall-1.c
-rw-r--r-- 53 stack-fcall-2.c
-rw-r--r-- 61 stack-fcall-3.c
-rw-r--r-- 74 stack-fcall.c
-rw-r--r-- 1749 stat.c
-rwxr-xr-x 68 stat.test
-rw-r--r-- 1829 stat64.c
-rwxr-xr-x 70 stat64.test
-rw-r--r-- 1663 statfs.c
-rw-r--r-- 279 statfs.expected
-rwxr-xr-x 265 statfs.test
-rwxr-xr-x 119 statx.sh
-rw-r--r-- 60 strace-T.expected
-rwxr-xr-x 127 strace-T.test
-rwxr-xr-x 153 strace-f.test
-rwxr-xr-x 2108 strace-k.test
-rw-r--r-- 151 strace-r.expected
-rwxr-xr-x 119 strace-r.test
-rwxr-xr-x 393 strace-t.test
-rwxr-xr-x 412 strace-tt.test
-rwxr-xr-x 414 strace-ttt.test
-rw-r--r-- 3414 struct_flock.c
-rw-r--r-- 674 sun_path.expected
-rwxr-xr-x 293 sun_path.test
-rw-r--r-- 1509 swap.c
-rwxr-xr-x 133 swap.test
-rw-r--r-- 2370 sync_file_range.c
-rwxr-xr-x 100 sync_file_range.test
-rw-r--r-- 2375 sync_file_range2.c
-rwxr-xr-x 101 sync_file_range2.test
-rw-r--r-- 2674 sysinfo.c
-rwxr-xr-x 99 sysinfo.test
-rw-r--r-- 642 syslog.c
-rwxr-xr-x 96 syslog.test
-rw-r--r-- 2278 tail_alloc.c
-rw-r--r-- 2266 tee.c
-rwxr-xr-x 88 tee.test
-rw-r--r-- 3499 tests.h
-rw-r--r-- 2067 time.c
-rwxr-xr-x 94 time.test
-rw-r--r-- 4557 timer_create.c
-rwxr-xr-x 97 timer_create.test
-rw-r--r-- 3749 timer_xettime.c
-rwxr-xr-x 182 timer_xettime.test
-rw-r--r-- 3492 timerfd_xettime.c
-rwxr-xr-x 194 timerfd_xettime.test
-rw-r--r-- 253 times-fail.c
-rwxr-xr-x 120 times-fail.test
-rw-r--r-- 4027 times.c
-rwxr-xr-x 106 times.test
-rw-r--r-- 2544 tprintf.c
-rw-r--r-- 2243 truncate.c
-rwxr-xr-x 93 truncate.test
-rw-r--r-- 2103 truncate64.c
-rwxr-xr-x 95 truncate64.test
-rw-r--r-- 3490 uid.awk
-rw-r--r-- 3035 uid.c
-rwxr-xr-x 426 uid.test
-rw-r--r-- 3582 uid16.c
-rwxr-xr-x 78 uid16.test
-rw-r--r-- 2513 uid32.c
-rwxr-xr-x 84 uid32.test
-rw-r--r-- 2178 uio.c
-rw-r--r-- 256 uio.expected
-rwxr-xr-x 154 uio.test
-rw-r--r-- 170 umask.c
-rwxr-xr-x 95 umask.test
-rw-r--r-- 2476 umount.c
-rwxr-xr-x 198 umount.test
-rw-r--r-- 2184 umount2.c
-rwxr-xr-x 197 umount2.test
-rw-r--r-- 1764 umovestr.c
-rw-r--r-- 292 umovestr.expected
-rwxr-xr-x 129 umovestr.test
-rw-r--r-- 2021 umovestr2.c
-rwxr-xr-x 235 umovestr2.test
-rw-r--r-- 932 uname.c
-rwxr-xr-x 311 uname.test
-rw-r--r-- 2692 unix-pair-send-recv.c
-rw-r--r-- 810 unlinkat.c
-rwxr-xr-x 98 unlinkat.test
-rw-r--r-- 2007 userfaultfd.c
-rwxr-xr-x 101 userfaultfd.test
-rw-r--r-- 2411 utime.c
-rwxr-xr-x 423 utime.test
-rw-r--r-- 3206 utimensat.c
-rwxr-xr-x 343 utimensat.test
-rw-r--r-- 3267 vfork-f.c
-rwxr-xr-x 85 vfork-f.test
-rw-r--r-- 3298 vmsplice.c
-rwxr-xr-x 106 vmsplice.test
-rw-r--r-- 2900 wait.c
-rw-r--r-- 1714 wait.expected
-rwxr-xr-x 145 wait.test
-rw-r--r-- 1900 xattr.c
-rw-r--r-- 117 xattr.expected
-rwxr-xr-x 140 xattr.test
-rw-r--r-- 2642 xet_robust_list.c
-rwxr-xr-x 167 xet_robust_list.test
-rw-r--r-- 2924 xetitimer.c
-rwxr-xr-x 138 xetitimer.test
-rw-r--r-- 2139 xetpgid.c
-rwxr-xr-x 135 xetpgid.test
-rw-r--r-- 875 xetpriority.c
-rwxr-xr-x 151 xetpriority.test
-rw-r--r-- 2680 xettimeofday.c
-rwxr-xr-x 155 xettimeofday.test
-rw-r--r-- 3557 xselect.c
-rw-r--r-- 8735 xstatx.c