2017-04-05 00:37:54 +00:00
# Input for gen_tests.sh
#
2018-02-13 22:00:00 +00:00
# Copyright (c) 2017-2018 The strace developers.
2017-04-05 00:37:54 +00:00
# All rights reserved.
#
2018-12-10 00:00:00 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
2017-04-05 00:37:54 +00:00
_newselect
2018-01-23 01:06:09 +00:00
_newselect-P -e trace=_newselect -P /dev/full 9>>/dev/full
2017-04-05 00:37:54 +00:00
accept -a22
accept4 -a37
access -a30 -P access_sample
acct -a20
add_key -a30 -s12
adjtimex -a15
aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy
2018-06-13 17:38:07 +02:00
aio_pgetevents -e trace=io_pgetevents
2017-04-05 00:37:54 +00:00
alarm -a10
bpf -a20
2018-06-01 02:55:21 +02:00
bpf-obj_get_info_by_fd -a20 -y -e trace=bpf
bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf
bpf-obj_get_info_by_fd-prog-v -a20 -y -v -e trace=bpf
2019-01-02 00:29:09 +00:00
bpf-obj_get_info_by_fd-v -a20 -y -v -e trace=bpf
bpf-v -a20 -v -e trace=bpf
2017-04-05 00:37:54 +00:00
btrfs +ioctl.test
chmod -a28
chown -a28
chown32 -a31
chroot -a24
2017-04-21 01:29:29 +00:00
clock test_trace_expr 'times|fcntl.*' -e/clock
2017-04-05 00:37:54 +00:00
clock_adjtime -a37
clock_nanosleep -e trace=clock_nanosleep,clock_gettime
clock_xettime -a36 -e trace=clock_getres,clock_gettime,clock_settime
copy_file_range
creat -a20
delete_module -a23
2018-01-29 18:50:09 +01:00
dev-yy -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy
2017-04-05 00:37:54 +00:00
dup -a8
dup2 -a13
dup3 -a24
epoll_create -a17
epoll_create1 -a28
epoll_ctl
epoll_pwait
epoll_wait -a26
erestartsys -a34 -e signal=none -e trace=recvfrom
execveat
execveat-v -v -e trace=execveat
faccessat -P $NAME.sample
fadvise64_64 +fadvise64.test
fallocate -a18
fanotify_init
fanotify_mark -a32
2018-04-10 15:10:44 +02:00
fanotify_mark-Xabbrev -a32 -Xabbrev -e trace=fanotify_mark
fanotify_mark-Xraw -a32 -Xraw -e trace=fanotify_mark
fanotify_mark-Xverbose -a32 -Xverbose -e trace=fanotify_mark
2017-04-05 00:37:54 +00:00
fchdir -a11
fchmod -a15
fchmodat
fchown -a16
fchown32 -a18
fchownat
fcntl -a8
fcntl64 -a8
fdatasync -a14
file_handle -e trace=name_to_handle_at,open_by_handle_at
file_ioctl +ioctl.test
finit_module -a25
flock -a19
fork-f -a26 -qq -f -e signal=none -e trace=chdir
2017-04-21 03:49:07 +00:00
fstat -a15 -v -P stat.sample
print_dev_t: add xlat styles support
* print_dev_t.c (print_dev_t): Respect xlat_verbosity.
* tests/btrfs.c (sprint_makedev): New function.
(btrfs_print_balance_args, btrfs_test_dev_info_ioctl,
btrfs_test_dev_replace_ioctl, btrfs_test_get_dev_stats_ioctl,
btrfs_test_scrub_ioctls): Use it to update expected output.
* tests/xstatx.c (print_st_mode, sprint_makedev): New functions.
(print_stat): Use them.
* tests/fstat-Xabbrev.c: New file.
* tests/fstat-Xraw.c: Likewise.
* tests/fstat-Xverbose.c: Likewise.
* tests/fstat64-Xabbrev.c: Likewise.
* tests/fstat64-Xraw.c: Likewise.
* tests/fstat64-Xverbose.c: Likewise.
* tests/gen_tests.in (fstat-Xabbrev, fstat-Xraw, fstat-Xverbose,
fstat64-Xabbrev, fstat64-Xraw, fstat64-Xverbose): New entries.
* tests/trace_fstat.in: Likewise.
* tests/trace_stat_like.in: Likewise.
* tests/pure_executables.list: Add fstat-Xabbrev, fstat-Xraw,
fstat-Xverbose, fstat64-Xabbrev, fstat64-Xraw, and fstat64-Xverbose.
* tests/.gitignore: Likewise.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-12-08 14:12:42 -08:00
fstat-Xabbrev -a15 -v -Xabbrev -P stat.sample -e trace=fstat
fstat-Xraw -a15 -v -Xraw -P stat.sample -e trace=fstat
fstat-Xverbose -a15 -v -Xverbose -P stat.sample -e trace=fstat
2017-04-21 03:49:07 +00:00
fstat64 -a17 -v -P stat.sample
print_dev_t: add xlat styles support
* print_dev_t.c (print_dev_t): Respect xlat_verbosity.
* tests/btrfs.c (sprint_makedev): New function.
(btrfs_print_balance_args, btrfs_test_dev_info_ioctl,
btrfs_test_dev_replace_ioctl, btrfs_test_get_dev_stats_ioctl,
btrfs_test_scrub_ioctls): Use it to update expected output.
* tests/xstatx.c (print_st_mode, sprint_makedev): New functions.
(print_stat): Use them.
* tests/fstat-Xabbrev.c: New file.
* tests/fstat-Xraw.c: Likewise.
* tests/fstat-Xverbose.c: Likewise.
* tests/fstat64-Xabbrev.c: Likewise.
* tests/fstat64-Xraw.c: Likewise.
* tests/fstat64-Xverbose.c: Likewise.
* tests/gen_tests.in (fstat-Xabbrev, fstat-Xraw, fstat-Xverbose,
fstat64-Xabbrev, fstat64-Xraw, fstat64-Xverbose): New entries.
* tests/trace_fstat.in: Likewise.
* tests/trace_stat_like.in: Likewise.
* tests/pure_executables.list: Add fstat-Xabbrev, fstat-Xraw,
fstat-Xverbose, fstat64-Xabbrev, fstat64-Xraw, and fstat64-Xverbose.
* tests/.gitignore: Likewise.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-12-08 14:12:42 -08:00
fstat64-Xabbrev -a17 -Xabbrev -v -P stat.sample -e trace=fstat64
fstat64-Xraw -a17 -Xraw -v -P stat.sample -e trace=fstat64
fstat64-Xverbose -a17 -Xverbose -v -P stat.sample -e trace=fstat64
2017-04-20 01:01:29 +02:00
fstatat64 -a32 -v -P stat.sample -P /dev/full
2017-04-19 00:02:56 +00:00
fstatfs -a18
fstatfs64 -a24
2017-04-05 00:37:54 +00:00
fsync -a10
2018-02-02 17:21:22 +01:00
fsync-y -y -e trace=fsync
2017-04-05 00:37:54 +00:00
ftruncate -a24
ftruncate64 -a36
futimesat -a28
get_mempolicy -s3 -a38
getcpu -a25
getcwd -a18
getdents -a22 -v
getdents64 -a24 -v
getegid +getuid.test
getegid32 +getuid.test
geteuid +getuid.test
geteuid32 +getuid.test
getgid +getuid.test
getgid32 +getuid.test
getgroups -a17
getgroups32 -a19
getpeername -a27
getpgrp -a10
2017-04-03 02:52:35 +05:30
getpid -a9
getppid -a10
2017-04-05 00:37:54 +00:00
getrandom -a32 -s3
getresgid -a25
getresgid32 -a27
getresuid -a25
getresuid32 -a27
getrlimit -a27
getrusage -v
getsid -a10
getsockname -a27
2017-04-11 04:04:37 +00:00
gettid -a9
2017-04-05 00:37:54 +00:00
getuid32 +getuid.test
getxxid -a10 -e trace=getxpid,getxuid,getxgid
2017-07-09 18:43:34 +00:00
group_req -e trace=setsockopt
2017-04-05 00:37:54 +00:00
inet-cmsg -e trace=recvmsg
init_module -a27
inotify -a23 -e trace=inotify_add_watch,inotify_rm_watch
inotify_init1 -a27
ioctl_block +ioctl.test
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_dm +ioctl.test -s9
ioctl_dm-v +ioctl.test -v -s9
2017-04-05 00:37:54 +00:00
ioctl_evdev +ioctl.test
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_evdev-v +ioctl.test -v
2018-05-18 19:16:17 +02:00
ioctl_inotify +ioctl.test
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_kvm_run +ioctl.test -a36 -y
2018-06-28 03:37:45 +01:00
ioctl_kvm_run-v +ioctl.test -v -a36 -y
2018-07-07 16:49:13 +09:00
ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu
2017-04-05 00:37:54 +00:00
ioctl_loop +ioctl.test
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_loop-nv +ioctl.test -a22 -e verbose=none
ioctl_loop-v +ioctl.test -v
2017-04-05 00:37:54 +00:00
ioctl_mtd +ioctl.test
2018-09-22 15:09:50 +02:00
ioctl_nbd +ioctl.test -y
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_nsfs +ioctl.test -esignal=none
2018-05-15 18:45:28 +02:00
ioctl_perf +ioctl.test
2018-03-11 19:00:50 +05:30
ioctl_ptp +ioctl.test
2018-11-05 17:29:00 +00:00
ioctl_random +ioctl.test
2017-04-05 00:37:54 +00:00
ioctl_rtc +ioctl.test
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_rtc-v +ioctl.test -v
2017-04-05 00:37:54 +00:00
ioctl_scsi +ioctl.test
ioctl_sg_io_v3 +ioctl.test
ioctl_sg_io_v4 +ioctl.test
tests: make ioctl.test more flexible, use it for the rest of ioctl tests
As the remaining non-generated ioctl tests differ from ioctl.test only
in strace options, and since gen_tests.sh can pass arguments to sourced
tests, replace the remaining non-generated ioctl tests with invocations
of ioctl.test with appropriate parameters.
* tests/ioctl.test: Pass script arguments to the strace invocation.
* tests/gen_tests.in (ioctl_dm): New entry, invoke ioctl.test with -s9.
(ioctl_dm-v): New entry, invoke ioctl.test with -v -s9.
(ioctl_kvm_run): New entry, invoke ioctl.test with -a36 -y.
(ioctl_loop-nv): New entry, invoke ioctl.test with -a22 -e verbose=none.
(ioctl_nsfs): New entry, invoke ioctl.test with -esignal=none.
(ioctl_sock_gifconf): New entry, invoke ioctl.test with -a28 -s1.
(ioctl_evdev-v, ioctl_loop-v, ioctl_rtc-v): Invoke ioctl.test
with -v option instead of ioctl-v.sh.
* tests/ioctl_dm-v.test: Remove.
* tests/ioctl_dm.test: Likewise.
* tests/ioctl_kvm_run.test: Likewise.
* tests/ioctl_loop-nv.test: Likewise.
* tests/ioctl_nsfs.test: Likewise.
* tests/ioctl_sock_gifconf.test: Likewise.
* tests/ioctl-v.sh: Likewise.
* tests/Makefile.am (DECODER_TESTS, EXTRA_DIST): Remove them.
2018-01-25 10:54:56 +01:00
ioctl_sock_gifconf +ioctl.test -a28 -s1
2017-04-05 00:37:54 +00:00
ioctl_uffdio +ioctl.test
ioctl_v4l2 +ioctl.test
ioperm -a27
iopl -a8
ioprio -a18 -e trace=ioprio_get,ioprio_set
ip_mreq -e trace=setsockopt
ipc -a19
2018-04-07 02:25:59 +02:00
ipc_msg +ipc.sh -a26
tests: add variants of IPC tests with different xlat verbosity levels
* tests/.gitignore: Add ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, and ipc_shm-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, ipc_shm-Xverbose): New tests.
* tests/ipc_msg-Xabbrev.c: New file.
* tests/ipc_msg-Xraw.c: Likewise.
* tests/ipc_msg-Xverbose.c: Likewise.
* tests/ipc_msgbuf-Xabbrev.c: Likewise.
* tests/ipc_msgbuf-Xraw.c: Likewise.
* tests/ipc_msgbuf-Xverbose.c: Likewise.
* tests/ipc_sem-Xabbrev.c: Likewise.
* tests/ipc_sem-Xraw.c: Likewise.
* tests/ipc_sem-Xverbose.c: Likewise.
* tests/ipc_shm-Xabbrev.c: Likewise.
* tests/ipc_shm-Xraw.c: Likewise.
* tests/ipc_shm-Xverbose.c: Likewise.
* tests/ipc.sh: Add support for accepting test arguments.
* tests/ipc_msgbuf.test: Likewise.
* tests/ipc_msg.c: Add handling of XLAT_RAW and XLAT_VERBOSE flags.
* tests/ipc_msgbuf.c: Likewise.
* tests/ipc_sem.c: Likewise.
* tests/ipc_shm.c: Likewise.
2018-04-07 02:30:43 +02:00
ipc_msg-Xabbrev +ipc.sh -Xabbrev -a26
ipc_msg-Xraw +ipc.sh -Xraw -a16
ipc_msg-Xverbose +ipc.sh -Xverbose -a34
ipc_msgbuf-Xabbrev +ipc_msgbuf.test -Xabbrev
ipc_msgbuf-Xraw +ipc_msgbuf.test -Xraw -a22
ipc_msgbuf-Xverbose +ipc_msgbuf.test -Xverbose
2018-04-07 02:25:59 +02:00
ipc_sem +ipc.sh -a29
tests: add variants of IPC tests with different xlat verbosity levels
* tests/.gitignore: Add ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, and ipc_shm-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, ipc_shm-Xverbose): New tests.
* tests/ipc_msg-Xabbrev.c: New file.
* tests/ipc_msg-Xraw.c: Likewise.
* tests/ipc_msg-Xverbose.c: Likewise.
* tests/ipc_msgbuf-Xabbrev.c: Likewise.
* tests/ipc_msgbuf-Xraw.c: Likewise.
* tests/ipc_msgbuf-Xverbose.c: Likewise.
* tests/ipc_sem-Xabbrev.c: Likewise.
* tests/ipc_sem-Xraw.c: Likewise.
* tests/ipc_sem-Xverbose.c: Likewise.
* tests/ipc_shm-Xabbrev.c: Likewise.
* tests/ipc_shm-Xraw.c: Likewise.
* tests/ipc_shm-Xverbose.c: Likewise.
* tests/ipc.sh: Add support for accepting test arguments.
* tests/ipc_msgbuf.test: Likewise.
* tests/ipc_msg.c: Add handling of XLAT_RAW and XLAT_VERBOSE flags.
* tests/ipc_msgbuf.c: Likewise.
* tests/ipc_sem.c: Likewise.
* tests/ipc_shm.c: Likewise.
2018-04-07 02:30:43 +02:00
ipc_sem-Xabbrev +ipc.sh -Xabbrev -a29
ipc_sem-Xraw +ipc.sh -Xraw -a19
ipc_sem-Xverbose +ipc.sh -Xverbose -a36
2018-04-07 02:25:59 +02:00
ipc_shm +ipc.sh -a29
tests: add variants of IPC tests with different xlat verbosity levels
* tests/.gitignore: Add ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, and ipc_shm-Xverbose.
* tests/pure_executables.list: Likewise.
* tests/gen_tests.in (ipc_msg-Xabbrev, ipc_msg-Xraw, ipc_msg-Xverbose,
ipc_msgbuf-Xabbrev, ipc_msgbuf-Xraw, ipc_msgbuf-Xverbose,
ipc_sem-Xabbrev, ipc_sem-Xraw, ipc_sem-Xverbose, ipc_shm-Xabbrev,
ipc_shm-Xraw, ipc_shm-Xverbose): New tests.
* tests/ipc_msg-Xabbrev.c: New file.
* tests/ipc_msg-Xraw.c: Likewise.
* tests/ipc_msg-Xverbose.c: Likewise.
* tests/ipc_msgbuf-Xabbrev.c: Likewise.
* tests/ipc_msgbuf-Xraw.c: Likewise.
* tests/ipc_msgbuf-Xverbose.c: Likewise.
* tests/ipc_sem-Xabbrev.c: Likewise.
* tests/ipc_sem-Xraw.c: Likewise.
* tests/ipc_sem-Xverbose.c: Likewise.
* tests/ipc_shm-Xabbrev.c: Likewise.
* tests/ipc_shm-Xraw.c: Likewise.
* tests/ipc_shm-Xverbose.c: Likewise.
* tests/ipc.sh: Add support for accepting test arguments.
* tests/ipc_msgbuf.test: Likewise.
* tests/ipc_msg.c: Add handling of XLAT_RAW and XLAT_VERBOSE flags.
* tests/ipc_msgbuf.c: Likewise.
* tests/ipc_sem.c: Likewise.
* tests/ipc_shm.c: Likewise.
2018-04-07 02:30:43 +02:00
ipc_shm-Xabbrev +ipc.sh -Xabbrev -a29
ipc_shm-Xraw +ipc.sh -Xraw -a19
ipc_shm-Xverbose +ipc.sh -Xverbose -a36
2017-09-16 02:59:10 +02:00
kcmp -a22
2017-09-16 03:04:40 +02:00
kcmp-y -a22 -y -e trace=kcmp
2019-01-02 00:29:09 +00:00
kern_features -a16
2018-12-09 07:41:43 -08:00
kernel_version -a16 -v -e trace=bpf
kernel_version-Xabbrev -a16 -Xabbrev -v -e trace=bpf
kernel_version-Xraw -a16 -Xraw -v -e trace=bpf
kernel_version-Xverbose -a16 -Xverbose -v -e trace=bpf
2017-04-05 00:37:54 +00:00
kexec_file_load -s9
kexec_load -s9
keyctl -a31 -s10
2018-05-21 03:50:16 +02:00
keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev
keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw
keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose
2017-04-05 00:37:54 +00:00
kill -a12 -esignal=none
lchown -a30
lchown32 -a32
link
linkat
lookup_dcookie -a27
2017-04-20 01:01:29 +02:00
lstat -a32 -v -P stat.sample -P /dev/full
lstat64 -a32 -v -P stat.sample -P /dev/full
2017-04-27 23:16:33 +00:00
madvise -a33
2017-04-05 00:37:54 +00:00
mbind
membarrier -a36
memfd_create
2018-11-26 02:04:04 +00:00
memfd_create-Xabbrev -Xabbrev -e trace=memfd_create
memfd_create-Xraw -a30 -Xraw -e trace=memfd_create
memfd_create-Xverbose -Xverbose -e trace=memfd_create
2017-04-05 00:37:54 +00:00
migrate_pages -a33
mincore -a22
mkdir -a20
mkdirat -a28
mknod -a18
mknodat -a35
mlock -a20 -e trace=mlock,munlock
mlock2
mlockall -a12
tests: add mmap/mmap64 variants different xlat verbosity levels
* tests/tests.h [!XLAT_RAW] (XLAT_RAW): Define.
[!XLAT_VERBOSE] (XLAT_VERBOSE): Likewise.
* tests/mmap-Xabbrev.c: New file.
* tests/mmap-Xraw.c: Likewise.
* tests/mmap-Xverbose.c: Likewise.
* tests/mmap64-Xabbrev.c: Likewise.
* tests/mmap64-Xraw.c: Likewise.
* tests/mmap64-Xverbose.c: Likewise.
* tests/mmap.c (main): Add handling of XLAT_RAW and XLAT_VERBOSE macros.
* tests/mmap.test: Add handling of optional test arguments that set
alignment and xlat verbosity options.
* tests/Makefile.am (mmap64_Xabbrev_CPPFLAGS, mmap64_Xraw_CPPFLAGS,
mmap64_Xverbose_CPPFLAGS): New variables, analogous to mmap64_CPPFLAGS.
* tests/pure_executables.list: Add mmap-Xabbrev, mmap-Xraw,
mmap-Xverbose, mmap64-Xabbrev, mmap64-Xraw, and mmap64-Xverbose.
* tests/.gitignore: Likewise.
* tests/gen_tests.in (mmap-Xabbrev, mmap-Xraw, mmap-Xverbose,
mmap64-Xabbrev, mmap64-Xraw, mmap64-Xverbose): New tests.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-04-04 17:38:53 +02:00
mmap-Xabbrev +mmap.test abbrev
mmap-Xraw +mmap.test raw 14
mmap-Xverbose +mmap.test verbose
2017-04-05 00:37:54 +00:00
mmap64 +mmap.test
tests: add mmap/mmap64 variants different xlat verbosity levels
* tests/tests.h [!XLAT_RAW] (XLAT_RAW): Define.
[!XLAT_VERBOSE] (XLAT_VERBOSE): Likewise.
* tests/mmap-Xabbrev.c: New file.
* tests/mmap-Xraw.c: Likewise.
* tests/mmap-Xverbose.c: Likewise.
* tests/mmap64-Xabbrev.c: Likewise.
* tests/mmap64-Xraw.c: Likewise.
* tests/mmap64-Xverbose.c: Likewise.
* tests/mmap.c (main): Add handling of XLAT_RAW and XLAT_VERBOSE macros.
* tests/mmap.test: Add handling of optional test arguments that set
alignment and xlat verbosity options.
* tests/Makefile.am (mmap64_Xabbrev_CPPFLAGS, mmap64_Xraw_CPPFLAGS,
mmap64_Xverbose_CPPFLAGS): New variables, analogous to mmap64_CPPFLAGS.
* tests/pure_executables.list: Add mmap-Xabbrev, mmap-Xraw,
mmap-Xverbose, mmap64-Xabbrev, mmap64-Xraw, and mmap64-Xverbose.
* tests/.gitignore: Likewise.
* tests/gen_tests.in (mmap-Xabbrev, mmap-Xraw, mmap-Xverbose,
mmap64-Xabbrev, mmap64-Xraw, mmap64-Xverbose): New tests.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-04-04 17:38:53 +02:00
mmap64-Xabbrev +mmap.test abbrev
mmap64-Xraw +mmap.test raw 14
mmap64-Xverbose +mmap.test verbose
2017-04-05 00:37:54 +00:00
mmsg -e read=0 -e write=1 -e trace=recvmmsg,sendmmsg
mmsg-silent -a25 -e verbose=none -e trace=sendmmsg,recvmmsg
mmsg_name -a25 -e trace=sendmmsg,recvmmsg
mmsg_name-v -v -a25 -e trace=sendmmsg,recvmmsg
2018-01-05 21:11:26 +01:00
modify_ldt -a23
2018-04-04 23:25:19 +02:00
mount -a33
mount-Xabbrev -a33 -e trace=mount -Xabbrev
mount-Xraw -a33 -e trace=mount -Xraw
mount-Xverbose -a33 -e trace=mount -Xverbose
2017-04-05 00:37:54 +00:00
move_pages -s3
2017-04-14 16:25:05 +00:00
mq -a32 -e trace=mq_getsetattr,mq_open,mq_unlink
2017-04-05 00:37:54 +00:00
mq_sendrecv -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
mq_sendrecv-read -eread=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
mq_sendrecv-write -ewrite=0 -a14 -e trace=mq_open,mq_notify,mq_timedsend,mq_timedreceive,mq_unlink
msg_control -a21 -e trace=sendmsg
msg_control-v -v -a21 -e trace=sendmsg
msg_name -a20 -e trace=recvmsg
munlockall -a13
nanosleep -a20
net-icmp_filter -e trace=getsockopt,setsockopt
2018-07-24 16:59:14 +08:00
net-packet_mreq -e trace=setsockopt
2017-04-05 00:37:54 +00:00
net-sockaddr -a24 -e trace=connect
2018-07-24 16:59:15 +08:00
net-tpacket_req -e trace=setsockopt
2018-07-24 16:59:16 +08:00
net-tpacket_stats -e trace=getsockopt
2018-02-08 14:23:49 +01:00
net-yy-inet6 +net-yy-inet.test
2017-06-05 22:05:09 +08:00
netlink_audit +netlink_sock_diag.test
2017-07-09 21:57:19 +08:00
netlink_crypto +netlink_sock_diag.test
2017-06-13 17:26:45 +09:00
netlink_generic +netlink_sock_diag.test
2017-08-08 22:39:22 +08:00
netlink_kobject_uevent +netlink_sock_diag.test
2017-06-05 22:05:10 +08:00
netlink_netfilter +netlink_sock_diag.test
2017-06-05 13:11:44 +00:00
netlink_protocol -e trace=sendto
2017-06-05 22:05:08 +08:00
netlink_route +netlink_sock_diag.test
2017-06-05 22:05:11 +08:00
netlink_selinux +netlink_sock_diag.test
2017-06-05 22:05:12 +08:00
netlink_xfrm +netlink_sock_diag.test
2017-04-20 01:01:29 +02:00
newfstatat -a32 -v -P stat.sample -P /dev/full
2017-09-09 18:54:08 +08:00
nfnetlink_acct +netlink_sock_diag.test
2017-09-09 19:03:28 +08:00
nfnetlink_cthelper +netlink_sock_diag.test
2017-09-09 18:29:12 +08:00
nfnetlink_ctnetlink +netlink_sock_diag.test
2017-09-09 18:35:19 +08:00
nfnetlink_ctnetlink_exp +netlink_sock_diag.test
2017-09-09 18:59:46 +08:00
nfnetlink_cttimeout +netlink_sock_diag.test
2017-09-09 18:50:47 +08:00
nfnetlink_ipset +netlink_sock_diag.test
2017-09-09 19:10:17 +08:00
nfnetlink_nft_compat +netlink_sock_diag.test
2017-09-09 19:07:21 +08:00
nfnetlink_nftables +netlink_sock_diag.test
2017-09-09 18:46:40 +08:00
nfnetlink_osf +netlink_sock_diag.test
2017-09-09 18:39:10 +08:00
nfnetlink_queue +netlink_sock_diag.test
2017-09-09 18:42:50 +08:00
nfnetlink_ulog +netlink_sock_diag.test
2019-01-02 00:29:09 +00:00
nlattr +netlink_sock_diag.test
2017-08-15 12:55:04 +08:00
nlattr_br_port_msg +netlink_sock_diag.test
2019-01-02 00:29:09 +00:00
nlattr_crypto_user_alg +netlink_sock_diag.test
2017-08-15 12:55:02 +08:00
nlattr_dcbmsg +netlink_sock_diag.test
2017-08-15 12:51:26 +08:00
nlattr_fib_rule_hdr +netlink_sock_diag.test
2017-08-15 12:55:01 +08:00
nlattr_ifaddrlblmsg +netlink_sock_diag.test
2017-08-15 12:41:24 +08:00
nlattr_ifaddrmsg +netlink_sock_diag.test
2017-08-15 12:41:23 +08:00
nlattr_ifinfomsg +netlink_sock_diag.test
2018-05-25 05:14:18 +02:00
nlattr_ifla_af_spec +netlink_sock_diag.test
2017-08-29 21:04:19 +08:00
nlattr_ifla_brport +netlink_sock_diag.test
2018-06-10 12:54:08 +02:00
nlattr_ifla_linkinfo +netlink_sock_diag.test
2017-09-03 09:13:27 +08:00
nlattr_ifla_port +netlink_sock_diag.test
2017-09-03 09:25:09 +08:00
nlattr_ifla_xdp +netlink_sock_diag.test
2017-06-28 09:40:02 +08:00
nlattr_inet_diag_msg +netlink_sock_diag.test
2017-07-05 15:46:43 +08:00
nlattr_inet_diag_req_compat +netlink_sock_diag.test
2017-07-05 15:48:28 +08:00
nlattr_inet_diag_req_v2 +netlink_sock_diag.test
2017-09-09 09:38:11 +08:00
nlattr_mdba_mdb_entry +netlink_sock_diag.test
2017-09-09 09:49:35 +08:00
nlattr_mdba_router_port +netlink_sock_diag.test
2017-08-15 12:51:27 +08:00
nlattr_ndmsg +netlink_sock_diag.test
2017-08-15 12:51:28 +08:00
nlattr_ndtmsg +netlink_sock_diag.test
2017-08-15 12:55:03 +08:00
nlattr_netconfmsg +netlink_sock_diag.test
2017-06-28 09:40:05 +08:00
nlattr_netlink_diag_msg +netlink_sock_diag.test
2017-07-19 17:17:38 +08:00
nlattr_nlmsgerr +netlink_sock_diag.test
2017-06-26 08:28:56 +08:00
nlattr_packet_diag_msg +netlink_sock_diag-v.sh
2017-08-15 13:00:46 +08:00
nlattr_rtgenmsg +netlink_sock_diag.test
2017-08-15 12:41:25 +08:00
nlattr_rtmsg +netlink_sock_diag.test
2017-06-26 08:32:08 +08:00
nlattr_smc_diag_msg +netlink_sock_diag.test
2017-09-04 20:56:47 +08:00
nlattr_tc_stats +netlink_sock_diag.test
2017-09-04 21:40:06 +08:00
nlattr_tca_stab +netlink_sock_diag.test
2017-08-15 12:55:00 +08:00
nlattr_tcamsg +netlink_sock_diag.test
2017-08-15 12:53:14 +08:00
nlattr_tcmsg +netlink_sock_diag.test
2017-06-28 09:40:07 +08:00
nlattr_unix_diag_msg +netlink_sock_diag.test
2017-04-05 00:37:54 +00:00
old_mmap -a11 -e trace=mmap
2018-01-17 02:39:21 +01:00
old_mmap-P -e trace=mmap -P "/dev/full" 9>>/dev/full
2018-04-04 18:44:44 +02:00
old_mmap-Xabbrev -a11 -e trace=mmap -Xabbrev
old_mmap-Xraw -a11 -e trace=mmap -Xraw
old_mmap-Xverbose -a11 -e trace=mmap -Xverbose
2019-01-02 00:29:09 +00:00
old_mmap-v-none -a11 -e trace=mmap -e verbose=none
2017-04-21 03:49:07 +00:00
oldfstat -a18 -v -P stat.sample
2017-04-20 01:01:29 +02:00
oldlstat -a32 -v -P stat.sample -P /dev/full
2018-01-23 01:06:09 +00:00
oldselect -a13 -e trace=select
oldselect-P -a13 -e trace=select -P /dev/full 9>>/dev/full
oldselect-efault -a13 -e trace=select
oldselect-efault-P -a13 -e trace=select -P /dev/full 9>>/dev/full
2017-04-20 01:01:29 +02:00
oldstat -a32 -v -P stat.sample -P /dev/full
2017-04-05 00:37:54 +00:00
open -a30 -P $NAME.sample
2018-02-02 19:39:23 +00:00
openat -a36 -P $NAME.sample
2017-04-17 00:29:58 +00:00
osf_utimes -a21
2017-04-05 00:37:54 +00:00
pause -a8 -esignal=none
perf_event_open -a1
perf_event_open_nonverbose -a34 -e verbose=none -e trace=perf_event_open
perf_event_open_unabbrev -a1 -v -e trace=perf_event_open
2018-04-11 02:41:16 +02:00
personality-Xabbrev +personality.test -Xabbrev
personality-Xraw +personality.test -a15 -Xraw
personality-Xverbose +personality.test -Xverbose
2017-04-05 00:37:54 +00:00
pipe2 -a15
pkey_alloc -a17
pkey_free -a13
pkey_mprotect -a37
ppoll -s2
2018-01-17 21:31:07 +00:00
ppoll-P -s2 -e trace=ppoll -P /dev/full 9>>/dev/full
2017-04-05 00:37:54 +00:00
ppoll-v -v -s2 -e trace=ppoll
2017-04-19 02:16:31 +00:00
pread64-pwrite64 -a21 -eread=0 -ewrite=1 -e trace=pread64,pwrite64 -P pread64-pwrite64-tmpfile -P /dev/zero -P /dev/null
2017-04-05 00:37:54 +00:00
preadv -a21
preadv-pwritev -a19 -eread=0 -ewrite=1 -e trace=preadv,pwritev
preadv2-pwritev2 -a22 -eread=0 -ewrite=1 -e trace=preadv2,pwritev2
2017-08-01 20:59:48 +00:00
printpath-umovestr -a11 -e signal=none -e trace=chdir
printpath-umovestr-peekdata -a11 -e signal=none -e trace=chdir
printpath-umovestr-undumpable -a11 -e signal=none -e trace=chdir
2018-12-20 05:27:40 -08:00
printsignal-Xabbrev -a11 -Xabbrev -e signal=none -e trace=kill
printsignal-Xraw -a11 -Xraw -e signal=none -e trace=kill
printsignal-Xverbose -a11 -Xverbose -e signal=none -e trace=kill
2019-01-02 00:29:09 +00:00
printstr -e trace=writev
2017-08-02 00:45:47 +00:00
printstrn-umoven -s4096 -e signal=none -e trace=add_key
printstrn-umoven-peekdata -e signal=none -e trace=add_key
printstrn-umoven-undumpable -e signal=none -e trace=add_key
2017-04-05 00:37:54 +00:00
prlimit64
process_vm_readv -s5 -a37
process_vm_writev -s5 -a38
pselect6
ptrace -a23 -e signal=none
2018-12-13 22:07:26 +00:00
ptrace_syscall_info -a35 -e signal=none -e trace=ptrace
2017-04-05 00:37:54 +00:00
pwritev -a22 -s7
quotactl
2018-12-19 05:01:40 -08:00
quotactl-Xabbrev -Xabbrev -e trace=quotactl
quotactl-Xraw -a27 -Xraw -e trace=quotactl
quotactl-Xverbose -Xverbose -e trace=quotactl
2017-04-05 00:37:54 +00:00
quotactl-v -v -e trace=quotactl
quotactl-xfs -e trace=quotactl
quotactl-xfs-v -v -e trace=quotactl
2018-03-28 15:34:06 +02:00
read-write -a15 -eread=0,5 -ewrite=1,4 -e trace=read,write -P read-write-tmpfile -P /dev/zero -P /dev/null
2017-04-05 00:37:54 +00:00
readahead -a1
readdir -a16
readlink -xx
readlinkat -xx
2018-01-10 05:31:15 +01:00
reboot -s 256
2017-04-05 00:37:54 +00:00
recvfrom -a35
recvmmsg-timeout -a25 -e trace=recvmmsg
recvmsg -eread=0 -ewrite=1 -e trace=recvmsg,sendmsg
2017-04-21 01:29:29 +00:00
regex test_trace_expr '' -etrace='/^(.*_)?statv?fs'
2017-04-05 00:37:54 +00:00
remap_file_pages
2018-11-26 02:04:04 +00:00
remap_file_pages-Xabbrev -Xabbrev -e trace=remap_file_pages
remap_file_pages-Xraw -Xraw -e trace=remap_file_pages
remap_file_pages-Xverbose -Xverbose -e trace=remap_file_pages
2017-04-05 00:37:54 +00:00
rename -a35
renameat
renameat2
request_key -a33 -s12
2018-01-22 13:07:13 +01:00
riscv_flush_icache -a34
2017-04-05 00:37:54 +00:00
rmdir -a22
rt_sigpending -a20
rt_sigprocmask
rt_sigqueueinfo -esignal=none
rt_sigreturn -esignal='!USR1'
rt_sigsuspend -a20 -esignal=none
rt_sigtimedwait -a38
rt_tgsigqueueinfo -esignal=none
2018-01-12 18:31:34 +01:00
s390_guarded_storage -a32
s390_guarded_storage-v -e trace=s390_guarded_storage -a32 -v
2018-01-14 10:42:11 +01:00
s390_pci_mmio_read_write -e trace=s390_pci_mmio_read,s390_pci_mmio_write -a30
2018-04-16 01:14:02 +02:00
s390_runtime_instr -a44
2018-01-18 06:22:40 +01:00
s390_sthyi -a47
2018-01-12 18:31:34 +01:00
s390_sthyi-v -e trace=s390_sthyi -a47 -v
2017-04-21 01:29:29 +00:00
sched test_trace_expr times -e/sched
2017-04-05 00:37:54 +00:00
sched_get_priority_mxx -a33 -e trace=sched_get_priority_min,sched_get_priority_max
sched_rr_get_interval -a31
sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity
sched_xetattr -a29 -e trace=sched_getattr,sched_setattr
sched_xetparam -a23 -e trace=sched_getparam,sched_setparam
sched_xetscheduler -a22 -e trace=sched_getscheduler,sched_setscheduler
sched_yield -a14
seccomp-filter -e trace=seccomp
seccomp-filter-v -v -e trace=seccomp
2017-11-02 00:21:57 +00:00
seccomp_get_action_avail -e trace=seccomp
2017-04-05 00:37:54 +00:00
select -a36
2018-01-23 01:06:09 +00:00
select-P -a36 -e trace=select -P /dev/full 9>>/dev/full
2017-04-05 00:37:54 +00:00
semop -a32 -e trace=semop,semtimedop
sendfile -a27
sendfile64 -a29
set_mempolicy -s3 -a35
setdomainname -a24
setfsgid -a12
setfsgid32 -a14
setfsuid -a12
setfsuid32 -a14
setgid -a10
setgid32 -a12
setgroups -s2 -a17
setgroups32 -s2 -a19
sethostname -a22
setns -a21
setregid -a15
setregid32 -a17
setresgid -a19
setresgid32 -a21
setresuid -a19
setresuid32 -a21
setreuid -a15
setreuid32 -a17
setrlimit -a27
setuid -a10
setuid32 -a12
2017-04-18 23:25:04 +00:00
shmxt -a11 -e trace='/(osf_)?shmat,shmdt'
2017-04-05 00:37:54 +00:00
shutdown -a24
2017-05-28 17:13:29 +00:00
sigaction -a31
2017-04-05 00:37:54 +00:00
siginfo -e trace=none
2017-05-26 20:42:13 +00:00
signal -a25 -e signal=none -e trace='/^signal$'
2017-04-05 00:37:54 +00:00
signal_receive -a16 -e trace=kill
signalfd4
2017-05-28 00:09:52 +00:00
sigpending -a15
2017-05-28 00:09:45 +00:00
sigprocmask -a34
2017-04-05 00:37:54 +00:00
sigreturn -esignal='!USR1'
2017-04-30 20:33:04 +00:00
sigsuspend -a19 -esignal=none
2018-12-18 04:16:11 +09:00
so_error -e trace=getsockopt
2017-07-08 14:57:44 +00:00
so_linger -e trace=getsockopt,setsockopt
2017-07-08 19:27:26 +00:00
so_peercred -e trace=getsockopt
2018-04-11 19:34:31 +02:00
so_peercred-Xabbrev -e trace=getsockopt -Xabbrev
so_peercred-Xraw -e trace=getsockopt -Xraw -a39
so_peercred-Xverbose -e trace=getsockopt -Xverbose
2017-07-08 14:57:44 +00:00
sock_filter-v -v -e trace=getsockopt,setsockopt
tests: add sock_filtrer-v variants with different xlat verbosity levels
* tests/sock_filter-v-Xabbrev.c: New file.
* tests/sock_filter-v-Xraw.c: Likewise.
* tests/sock_filter-v-Xverbose.c: Likewise.
* tests/sock_filter-v.c (PRINT_STMT_SYM, PRINT_STMT_SYM_,
PRINT_STMT_VAL, PRINT_STMT_VAL_, PRINT_JUMP_): Remove.
(HEX_FMT, XLAT_FMT, XLAT_ARGS, PRINT_STMT): New macros.
(PRINT_JUMP): Rewrite.
(print_filter): Rewrite using PRINT_STMT and new PRINT_JUMP.
(main): Print SOL_SOCKET, SO_ATTACH_FILTER, and SO_ATTACH_REUSEPORT_CBPF
using XLAT_FMT/XLAT_ARGS macros.
* tests/pure_executables.list: Add sock_filter-v-Xabbrev,
sock_filter-v-Xraw, and sock_filter-v-Xverbose.
* tests/.gitignore: Likewise.
* tests/gen_tests.in (sock_filter-v-Xabbrev, sock_filter-v-Xraw,
sock_filter-v-Xverbose): New tests.
Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-05-09 12:44:28 +00:00
sock_filter-v-Xabbrev -v -e trace=getsockopt,setsockopt -X abbrev
sock_filter-v-Xraw -a 37 -v -e trace=getsockopt,setsockopt -X raw
sock_filter-v-Xverbose -v -e trace=getsockopt,setsockopt -X verbose
2019-01-02 13:15:28 -08:00
sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect
sockaddr_xlat-Xraw -Xraw -e trace=connect
sockaddr_xlat-Xverbose -Xverbose -e trace=connect
2017-04-05 00:37:54 +00:00
socketcall -a20
2017-11-16 00:12:46 +00:00
sockopt-sol_netlink -e trace=getsockopt,setsockopt
2017-04-05 00:37:54 +00:00
splice
2017-04-20 01:01:29 +02:00
stat -a32 -v -P stat.sample -P /dev/full
stat64 -a32 -v -P stat.sample -P /dev/full
2017-04-19 00:02:56 +00:00
statfs -a17
statfs64 -a23
2017-04-20 01:01:29 +02:00
statx -a32 -v -P stat.sample -P /dev/full
2017-04-05 00:37:54 +00:00
swap -a23 -e trace=swapon,swapoff
2017-05-22 10:48:13 +00:00
sxetmask -a11 -e trace=sgetmask,ssetmask
2017-04-05 00:37:54 +00:00
symlink -a34
symlinkat
sync -a7
sync_file_range
sync_file_range2
sysinfo -a14
syslog -a36
tee
time -a10
timer_create
timer_xettime -e trace=timer_create,timer_settime,timer_gettime
timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime
times -esignal=none
times-fail -a12 -e trace=times
2017-04-21 03:54:02 +00:00
trace_fstat test_trace_expr '' -e%fstat -v -P stat.sample -P /dev/full
2017-04-17 20:29:44 +02:00
trace_fstatfs test_trace_expr '' -e%fstatfs
2017-04-21 03:54:02 +00:00
trace_lstat test_trace_expr '' -e%lstat -v -P stat.sample -P /dev/full
2018-05-20 03:14:08 +02:00
trace_personality_32 +qualify_personality.sh 32 'getcwd' 'fsync-y'
trace_personality_64 +qualify_personality.sh 64 'getcwd' 'fsync-y'
trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*'
trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*'
trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*'
2019-01-02 00:29:09 +00:00
trace_personality_x32 +qualify_personality.sh x32 'getcwd' 'fsync-y'
2017-04-25 04:23:12 +02:00
trace_question test_trace_expr '' -e?osf_utimes,?/^pkey_.*
2017-04-21 03:54:02 +00:00
trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full
trace_stat_like test_trace_expr '' -e%%stat -v -P stat.sample -P /dev/full
2017-04-20 02:43:49 +02:00
trace_statfs test_trace_expr '' -e%statfs
Implement -e trace=%%statfs option
linux/*/syscallent*.h part is updated automatically by:
sed -i 's/\(TSF\),[[:space:]]\?/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/\(TFSF\),/\1|TSFA,/' linux/*/syscallent*.h
sed -i 's/0\(,.*ustat\)/TSFA\1/' linux/*/syscallent*.h
* sysent.h (TRACE_STATFS_LIKE): New macro.
* syscall.c: Alias TSFA to TRACE_STATFS_LIKE around syscallent.h inclusion.
* qualify.c (lookup_class): Add SCHED_STATFS_LIKE for "%%statfs".
* strace.1 (.SS Filtering): Add information about %%statfs syscall class.
* NEWS: Mention this change.
* linux/32/syscallent.h (statfs64, fstatfs64): Add TSFA flag.
* linux/64/syscallent.h (statfs, fstatfs): Likewise.
* linux/aarch64/syscallent.h (statfs, fstatfs, ustat): Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (statfs, statfs64, fstatfs, fstatfs64, ustat):
Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (osf_statfs, osf_statfs64, statfs,
ofs_fstatfs, osf_fstatfs64, ustat): Likewise.
* linux/mips/syscallent-compat.h (*_statfs, *_statvfs, *_fstatfs): Likewise.
* tests/gen_tests.in (trace_statfs_like): New entry.
* tests/trace_statfs_like.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TSFA): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
2017-04-16 15:30:29 +02:00
trace_statfs_like test_trace_expr '' -e%%statfs
2017-04-05 00:37:54 +00:00
truncate
truncate64
ugetrlimit -a28
umask -a11
umoven-illptr -a36 -e trace=nanosleep
umovestr-illptr -a11 -e trace=chdir
umovestr3 -a14 -e trace=chdir
unlink -a24
unlinkat -a35
unshare -a11
userfaultfd -a38
ustat -a33
2017-04-16 17:28:00 +00:00
utime -a16
utimensat -a33
2018-08-26 01:30:15 +02:00
utimensat-Xabbrev -a33 -Xabbrev -e trace=utimensat
utimensat-Xraw -a29 -Xraw -e trace=utimensat
utimensat-Xverbose -a44 -Xverbose -e trace=utimensat
2017-04-16 18:47:29 +00:00
utimes -a17
2017-04-05 00:37:54 +00:00
vfork-f -a26 -qq -f -e signal=none -e trace=chdir
vhangup -a10
vmsplice -ewrite=1
wait4 -esignal=none
wait4-v -v -e signal=none -e trace=wait4
waitid -esignal=none
waitid-v -v -e signal=none -e trace=waitid
waitpid -a28
2017-04-06 22:22:50 +00:00
xattr -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr
2017-04-05 00:37:54 +00:00
xattr-strings -a22 -s 4 -e trace=fsetxattr
xet_robust_list -a24 -e trace=get_robust_list,set_robust_list
xetitimer -a29 -e trace=setitimer,getitimer
xetpgid -a11 -e trace=getpgid,setpgid
xetpriority -a29 -e trace=getpriority,setpriority
xettimeofday -a20 -e trace=gettimeofday,settimeofday