Go to file
Eugene Syromyatnikov 9228e78d4f bpf: add support for checking structures outside union bpf_attr
struct bpf_prog_info and bpf_map_info need essentially the same handling
as union bpf_attr.

* gen_bpf_attr_check.sh: Derive type_name from $struct if it doesn't
start with "BPF_", derive TYPE_NAME from type_name, use them in code
generation.
* m4/gen_bpf_attr_m4.sh: Rewrite parsing/generation code into awk,
add support for structures outside union bpf_attr.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-05-28 17:34:50 +00:00
ci ci: install libbluetooth-dev 2018-05-08 14:25:27 +00:00
debian build: rewrite libdw detection without pkg-config 2018-05-05 14:38:38 +00:00
dist dist/README: s/linux/Linux/ 2018-04-04 20:32:42 +00:00
linux Simplify errnoent and signalent 2018-05-22 01:08:31 +00:00
m4 bpf: add support for checking structures outside union bpf_attr 2018-05-28 17:34:50 +00:00
maint maint: update for linux 4.17-rc5 2018-05-17 22:54:35 +03: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: add union bpf_attr.query.prog_ids field decoding checks 2018-05-28 17:34:50 +00:00
xlat bpf: add support for instruction decoding 2018-05-28 17:34:50 +00:00
.gitignore Check that structures defined by bpf_attr.h match system union bpf_attr 2018-04-04 12:24:19 +00:00
.gitlab-ci.yml ci: add more variants of unwinder to test matrices 2018-05-04 23:13:45 +00:00
.mailmap Update .mailmap 2018-01-07 03:11:21 +00:00
.travis.yml ci: add more variants of unwinder to test matrices 2018-05-04 23:13:45 +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 Update copyright headers 2018-04-05 01:40:00 +00:00
bootstrap build: generate all union bpf_attr checks automatically 2018-04-04 12:24:19 +00:00
bpf_attr.h bpf: add support for BPF_RAW_TRACEPOINT_OPEN command decoding 2018-05-23 23:27:43 +00:00
bpf_filter.c bpf: use indexed lookups where appropriate 2018-05-16 10:58:32 +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 xlat: provide fallback definitions for SKF_*_OFF constants 2018-05-07 10:52:16 +00:00
bpf.c bpf: remove bpf_priv_data 2018-05-28 17:34:50 +00:00
btrfs.c Remove some duplicate fallback definitions 2018-05-08 20:59:20 +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 sockaddr: add support for sockaddr_l2 without l2_bdaddr_type 2018-05-23 23:27:43 +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 build: make it even more reproducible 2018-04-20 13:15:38 +00: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 Implement PERF_EVENT_IOC_* decoding 2018-05-28 17:34:50 +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 Update copyright headers 2018-04-05 01:40:00 +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: add missing va_end() calls 2018-05-03 00:09:53 +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 Make printxval_dispatch publicly available 2018-05-21 11:02:54 +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
f_owner_ex.h Introduce f_owner_ex.h 2018-05-03 00:09:53 +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 fanotify: use print_xlat_d 2018-04-12 23:00:28 +00:00
fchownat.c fchownat.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fcntl.c xlat: merge fcntl64cmds into fcntlcmds 2018-05-03 00:09:53 +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 file_ioctl: make abbreviated output more structured 2018-04-20 12:39:05 +00:00
file-date-gen build: make it more reproducible 2018-04-19 18:03:58 +00: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 futex: use print_xlat 2018-04-13 01:00:09 +02:00
gcc_compat.h xlat: check that system definitions match fallback definitions 2018-04-29 21:59:55 +00:00
gen_bpf_attr_check.sh bpf: add support for checking structures outside union bpf_attr 2018-05-28 17:34:50 +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_ioctl.c ioctl: implement INOTIFY_IOC_SETNEXTWD decoding 2018-05-25 09:15:03 +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 Implement PERF_EVENT_IOC_* decoding 2018-05-28 17:34:50 +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 ioprio: use sprintxval instead of xlookup and string/value printing 2018-04-27 00:56:25 +00:00
ipc_defs.h ipc_defs.h: use print_xlat 2018-04-13 01:00:09 +02:00
ipc_msg.c ipc: use printxval for printing key 2018-04-13 01:00:09 +02:00
ipc_msgctl.c Add copyright headers 2017-05-22 17:33:51 +00:00
ipc_sem.c ipc: use printxval for printing key 2018-04-13 01:00:09 +02:00
ipc_shm.c ipc_shm: print SHM_HUGE_SHIFT using print_xlat_u 2018-05-07 10:52:16 +00:00
ipc_shmctl.c Add copyright headers 2017-05-22 17:33:51 +00:00
ipc.c ipc: use printxval_u instead of manual xlat value printing 2018-04-27 00:56:25 +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: print KEYCTL_SET_REQKEY_KEYRING argument as an integer 2018-05-25 09:15:03 +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 Update copyright headers 2018-04-05 01:40:00 +00:00
lseek.c Update copyright headers 2018-04-05 01:40:00 +00:00
macros.h Update copyright headers 2018-04-05 01:40:00 +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 Implement PERF_EVENT_IOC_* decoding 2018-05-28 17:34:50 +00:00
mem.c mem: handle potential error from sysconf(_SC_PAGESIZE) 2018-05-03 00:09:53 +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 mmap_cache: do not activate unless requested 2018-05-04 14:45:44 +00:00
mmap_cache.h mmap_cache: do not activate unless requested 2018-05-04 14:45:44 +00:00
mmap_notify.c mmap_notify: new subsystem for tracking the changes of memory mappings 2018-05-03 22:01:30 +00:00
mmap_notify.h mmap_notify: new subsystem for tracking the changes of memory mappings 2018-05-03 22:01:30 +00:00
mmsghdr.c Update copyright headers 2018-02-13 22:00:00 +00:00
mount.c mount: use print_xlat for printing MS_MGC_VAL 2018-04-13 00:25:13 +02: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 Update copyright headers 2018-04-05 01:40:00 +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 xlat/sock_rds_options.in: make it sorted 2018-05-19 09:15:27 +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_kobject_uevent.c netlink: decode libudev netlink header 2018-04-11 22:01:37 +00:00
netlink_kobject_uevent.h netlink: decode libudev netlink header 2018-04-11 22:01:37 +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 Use MIN where appropriate 2018-05-09 22:01:45 +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 Avoid using print_array as a local variable name 2018-05-15 13:30:16 +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.17 2018-05-17 22:54:45 +03:00
nlattr.c nlattr: do not assume that SK_MEMINFO_VARS is constant 2018-05-23 23:27:43 +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 open: use print_xlat_ex for printing open modes 2018-04-27 00:56:25 +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 Implement PERF_EVENT_IOC_* decoding 2018-05-28 17:34:50 +00:00
perf_ioctl.c Implement PERF_EVENT_IOC_* decoding 2018-05-28 17:34:50 +00:00
perf.c Implement PERF_EVENT_IOC_* decoding 2018-05-28 17:34:50 +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 prctl: add PR_GET_SPECULATION_CTRL/PR_SET_SPECULATION_CTRL decoding 2018-05-25 09:15:03 +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 bpf: use indexed lookups where appropriate 2018-05-16 10:58:32 +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_mac.c Add a common MAC address printing routine 2018-05-15 21:41:47 +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 printmode: add xlat style support to print_symbolic_mode_t 2018-04-27 00:56:25 +00:00
printrusage.c Add copyright headers 2017-05-22 17:33:51 +00:00
printsiginfo.c printsiginfo: use print_xlat_ex in print_si_code 2018-04-27 00:56:25 +00:00
printsiginfo.h Change #include guard trailing part comments 2016-08-07 22:02:46 +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 Update copyright headers 2018-04-05 01:40:00 +00:00
ptrace.h Update copyright headers 2018-04-05 01:40:00 +00:00
quota.c Update copyright headers 2018-04-05 01:40:00 +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 Update copyright headers 2018-04-05 01:40:00 +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 Add a common MAC address printing routine 2018-05-15 21:41:47 +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 Use MIN where appropriate 2018-05-09 22:01:45 +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 s390: simplify s390_runtime_instr command printing 2018-05-08 14:25:27 +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 Update copyright headers 2018-04-05 01:40:00 +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 Change #include guard trailing part comments 2016-08-07 22:02:46 +00:00
signal.c signal: use print_xlat_ex in print_sa_handler 2018-04-27 00:56:25 +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 sock: guess ifr_hwaddr size in SIOCSIFHWADDR/SIOCGIFHWADDR 2018-05-23 23:27:43 +00:00
sockaddr.c sockaddr: add support for sockaddr_l2 without l2_bdaddr_type 2018-05-23 23:27:43 +00:00
socketcall.c socketcall: use printxval_d for printing call argument 2018-04-27 00:56:25 +00:00
socketutils.c socketutils: use exact match of unix domain sockets on fresh kernels 2018-05-14 22:54:33 +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 build: try to use _Static_assert if static_assert is not available 2018-04-27 07:19:52 +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-04-05 01:40: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 syscall.c: unify error value printing 2018-05-25 09:15:03 +00:00
strace.c mmap_cache: do not activate unless requested 2018-05-04 14:45:44 +00:00
strace.spec.in tests: robustify signal delivery test against kernel bugs 2018-04-11 22:01:37 +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 syscall.c: unify error value printing 2018-05-25 09:15:03 +00:00
sysctl.c Fix a few spacing style issues 2017-06-17 22:54:08 +00:00
sysent_shorthand_defs.h mmap_notify: rename the macro for tracking memory mapping 2018-05-03 22:01:30 +00:00
sysent_shorthand_undefs.h Make sysent_shorthand_defs.h suitable for tests 2017-08-07 12:49:44 +00:00
sysent.h mmap_notify: rename the macro for tracking memory mapping 2018-05-03 22:01:30 +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 Update copyright headers 2018-04-05 01:40:00 +00:00
time.c time: use indexed lookups 2018-05-15 21:41:47 +00:00
times.c Update copyright headers 2018-04-05 01:40:00 +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 Update copyright headers 2018-04-05 01:40:00 +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-libdw.c unwind-libdw: use the mmap_notify subsystem 2018-05-03 22:01:30 +00:00
unwind-libunwind.c mmap_cache: do not activate unless requested 2018-05-04 14:45:44 +00:00
unwind.c unwind-libdw: use the mmap_notify subsystem 2018-05-03 22:01:30 +00:00
unwind.h unwind-libdw: use the mmap_notify subsystem 2018-05-03 22:01:30 +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-04-05 01:40: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 Introduce print_uint32_array_member helper function 2018-05-23 23:27:43 +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 xlat: provide fallback definitions for V4L2_CID_* constants 2018-05-06 15:34:41 +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 xlat: add support for xlat_styles in printxval_dispatch 2018-05-21 11:02:54 +00:00
xlat.h Change #include guard trailing part comments 2016-08-07 22:02:46 +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