1 # Input for gen_tests.sh
3 # Copyright (c) 2017 The strace developers.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
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.
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.
31 access -a30 -P access_sample
35 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy
44 clock_nanosleep -e trace=clock_nanosleep,clock_gettime
45 clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime
57 erestartsys -a34 -e signal=none -e trace=recvfrom
59 execveat-v -v -e trace=execveat
60 faccessat -P $NAME.sample
61 fadvise64_64 +fadvise64.test
74 file_handle -e trace=name_to_handle_at,open_by_handle_at
75 file_ioctl +ioctl.test
78 fork-f -a26 -qq -f -e signal=none -e trace=chdir
80 fstatat64 -a32 -v -P $NAME.sample -P /dev/full
82 fstatfs64 +statfs.test
87 get_mempolicy -s3 -a38
93 getegid32 +getuid.test
95 geteuid32 +getuid.test
114 getuid32 +getuid.test
115 getxxid -a10 -e trace=getxpid,getxuid,getxgid
116 inet-cmsg -e trace=recvmsg
118 inotify -a23 -e trace=inotify_add_watch,inotify_rm_watch
120 int_0x80 -a11 -e trace=getgid32
121 ioctl_block +ioctl.test
122 ioctl_evdev +ioctl.test
123 ioctl_evdev-v +ioctl-v.sh
124 ioctl_loop +ioctl.test
125 ioctl_loop-v +ioctl-v.sh
126 ioctl_mtd +ioctl.test
127 ioctl_rtc +ioctl.test
128 ioctl_rtc-v +ioctl-v.sh
129 ioctl_scsi +ioctl.test
130 ioctl_sg_io_v3 +ioctl.test
131 ioctl_sg_io_v4 +ioctl.test
132 ioctl_uffdio +ioctl.test
133 ioctl_v4l2 +ioctl.test
136 ioprio -a18 -e trace=ioprio_get,ioprio_set
137 ip_mreq -e trace=setsockopt
146 kill -a12 -esignal=none
152 lstat -a32 -v -P $NAME.sample -P /dev/full
153 lstat64 -a32 -v -P $NAME.sample -P /dev/full
163 mlock -a20 -e trace=mlock,munlock
167 mmsg -e read=0 -e write=1 -e trace=recvmmsg,sendmmsg
168 mmsg-silent -a25 -e verbose=none -e trace=sendmmsg,recvmmsg
169 mmsg_name -a25 -e trace=sendmmsg,recvmmsg
170 mmsg_name-v -v -a25 -e trace=sendmmsg,recvmmsg
173 mq -a32 -e trace=mq_getsetattr,mq_open,mq_unlink
174 mq_sendrecv -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
175 mq_sendrecv-read -eread=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
176 mq_sendrecv-write -ewrite=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
177 msg_control -a21 -e trace=sendmsg
178 msg_control-v -v -a21 -e trace=sendmsg
179 msg_name -a20 -e trace=recvmsg
182 net-icmp_filter -e trace=getsockopt,setsockopt
183 net-sockaddr -a24 -e trace=connect
184 newfstatat -a32 -v -P $NAME.sample -P /dev/full
185 old_mmap -a11 -e trace=mmap
187 oldlstat -a32 -v -P $NAME.sample -P /dev/full
188 oldstat -a32 -v -P $NAME.sample -P /dev/full
189 open -a30 -P $NAME.sample
190 openat -P $NAME.sample
191 pause -a8 -esignal=none
193 perf_event_open_nonverbose -a34 -e verbose=none -e trace=perf_event_open
194 perf_event_open_unabbrev -a1 -v -e trace=perf_event_open
200 ppoll-v -v -s2 -e trace=ppoll
202 preadv-pwritev -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
203 preadv2-pwritev2 -a22 -eread=0 -ewrite=1 -e trace=preadv2,pwritev2
204 printstr -e trace=writev
206 process_vm_readv -s5 -a37
207 process_vm_writev -s5 -a38
209 ptrace -a23 -e signal=none
212 quotactl-v -v -e trace=quotactl
213 quotactl-xfs -e trace=quotactl
214 quotactl-xfs-v -v -e trace=quotactl
221 recvmmsg-timeout -a25 -e trace=recvmmsg
222 recvmsg -eread=0 -ewrite=1 -e trace=recvmsg,sendmsg
227 request_key -a33 -s12
231 rt_sigqueueinfo -esignal=none
232 rt_sigreturn -esignal='!USR1'
233 rt_sigsuspend -a20 -esignal=none
235 rt_tgsigqueueinfo -esignal=none
236 sched_get_priority_mxx -a33 -e trace=sched_get_priority_min,sched_get_priority_max
237 sched_rr_get_interval -a31
238 sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity
239 sched_xetattr -a29 -e trace=sched_getattr,sched_setattr
240 sched_xetparam -a23 -e trace=sched_getparam,sched_setparam
241 sched_xetscheduler -a22 -e trace=sched_getscheduler,sched_setscheduler
243 seccomp-filter -e trace=seccomp
244 seccomp-filter-v -v -e trace=seccomp
246 semop -a32 -e trace=semop,semtimedop
249 set_mempolicy -s3 -a35
272 shmxt -a11 -e trace=/\\(osf_\\)\\?shmat,shmdt
274 siginfo -e trace=none
275 signal_receive -a16 -e trace=kill
277 sigreturn -esignal='!USR1'
280 stat -a32 -v -P $NAME.sample -P /dev/full
281 stat64 -a32 -v -P $NAME.sample -P /dev/full
282 statfs64 +statfs.test
283 statx -a32 -v -P $NAME.sample -P /dev/full
284 swap -a23 -e trace=swapon,swapoff
295 timer_xettime -e trace=timer_create,timer_settime,timer_gettime
296 timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime
298 times-fail -a12 -e trace=times
303 umoven-illptr -a36 -e trace=nanosleep
304 umovestr-illptr -a11 -e trace=chdir
305 umovestr3 -a14 -e trace=chdir
311 utime -a 16 -e trace=utime
313 vfork-f -a26 -qq -f -e signal=none -e trace=chdir
317 wait4-v -v -e signal=none -e trace=wait4
319 waitid-v -v -e signal=none -e trace=waitid
321 xattr -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr
322 xattr-strings -a22 -s 4 -e trace=fsetxattr
323 xet_robust_list -a24 -e trace=get_robust_list,set_robust_list
324 xetitimer -a29 -e trace=setitimer,getitimer
325 xetpgid -a11 -e trace=getpgid,setpgid
326 xetpriority -a29 -e trace=getpriority,setpriority
327 xettimeofday -a20 -e trace=gettimeofday,settimeofday