1# Input for gen_tests.sh 2# 3# Copyright (c) 2017 The strace developers. 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: 9# 1. Redistributions of source code must retain the above copyright 10# notice, this list of conditions and the following disclaimer. 11# 2. Redistributions in binary form must reproduce the above copyright 12# notice, this list of conditions and the following disclaimer in the 13# documentation and/or other materials provided with the distribution. 14# 3. The name of the author may not be used to endorse or promote products 15# derived from this software without specific prior written permission. 16# 17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 28_newselect 29accept -a22 30accept4 -a37 31access -a30 -P access_sample 32acct -a20 33add_key -a30 -s12 34adjtimex -a15 35aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy 36alarm -a10 37bpf -a20 38btrfs +ioctl.test 39chmod -a28 40chown -a28 41chown32 -a31 42chroot -a24 43clock test_trace_expr 'times|fcntl.*' -e/clock 44clock_adjtime -a37 45clock_nanosleep -e trace=clock_nanosleep,clock_gettime 46clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime 47copy_file_range 48creat -a20 49delete_module -a23 50dup -a8 51dup2 -a13 52dup3 -a24 53epoll_create -a17 54epoll_create1 -a28 55epoll_ctl 56epoll_pwait 57epoll_wait -a26 58erestartsys -a34 -e signal=none -e trace=recvfrom 59execveat 60execveat-v -v -e trace=execveat 61faccessat -P $NAME.sample 62fadvise64_64 +fadvise64.test 63fallocate -a18 64fanotify_init 65fanotify_mark -a32 66fchdir -a11 67fchmod -a15 68fchmodat 69fchown -a16 70fchown32 -a18 71fchownat 72fcntl -a8 73fcntl64 -a8 74fdatasync -a14 75file_handle -e trace=name_to_handle_at,open_by_handle_at 76file_ioctl +ioctl.test 77finit_module -a25 78flock -a19 79fork-f -a26 -qq -f -e signal=none -e trace=chdir 80fstat -a15 -v -P stat.sample 81fstat64 -a17 -v -P stat.sample 82fstatat64 -a32 -v -P stat.sample -P /dev/full 83fstatfs -a18 84fstatfs64 -a24 85fsync -a10 86ftruncate -a24 87ftruncate64 -a36 88futimesat -a28 89get_mempolicy -s3 -a38 90getcpu -a25 91getcwd -a18 92getdents -a22 -v 93getdents64 -a24 -v 94getegid +getuid.test 95getegid32 +getuid.test 96geteuid +getuid.test 97geteuid32 +getuid.test 98getgid +getuid.test 99getgid32 +getuid.test 100getgroups -a17 101getgroups32 -a19 102getpeername -a27 103getpgrp -a10 104getpid -a9 105getppid -a10 106getrandom -a32 -s3 107getresgid -a25 108getresgid32 -a27 109getresuid -a25 110getresuid32 -a27 111getrlimit -a27 112getrusage -v 113getsid -a10 114getsockname -a27 115gettid -a9 116getuid32 +getuid.test 117getxxid -a10 -e trace=getxpid,getxuid,getxgid 118inet-cmsg -e trace=recvmsg 119init_module -a27 120inotify -a23 -e trace=inotify_add_watch,inotify_rm_watch 121inotify_init1 -a27 122int_0x80 -a11 -e trace=getgid32 123ioctl_block +ioctl.test 124ioctl_evdev +ioctl.test 125ioctl_evdev-v +ioctl-v.sh 126ioctl_loop +ioctl.test 127ioctl_loop-v +ioctl-v.sh 128ioctl_mtd +ioctl.test 129ioctl_rtc +ioctl.test 130ioctl_rtc-v +ioctl-v.sh 131ioctl_scsi +ioctl.test 132ioctl_sg_io_v3 +ioctl.test 133ioctl_sg_io_v4 +ioctl.test 134ioctl_uffdio +ioctl.test 135ioctl_v4l2 +ioctl.test 136ioperm -a27 137iopl -a8 138ioprio -a18 -e trace=ioprio_get,ioprio_set 139ip_mreq -e trace=setsockopt 140ipc -a19 141ipc_msg +ipc.sh 142ipc_sem +ipc.sh 143ipc_shm +ipc.sh 144kcmp -a27 145kexec_file_load -s9 146kexec_load -s9 147keyctl -a31 -s10 148kill -a12 -esignal=none 149lchown -a30 150lchown32 -a32 151link 152linkat 153lookup_dcookie -a27 154lstat -a32 -v -P stat.sample -P /dev/full 155lstat64 -a32 -v -P stat.sample -P /dev/full 156madvise -a33 157mbind 158membarrier -a36 159memfd_create 160migrate_pages -a33 161mincore -a22 162mkdir -a20 163mkdirat -a28 164mknod -a18 165mknodat -a35 166mlock -a20 -e trace=mlock,munlock 167mlock2 168mlockall -a12 169mmap64 +mmap.test 170mmsg -e read=0 -e write=1 -e trace=recvmmsg,sendmmsg 171mmsg-silent -a25 -e verbose=none -e trace=sendmmsg,recvmmsg 172mmsg_name -a25 -e trace=sendmmsg,recvmmsg 173mmsg_name-v -v -a25 -e trace=sendmmsg,recvmmsg 174mount 175move_pages -s3 176mq -a32 -e trace=mq_getsetattr,mq_open,mq_unlink 177mq_sendrecv -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink 178mq_sendrecv-read -eread=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink 179mq_sendrecv-write -ewrite=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink 180msg_control -a21 -e trace=sendmsg 181msg_control-v -v -a21 -e trace=sendmsg 182msg_name -a20 -e trace=recvmsg 183munlockall -a13 184nanosleep -a20 185net-icmp_filter -e trace=getsockopt,setsockopt 186net-sockaddr -a24 -e trace=connect 187netlink_audit +netlink_sock_diag.test 188netlink_generic +netlink_sock_diag.test 189netlink_netfilter +netlink_sock_diag.test 190netlink_protocol -e trace=sendto 191netlink_route +netlink_sock_diag.test 192netlink_selinux +netlink_sock_diag.test 193netlink_xfrm +netlink_sock_diag.test 194newfstatat -a32 -v -P stat.sample -P /dev/full 195nlattr +netlink_sock_diag.test 196nlattr_inet_diag_msg +netlink_sock_diag.test 197nlattr_netlink_diag_msg +netlink_sock_diag.test 198nlattr_unix_diag_msg +netlink_sock_diag.test 199old_mmap -a11 -e trace=mmap 200oldfstat -a18 -v -P stat.sample 201oldlstat -a32 -v -P stat.sample -P /dev/full 202oldstat -a32 -v -P stat.sample -P /dev/full 203open -a30 -P $NAME.sample 204openat -P $NAME.sample 205osf_utimes -a21 206pause -a8 -esignal=none 207perf_event_open -a1 208perf_event_open_nonverbose -a34 -e verbose=none -e trace=perf_event_open 209perf_event_open_unabbrev -a1 -v -e trace=perf_event_open 210pipe2 -a15 211pkey_alloc -a17 212pkey_free -a13 213pkey_mprotect -a37 214ppoll -s2 215ppoll-v -v -s2 -e trace=ppoll 216pread64-pwrite64 -a21 -eread=0 -ewrite=1 -e trace=pread64,pwrite64 -P pread64-pwrite64-tmpfile -P /dev/zero -P /dev/null 217preadv -a21 218preadv-pwritev -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev 219preadv2-pwritev2 -a22 -eread=0 -ewrite=1 -e trace=preadv2,pwritev2 220printstr -e trace=writev 221prlimit64 222process_vm_readv -s5 -a37 223process_vm_writev -s5 -a38 224pselect6 225ptrace -a23 -e signal=none 226pwritev -a22 -s7 227quotactl 228quotactl-v -v -e trace=quotactl 229quotactl-xfs -e trace=quotactl 230quotactl-xfs-v -v -e trace=quotactl 231read-write -a15 -eread=0 -ewrite=1 -e trace=read,write -P read-write-tmpfile -P /dev/zero -P /dev/null 232readahead -a1 233readdir -a16 234readlink -xx 235readlinkat -xx 236reboot 237recvfrom -a35 238recvmmsg-timeout -a25 -e trace=recvmmsg 239recvmsg -eread=0 -ewrite=1 -e trace=recvmsg,sendmsg 240regex test_trace_expr '' -etrace='/^(.*_)?statv?fs' 241remap_file_pages 242rename -a35 243renameat 244renameat2 245request_key -a33 -s12 246rmdir -a22 247rt_sigpending -a20 248rt_sigprocmask 249rt_sigqueueinfo -esignal=none 250rt_sigreturn -esignal='!USR1' 251rt_sigsuspend -a20 -esignal=none 252rt_sigtimedwait -a38 253rt_tgsigqueueinfo -esignal=none 254sched test_trace_expr times -e/sched 255sched_get_priority_mxx -a33 -e trace=sched_get_priority_min,sched_get_priority_max 256sched_rr_get_interval -a31 257sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity 258sched_xetattr -a29 -e trace=sched_getattr,sched_setattr 259sched_xetparam -a23 -e trace=sched_getparam,sched_setparam 260sched_xetscheduler -a22 -e trace=sched_getscheduler,sched_setscheduler 261sched_yield -a14 262seccomp-filter -e trace=seccomp 263seccomp-filter-v -v -e trace=seccomp 264select -a36 265semop -a32 -e trace=semop,semtimedop 266sendfile -a27 267sendfile64 -a29 268set_mempolicy -s3 -a35 269setdomainname -a24 270setfsgid -a12 271setfsgid32 -a14 272setfsuid -a12 273setfsuid32 -a14 274setgid -a10 275setgid32 -a12 276setgroups -s2 -a17 277setgroups32 -s2 -a19 278sethostname -a22 279setns -a21 280setregid -a15 281setregid32 -a17 282setresgid -a19 283setresgid32 -a21 284setresuid -a19 285setresuid32 -a21 286setreuid -a15 287setreuid32 -a17 288setrlimit -a27 289setuid -a10 290setuid32 -a12 291shmxt -a11 -e trace='/(osf_)?shmat,shmdt' 292shutdown -a24 293sigaction -a31 294siginfo -e trace=none 295signal -a25 -e signal=none -e trace='/^signal$' 296signal_receive -a16 -e trace=kill 297signalfd4 298sigpending -a15 299sigprocmask -a34 300sigreturn -esignal='!USR1' 301sigsuspend -a19 -esignal=none 302socketcall -a20 303splice 304stat -a32 -v -P stat.sample -P /dev/full 305stat64 -a32 -v -P stat.sample -P /dev/full 306statfs -a17 307statfs64 -a23 308statx -a32 -v -P stat.sample -P /dev/full 309swap -a23 -e trace=swapon,swapoff 310sxetmask -a11 -e trace=sgetmask,ssetmask 311symlink -a34 312symlinkat 313sync -a7 314sync_file_range 315sync_file_range2 316sysinfo -a14 317syslog -a36 318tee 319time -a10 320timer_create 321timer_xettime -e trace=timer_create,timer_settime,timer_gettime 322timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime 323times -esignal=none 324times-fail -a12 -e trace=times 325trace_fstat test_trace_expr '' -e%fstat -v -P stat.sample -P /dev/full 326trace_fstatfs test_trace_expr '' -e%fstatfs 327trace_lstat test_trace_expr '' -e%lstat -v -P stat.sample -P /dev/full 328trace_question test_trace_expr '' -e?osf_utimes,?/^pkey_.* 329trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full 330trace_stat_like test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full 331trace_statfs test_trace_expr '' -e%statfs 332trace_statfs_like test_trace_expr '' -e%%statfs 333truncate 334truncate64 335ugetrlimit -a28 336umask -a11 337umoven-illptr -a36 -e trace=nanosleep 338umovestr-illptr -a11 -e trace=chdir 339umovestr3 -a14 -e trace=chdir 340unlink -a24 341unlinkat -a35 342unshare -a11 343userfaultfd -a38 344ustat -a33 345utime -a16 346utimensat -a33 347utimes -a17 348vfork-f -a26 -qq -f -e signal=none -e trace=chdir 349vhangup -a10 350vmsplice -ewrite=1 351wait4 -esignal=none 352wait4-v -v -e signal=none -e trace=wait4 353waitid -esignal=none 354waitid-v -v -e signal=none -e trace=waitid 355waitpid -a28 356xattr -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr 357xattr-strings -a22 -s 4 -e trace=fsetxattr 358xet_robust_list -a24 -e trace=get_robust_list,set_robust_list 359xetitimer -a29 -e trace=setitimer,getitimer 360xetpgid -a11 -e trace=getpgid,setpgid 361xetpriority -a29 -e trace=getpriority,setpriority 362xettimeofday -a20 -e trace=gettimeofday,settimeofday 363