Go to file
Dmitry V. Levin 442560c875 build: generate all union bpf_attr checks automatically
Rather than list by hand some members of union bpf_attr that we check
for availability, automatically list all members of union bpf_attr we
are aware of.

* m4/gen_bpf_attr_m4.sh: New file.
* bootstrap: Invoke it.
* configure.ac (AC_CHECK_HEADERS([linux/bpf.h])): Use st_BPF_ATTR.
* m4/.gitignore: New file.
2018-04-04 12:24:19 +00:00
ci ci: install libunwind8-dev 2018-03-26 13:10:06 +00:00
debian debian: sync with 4.21-1 package 2018-02-25 00:31:14 +00:00
dist Move README to dist subdirectory 2018-03-16 00:55:58 +00:00
linux Introduce print_big_u64_addr 2018-04-04 12:24:19 +00:00
m4 build: generate all union bpf_attr checks automatically 2018-04-04 12:24:19 +00:00
maint Restore kvm ioctl definitions for aarch64 and mips architectures 2018-04-03 18:11:25 +00:00
qemu_multiarch_testing Wipe out references to defunct sourceforge 2018-02-23 23:18:56 +00:00
test Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
tests tests: forward SIZEOF_KERNEL_LONG_T and SIZEOF_LONG to C preprocessor 2018-04-04 12:24:19 +00:00
xlat xlat: cleanup mmap_flags.in 2018-03-27 22:22:23 +00:00
.gitignore Move README to dist subdirectory 2018-03-16 00:55:58 +00:00
.gitlab-ci.yml ci: rename travis-build.sh and travis-install.sh scripts 2018-03-13 13:19:02 +00:00
.mailmap Update .mailmap 2018-01-07 03:11:21 +00:00
.travis.yml ci: rename travis-build.sh and travis-install.sh scripts 2018-03-13 13:19:02 +00:00
access.c access.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
affinity.c Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
aio.c aio: change struct iocb.aio_lio_opcode output format 2017-07-17 11:59:26 +00:00
alpha.c Update copyright headers 2018-02-13 22:00:00 +00:00
arch_defs.h arch_defs.h: fix typo in comment 2018-03-28 04:29:22 +00:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
basic_filters.c Update copyright headers 2018-02-13 22:00:00 +00:00
bind.c net: move parsers of bind, listen, and shutdown to separate files 2017-07-09 13:54:01 +00:00
bjm.c Add copyright headers 2017-05-22 17:33:51 +00:00
block.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
bootstrap build: generate all union bpf_attr checks automatically 2018-04-04 12:24:19 +00:00
bpf_attr.h bpf: move definitions of bpf_attr structures to separate header file 2018-04-04 12:24:19 +00:00
bpf_filter.c bpf_filter: fix indentation of the switch clause 2018-03-09 01:04:28 +00:00
bpf_filter.h Generalize seccomp filter parser 2017-07-08 01:49:00 +00:00
bpf_fprog.h Generalize seccomp filter parser 2017-07-08 01:49:00 +00:00
bpf_seccomp_filter.c Add SECCOMP_RET_KILL_PROCESS decoding support 2017-11-01 02:05:41 +00:00
bpf_sock_filter.c Implement decoding of linux socket filter programs 2017-07-08 14:57:44 +00:00
bpf.c bpf: move definitions of bpf_attr structures to separate header file 2018-04-04 12:24:19 +00:00
btrfs.c btrfs: print struct btrfs_ioctl_logical_ino_args.reserved if non-zero 2018-03-20 20:44:34 +00:00
build_static_example.sh Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
cacheflush.c Add copyright headers 2017-05-22 17:33:51 +00:00
capability.c Add copyright headers 2017-05-22 17:33:51 +00:00
caps0.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
caps1.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
chdir.c chdir.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
chmod.c Fix printing of mode_t, umode_t, and umask types 2016-08-03 23:27:03 +00:00
clone.c Treat RVAL_DECIMAL the same way as RVAL_UDECIMAL 2018-03-29 16:00:18 +00:00
configure.ac build: generate all union bpf_attr checks automatically 2018-04-04 12:24:19 +00:00
copy_file_range.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
COPYING Update copyright headers 2018-02-15 11:07:03 +00:00
copyright-year-gen copyright-year-gen: workaround for old git versions 2017-08-28 02:31:33 +02:00
count.c Replace struct timeval with struct timespec in time measurements 2018-03-20 02:30:24 +00:00
CREDITS.in Wipe out references to defunct sourceforge 2018-02-23 23:18:56 +00:00
defs.h Introduce print_big_u64_addr 2018-04-04 12:24:19 +00:00
delay.c strace: further optimize unblocking of the delay signal handler 2018-03-23 00:20:33 +00:00
delay.h Move delay interface from defs.h to delay.h 2018-03-28 04:29:22 +00:00
desc.c Update copyright headers 2018-02-13 22:00:00 +00:00
dirent64.c Introduce print_quoted_cstring 2017-07-24 12:10:54 +00:00
dirent.c Introduce print_quoted_cstring 2017-07-24 12:10:54 +00:00
dm.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
dyxlat.c dyxlat: use xgrowarray 2017-12-14 00:05:04 +00:00
empty.h Add mpers support 2015-08-28 08:46:23 +00:00
epoll.c Add copyright headers 2017-05-22 17:33:51 +00:00
error_prints.c error_prints: fix potential program_invocation_name type conflict 2017-09-08 10:42:52 +00:00
error_prints.h error_prints.h: add *_func_* printing macros 2017-12-13 00:35:31 +00:00
evdev_mpers.c evdev: move mpers-specific parsers to a separate file 2018-03-27 01:57:00 +00:00
evdev.c evdev: move mpers-specific parsers to a separate file 2018-03-27 01:57:00 +00:00
eventfd.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
execve.c Add copyright headers 2017-05-22 17:33:51 +00:00
fadvise.c Add copyright headers 2017-05-22 17:33:51 +00:00
fallocate.c fallocate: change print format of offset and len arguments to signed 2016-09-27 18:02:07 +00:00
fanotify.c Add copyright headers 2017-05-22 17:33:51 +00:00
fchownat.c fchownat.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fcntl.c Add copyright headers 2017-05-22 17:33:51 +00:00
fetch_bpf_fprog.c Implement decoding of linux socket filter programs 2017-07-08 14:57:44 +00:00
fetch_indirect_syscall_args.c Transform fetch_old_mmap_args into fetch_indirect_syscall_args 2018-01-23 23:17:02 +00:00
fetch_struct_flock.c Add copyright headers 2017-05-22 17:33:51 +00:00
fetch_struct_keyctl_kdf_params.c keyctl: add support for KDF parameters decoding in KEYCTL_DH_COMPUTE 2017-09-02 21:48:14 +00:00
fetch_struct_mmsghdr.c Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
fetch_struct_msghdr.c Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
fetch_struct_stat64.c Add copyright headers 2017-05-22 17:33:51 +00:00
fetch_struct_stat.c Add copyright headers 2017-05-22 17:33:51 +00:00
fetch_struct_statfs.c Update copyright headers 2017-09-05 10:09:10 +02:00
file_handle.c Add copyright headers 2017-05-22 17:33:51 +00:00
file_ioctl.c Update copyright headers 2017-09-05 10:09:10 +02:00
file-date-gen Add script for generating date of the last commit for specific file 2017-08-10 21:36:01 +02:00
filter_qualify.c Implement injection of negative return values 2018-03-29 01:30:09 +00:00
filter.h Update copyright headers 2018-02-13 22:00:00 +00:00
flock.c Add copyright headers 2017-05-22 17:33:51 +00:00
flock.h Add copyright headers 2017-05-22 17:33:51 +00:00
fs_x_ioctl.c Update copyright headers 2017-09-05 10:09:10 +02:00
fstatfs64.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
fstatfs.c Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +00:00
futex.c Add copyright headers 2017-05-22 17:33:51 +00:00
gcc_compat.h build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
generate_mpers_am.sh Consistently use extended regular expressions where appropriate 2016-07-28 18:32:18 +00:00
generate_sen.sh Generate SEN numbers in a locale independent order 2016-10-04 08:19:27 +00:00
get_robust_list.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
getcpu.c getcpu.c: use printnum_int and printaddr 2015-07-20 22:03:07 +00:00
getcwd.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
getpagesize.c Move decoder of getpagesize syscall to libstrace 2018-01-21 20:19:53 +00:00
getrandom.c getrandom: print string as hex-escaped 2017-01-06 11:43:50 +00:00
git-set-file-times Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
git-version-gen Add copyright headers 2017-05-22 17:33:51 +00:00
gitlog-to-changelog Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
HACKING-scripts Move errnoent.sh, signalent.sh, and syscallent.sh to maint subdirectory 2017-05-16 02:11:35 +00:00
hdio.c Update copyright headers 2017-09-05 10:09:10 +02:00
hostname.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
inotify.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
INSTALL INSTALL: regenerate from install.texi 2017-03-05 16:29:41 +00:00
INSTALL-git.md INSTALL-git.md: enhance phrasing 2018-03-20 13:45:10 +00:00
io.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
ioctl_iocdef.c ioctlsort: get ioctl definitions from host, not build 2017-01-13 03:17:37 +00:00
ioctl.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
ioctlsort.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
ioperm.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
iopl.c Implement iopl syscall decoding 2015-11-22 23:10:12 +00:00
ioprio.c Update copyright headers 2018-02-13 22:00:00 +00:00
ipc_defs.h Fix macros encosure in a do/while loop 2017-06-17 21:51:48 +00:00
ipc_msg.c Add copyright headers 2017-05-22 17:33:51 +00:00
ipc_msgctl.c Add copyright headers 2017-05-22 17:33:51 +00:00
ipc_sem.c Add copyright headers 2017-05-22 17:33:51 +00:00
ipc_shm.c ipc_shm: decode hugetlb page size in shmget flags 2017-11-18 01:35:20 +00:00
ipc_shmctl.c Add copyright headers 2017-05-22 17:33:51 +00:00
ipc.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
kcmp.c kcmp: add KCMP_EPOLL_TFD support 2017-09-17 12:04:11 +00:00
kernel_types.h ppc64: fix PRI__64 macro definition when compiled with -m32 2017-09-20 00:15:02 +00:00
kexec.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
keyctl_kdf_params.h keyctl: add support for KDF parameters decoding in KEYCTL_DH_COMPUTE 2017-09-02 21:48:14 +00:00
keyctl.c keyctl: add support for KDF parameters decoding in KEYCTL_DH_COMPUTE 2017-09-02 21:48:14 +00:00
kvm.c kvm: decode the argument of KVM_{SET, GET}_SREGS ioctl command 2017-12-04 18:29:38 +00:00
largefile_wrappers.h Replace fopen_for_input and fopen_for_output with fopen_stream 2018-02-27 13:14:38 +00:00
ldt.c Remove RVAL_PRINT_ERR_VAL 2018-03-29 16:00:18 +00:00
link.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
listen.c net: move parsers of bind, listen, and shutdown to separate files 2017-07-09 13:54:01 +00:00
lookup_dcookie.c Add copyright headers 2017-05-22 17:33:51 +00:00
loop.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
lseek.c Treat RVAL_DECIMAL the same way as RVAL_UDECIMAL 2018-03-29 16:00:18 +00:00
macros.h Move is_filled and IS_ZERO to macros.h, rename IS_ZERO to IS_ARRAY_ZERO 2018-03-20 20:44:34 +00:00
make-dist make-dist: use HEAD for making distribution package 2016-11-18 12:57:02 +00:00
make-dsc Consistently use extended regular expressions where appropriate 2016-07-28 18:32:18 +00:00
Makefile.am bpf: move definitions of bpf_attr structures to separate header file 2018-04-04 12:24:19 +00:00
mem.c Remove addflags 2018-04-01 13:14:15 +00:00
membarrier.c Add copyright headers 2017-05-22 17:33:51 +00:00
memfd_create.c memfd_create: decode hugetlb page size 2017-11-18 00:19:31 +00:00
mknod.c Add copyright headers 2017-05-22 17:33:51 +00:00
mmap_cache.c Replace fopen_for_input and fopen_for_output with fopen_stream 2018-02-27 13:14:38 +00:00
mmap_cache.h Introduce mmap_cache.h 2018-02-26 23:22:24 +00:00
mmsghdr.c Update copyright headers 2018-02-13 22:00:00 +00:00
mount.c Add copyright headers 2017-05-22 17:33:51 +00:00
mpers_test.sh mpers.awk: use stdint.h instead of inttypes.h 2018-02-24 20:42:03 +00:00
mpers_type.h Provide mpers_ptr_t definition for non-mpers case 2017-07-15 03:08:12 +03:00
mpers.awk mpers.awk: use stdint.h instead of inttypes.h 2018-02-24 20:42:03 +00:00
mpers.sh Update copyright headers 2018-02-13 22:00:00 +00:00
mq.c Update copyright headers 2018-02-13 22:00:00 +00:00
msghdr.c Pass tcp argument to get_optmem_max/read_int_from_file 2018-01-07 16:46:32 +00:00
msghdr.h Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
mtd.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
native_defs.h Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
negated_errno.h Update copyright headers 2018-02-13 22:00:00 +00:00
net.c Update copyright headers 2018-02-13 22:00:00 +00:00
netlink_crypto.c netlink: decode NETLINK_CRYPTO crypto_user_alg netlink attributes 2017-07-24 11:18:43 +00:00
netlink_inet_diag.c Update copyright headers 2018-02-13 22:00:00 +00:00
netlink_netfilter.c nfnetlink: introduce generic netfilter subsystem decoder 2018-03-11 15:35:19 +00:00
netlink_netlink_diag.c Update copyright headers 2018-02-13 22:00:00 +00:00
netlink_packet_diag.c Sort Ethernet protocols xlat 2018-03-07 18:13:29 +00:00
netlink_route.c netlink: add a basic rtnetlink parser of nsid messages 2017-08-14 01:10:21 +00:00
netlink_route.h netlink: add a basic rtnetlink parser of nsid messages 2017-08-14 01:10:21 +00:00
netlink_selinux.c Adjust prototypes of netlink parsing functions 2017-07-19 10:07:34 +00:00
netlink_smc_diag.c netlink_sock_diag: replace NLA_ALIGN with NLMSG_ALIGN 2017-07-22 15:31:09 +00:00
netlink_sock_diag.c Move family-specific NETLINK_SOCK_DIAG parsers to separate files 2017-07-19 10:07:34 +00:00
netlink_sock_diag.h Add terminating comment after each DECL_* macro definition 2017-07-25 14:26:10 +02:00
netlink_unix_diag.c Update copyright headers 2018-02-13 22:00:00 +00:00
netlink.c Move nl_netfilter_msg_types definition from netlink.c to netlink_netfilter.c 2018-03-11 14:49:25 +00:00
netlink.h netlink: decode netlink message delete flags 2017-10-26 18:07:03 +00:00
NEWS Update ioctl entries from linux v4.16 2018-04-03 18:11:25 +00:00
nlattr.c netlink: print descriptor attributes using printfd 2017-11-15 15:30:49 +00:00
nlattr.h netlink: print descriptor attributes using printfd 2017-11-15 15:30:49 +00:00
nsfs.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
nsfs.h Implement decoding of NS_* ioctl commands 2017-04-13 15:46:49 +00:00
nsig.h Introduce NSIG_BYTES 2016-12-27 23:32:44 +00:00
numa.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
number_set.c Hide struct number_set implementation details from users 2017-08-22 21:23:49 +00:00
number_set.h alloc_number_set_array: add ATTRIBUTE_MALLOC 2017-08-24 18:24:16 +00:00
oldstat.c Add copyright headers 2017-05-22 17:33:51 +00:00
open.c Update copyright headers 2018-02-13 22:00:00 +00:00
or1k_atomic.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
pathtrace.c Update copyright headers 2018-02-13 22:00:00 +00:00
perf_event_struct.h perf.c: add support for struct perf_event_attr.namespaces 2018-01-11 15:54:33 +00:00
perf.c Update copyright headers 2018-02-13 22:00:00 +00:00
personality.c Update copyright headers 2018-02-13 22:00:00 +00:00
pkeys.c Remove getarg_klu 2016-12-26 10:43:35 +00:00
poll.c poll.c: remove special INFTIM handling 2018-03-15 14:24:22 +00:00
prctl.c Treat RVAL_DECIMAL the same way as RVAL_UDECIMAL 2018-03-29 16:00:18 +00:00
print_dev_t.c Move device number printing code into a separate routine 2016-12-29 00:11:24 +00:00
print_fields.h Update copyright headers 2018-02-13 22:00:00 +00:00
print_group_req.c Mpersify struct group_req 2017-07-09 18:43:34 +00:00
print_ifindex.c Introduce print_quoted_cstring 2017-07-24 12:10:54 +00:00
print_mq_attr.c Add copyright headers 2017-05-22 17:33:51 +00:00
print_msgbuf.c Add copyright headers 2017-05-22 17:33:51 +00:00
print_sg_req_info.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
print_sigevent.c Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
print_statfs.c Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t 2016-12-26 10:43:34 +00:00
print_struct_stat.c Add copyright headers 2017-05-22 17:33:51 +00:00
print_time.c Add copyright headers 2017-05-22 17:33:51 +00:00
print_timespec.c Update copyright headers 2018-02-13 22:00:00 +00:00
print_timeval.c Update copyright headers 2018-02-13 22:00:00 +00:00
print_timex.c Add copyright headers 2017-05-22 17:33:51 +00:00
printmode.c Add copyright headers 2017-05-22 17:33:51 +00:00
printrusage.c Add copyright headers 2017-05-22 17:33:51 +00:00
printsiginfo.c Update copyright headers 2018-02-13 22:00:00 +00:00
printsiginfo.h Unify usage of #include guards 2016-08-08 09:54:01 +00:00
process_vm.c Add copyright headers 2017-05-22 17:33:51 +00:00
process.c Implement PTRACE_SECCOMP_GET_METADATA ptrace request decoding 2018-03-06 23:52:08 +00:00
ptp.c ptp.c: print field names and use macros form print_fields.h 2018-03-12 13:52:32 +00:00
ptrace.h Implement PTRACE_SECCOMP_GET_METADATA ptrace request decoding 2018-03-06 23:52:08 +00:00
quota.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
readahead.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
readlink.c Add copyright headers 2017-05-22 17:33:51 +00:00
README-hacking doc: update commit requirements 2018-03-16 00:55:58 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
README-mpers mpers: add support of conditionally compiled printers 2016-05-21 22:53:06 +00:00
README.md README.md: add references to binary strace packages 2018-03-20 13:45:10 +00:00
reboot.c reboot.c: limit printing of the fourth argument to 255 bytes 2018-01-11 15:54:33 +00:00
regs.h m68k: fix build 2018-02-21 23:03:27 +00:00
renameat.c renameat.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
resource.c Update copyright headers 2018-02-13 22:00:00 +00:00
retval.c Turn struct inject_data.rval into an index 2018-03-28 04:29:22 +00:00
retval.h Turn struct inject_data.rval into an index 2018-03-28 04:29:22 +00:00
riscv.c Implement decoding of riscv_flush_icache syscall 2018-01-25 01:55:08 +00:00
rt_sigframe.c Update copyright headers 2018-02-13 22:00:00 +00:00
rt_sigreturn.c Implement proper decoding of rt_sigreturn syscall 2017-03-13 15:22:50 +00:00
rtc.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
rtnl_addr.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_addrlabel.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_dcb.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_link.c rtnl_link: add decoding of new IFLA_* attributes 2018-02-27 13:14:38 +00:00
rtnl_mdb.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_neigh.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_neightbl.c rtnl_neightbl: enhance decoding of struct ndt_stats 2017-09-01 08:41:08 +00:00
rtnl_netconf.c rtnl_netconf: decode netconfmsg netlink attributes 2017-08-29 15:23:59 +08:00
rtnl_nsid.c netlink: print descriptor attributes using printfd 2017-11-15 15:30:49 +00:00
rtnl_route.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_rule.c Update copyright headers 2018-02-13 22:00:00 +00:00
rtnl_tc_action.c rtnl_tc_action: decode tcamsg netlink attributes 2017-09-07 11:35:04 +00:00
rtnl_tc.c rtnl_tc: support new TCA_* attributes 2018-02-27 13:14:38 +00:00
s390.c Move is_filled and IS_ZERO to macros.h, rename IS_ZERO to IS_ARRAY_ZERO 2018-03-20 20:44:34 +00:00
sched_attr.h Move definition of struct sched_attr to a separate header file 2017-02-18 09:58:52 +00:00
sched.c Wipe out references to defunct sourceforge 2018-02-23 23:18:56 +00:00
scno.am Add ksysent.h and scno.h to BUILT_SOURCES 2017-07-20 00:06:06 +00:00
scno.head Generate scno.h without invoking a generated executable helper 2017-01-01 20:59:11 +00:00
scsi.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
seccomp.c seccomp: decode SECCOMP_GET_ACTION_AVAIL operation 2017-11-02 00:21:57 +00:00
sendfile.c Add copyright headers 2017-05-22 17:33:51 +00:00
sg_io_v3.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
sg_io_v4.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
shutdown.c net: move parsers of bind, listen, and shutdown to separate files 2017-07-09 13:54:01 +00:00
sigaltstack.c Add copyright headers 2017-05-22 17:33:51 +00:00
sigevent.h Unify usage of #include guards 2016-08-08 09:54:01 +00:00
signal.c Update copyright headers 2018-02-13 22:00:00 +00:00
signalfd.c Add copyright headers 2017-05-22 17:33:51 +00:00
sigreturn.c Include <sys/ptrace.h> early 2018-02-11 00:26:09 +00:00
sock.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
sockaddr.c Sort Ethernet protocols xlat 2018-03-07 18:13:29 +00:00
socketcall.c Do not print too many arguments of socketcall syscall 2016-07-21 12:32:14 +00:00
socketutils.c util.c: add support for additional escape characters in string_quote 2018-03-01 01:00:24 +00:00
sparc.c sparc, sparc64: implement kern_features decoder 2018-03-27 22:22:23 +00:00
sram_alloc.c Use printflags64 instead of printflags_long 2016-12-25 21:55:01 +00:00
stat64.c Add copyright headers 2017-05-22 17:33:51 +00:00
stat.c Add copyright headers 2017-05-22 17:33:51 +00:00
stat.h Add copyright headers 2017-05-22 17:33:51 +00:00
statfs64.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
statfs.c Fix decoding of statfs family syscalls 2016-04-26 01:35:31 +00:00
statfs.h Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
static_assert.h Introduce static_assert 2018-04-04 12:24:19 +00:00
statx.c Unify different generic PRINT_FIELD_* implementations 2017-07-01 13:14:49 +00:00
statx.h Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
strace-graph Unify capitalisation of (c) in copyright notices 2017-05-26 19:43:11 +00:00
strace-log-merge Update copyright headers 2018-02-13 22:00:00 +00:00
strace-log-merge.1.in Wipe out references to defunct sourceforge 2018-02-23 23:18:56 +00:00
strace.1.in Implement delay injection 2018-03-22 06:23:25 +00:00
strace.c Add i18n support 2018-04-01 13:14:15 +00:00
strace.spec.in strace.spec.in: add gcc to build requirements 2018-02-26 23:22:24 +00:00
strace.svg Add strace mascot 2017-12-03 19:53:48 +01:00
string_to_uint.c Update copyright headers 2018-02-13 22:00:00 +00:00
string_to_uint.h Update copyright headers 2018-02-13 22:00:00 +00:00
swapon.c swap: always print priority value 2016-12-01 00:05:09 +00:00
sync_file_range2.c Add copyright headers 2017-05-22 17:33:51 +00:00
sync_file_range.c Add copyright headers 2017-05-22 17:33:51 +00:00
syscall.c Remove RVAL_PRINT_ERR_VAL 2018-03-29 16:00:18 +00:00
sysctl.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
sysent_shorthand_defs.h Add pure syscall flag 2018-02-10 01:33:49 +00:00
sysent_shorthand_undefs.h Make sysent_shorthand_defs.h suitable for tests 2017-08-07 12:49:44 +00:00
sysent.h Add pure syscall flag 2018-02-10 01:33:49 +00:00
sysinfo.c Add copyright headers 2017-05-22 17:33:51 +00:00
syslog.c Add copyright headers 2017-05-22 17:33:51 +00:00
sysmips.c Introduce print_quoted_cstring 2017-07-24 12:10:54 +00:00
term.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
time.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
times.c Treat RVAL_DECIMAL the same way as RVAL_UDECIMAL 2018-03-29 16:00:18 +00:00
trace_event.h Move enum trace_event into a separate header 2018-01-04 00:16:21 +01:00
truncate.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
ubi.c Remove linux/ubi-user.h 2017-12-23 02:53:54 +00:00
ucopy.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 2014-12-16 01:07:12 +00:00
uid.c Treat RVAL_DECIMAL the same way as RVAL_UDECIMAL 2018-03-29 16:00:18 +00:00
umask.c Fix printing of mode_t, umode_t, and umask types 2016-08-03 23:27:03 +00:00
umount.c Update umount2 flags 2015-12-07 00:38:38 +00:00
uname.c Update copyright headers 2017-09-05 10:09:10 +02:00
unwind.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
upeek.c Change the first argument of upeek from pid to tcp 2018-01-04 00:37:27 +01:00
upoke.c Update copyright headers 2018-02-13 22:00:00 +00:00
userfaultfd.c Imply RVAL_DECODED when RVAL_IOCTL_PARSED is returned on entering 2017-08-28 00:39:15 +00:00
ustat.c Implement decoding of ustat syscall 2017-01-20 18:30:11 +00:00
util.c util.c: amend sprinttime_ex description a bit 2018-04-01 13:14:15 +00:00
utime.c Always print raw values of time data fields 2017-04-24 23:14:57 +00:00
utimes.c Add copyright headers 2017-05-22 17:33:51 +00:00
v4l2.c build: prepare for -Wimplicit-fallthrough=5 2018-03-06 23:52:08 +00:00
wait.c Update copyright headers 2018-02-13 22:00:00 +00:00
xattr.c Automatically replace PRI_kr[dux] with PRI_kl[dux] 2016-12-26 10:43:34 +00:00
xlat.c Remove addflags 2018-04-01 13:14:15 +00:00
xlat.h Unify usage of #include guards 2016-08-08 09:54:01 +00:00
xmalloc.c xmalloc.c: introduce xgrowarray helper function 2017-12-14 00:05:04 +00:00
xmalloc.h Define macros for renaming xmalloc and xcalloc 2017-12-26 21:36:49 +00:00
xstring.h xstring.h: rephrase xappendstr description a bit 2018-02-10 13:52:42 +00:00

strace - the linux syscall tracer

This is strace -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.

strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.

See the file NEWS for information on what has changed in recent versions.

Please read the file INSTALL-git for installation instructions.

The user discussion and development of strace take place on the strace mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.strace.io. The mailing list archives are available at https://lists.strace.io/pipermail/strace-devel/ and other archival sites.

The GIT repository of strace is available at GitHub and GitLab.

The latest binary strace packages are available in many repositories, including OBS, Fedora rawhide, and Sisyphus.

Build Status Code Coverage