Dmitry V. Levin 3428c8b164 tests: check bpf syscall decoder unconditionally
* configure.ac (AC_CHECK_HEADERS([linux/bpf.h])): Check for
struct bpf_insn.
* tests/bpf.c: Remove the test guard, include "scno.h", "bpf_attr.h",
"xlat.h", and "xlat/bpf_commands.h".  Conditionalize inclusion of
<linux/bpf.h> on HAVE_LINUX_BPF_H.  Remove all HAVE_UNION_* checks.
(BPF_ATTR_DATA_FIELD): New macro.
(bpf_attr_data): New union.  Note that it is larger than modern
union bpf_attr, this allows more checks to be implemented in the future.
(sizeof_attr, test_bpf_): Replace union bpf_attr with
union bpf_attr_data.
(DEF_BPF_INIT_FIRST): Replace union bpf_attr with the corresponding
structure.
(init_BPF_MAP_CREATE_attr): Replace union bpf_attr with
struct BPF_MAP_CREATE_struct.
(init_BPF_MAP_LOOKUP_ELEM_attr): Replace union bpf_attr with
struct BPF_MAP_LOOKUP_ELEM_struct.
(init_BPF_MAP_UPDATE_ELEM_attr): Replace union bpf_attr with
struct BPF_MAP_UPDATE_ELEM_struct.
(init_BPF_MAP_DELETE_ELEM_attr): Replace union bpf_attr with
struct BPF_MAP_DELETE_ELEM_struct.
(init_BPF_MAP_GET_NEXT_KEY_attr): Replace union bpf_attr with
struct BPF_MAP_GET_NEXT_KEY_struct.
(init_BPF_PROG_LOAD_attr): Replace union bpf_attr with
struct BPF_PROG_LOAD_struct.
(init_BPF_OBJ_PIN_attr): Replace union bpf_attr with
struct BPF_OBJ_PIN_struct.
(init_BPF_PROG_ATTACH_attr): Replace union bpf_attr with
struct BPF_PROG_ATTACH_struct.
(init_BPF_PROG_DETACH_attr): Replace union bpf_attr with
struct BPF_PROG_DETACH_struct.
(init_BPF_PROG_GET_NEXT_ID_attr): Replace union bpf_attr with
struct BPF_PROG_GET_NEXT_ID_struct.
(sample_BPF_PROG_TEST_RUN_attr): Change type from union bpf_attr to
struct BPF_PROG_TEST_RUN_struct, all users updated.
(sample_BPF_OBJ_GET_INFO_BY_FD_attr): Change type from union bpf_attr
to struct BPF_OBJ_GET_INFO_BY_FD_struct, all users updated.
2018-04-04 12:24:19 +00:00
2018-03-26 13:10:06 +00:00
2018-02-25 00:31:14 +00:00
2018-03-16 00:55:58 +00:00
2018-04-04 12:24:19 +00:00
2017-06-17 22:54:08 +00:00
2018-03-27 22:22:23 +00:00
2018-01-07 03:11:21 +00:00
2015-07-20 22:03:07 +00:00
2018-02-13 22:00:00 +00:00
2018-03-28 04:29:22 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-07-08 01:49:00 +00:00
2017-07-08 01:49:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2009-07-08 21:01:21 +00:00
2015-07-20 22:03:07 +00:00
2018-02-15 11:07:03 +00:00
2018-04-04 12:24:19 +00:00
2018-02-13 22:00:00 +00:00
2017-07-24 12:10:54 +00:00
2017-07-24 12:10:54 +00:00
2017-12-14 00:05:04 +00:00
2015-08-28 08:46:23 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-09-05 10:09:10 +02:00
2017-03-05 16:29:41 +00:00
2017-06-17 22:54:08 +00:00
2017-06-17 22:54:08 +00:00
2015-11-22 23:10:12 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-09-17 12:04:11 +00:00
2017-06-17 22:54:08 +00:00
2018-03-29 16:00:18 +00:00
2017-05-22 17:33:51 +00:00
2018-04-01 13:14:15 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-26 23:22:24 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2015-09-16 00:14:55 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-04-03 18:11:25 +00:00
2016-12-27 23:32:44 +00:00
2017-06-17 22:54:08 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2017-06-17 22:54:08 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2016-12-26 10:43:35 +00:00
2018-03-15 14:24:22 +00:00
2018-02-13 22:00:00 +00:00
2017-07-09 18:43:34 +00:00
2017-07-24 12:10:54 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2016-08-08 09:54:01 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-03-16 00:55:58 +00:00
2018-02-21 23:03:27 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2016-08-08 09:54:01 +00:00
2018-02-13 22:00:00 +00:00
2017-05-22 17:33:51 +00:00
2018-02-11 00:26:09 +00:00
2018-03-07 18:13:29 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-04-04 12:24:19 +00:00
2017-06-17 22:54:08 +00:00
2018-02-13 22:00:00 +00:00
2018-03-22 06:23:25 +00:00
2018-04-01 13:14:15 +00:00
2017-12-03 19:53:48 +01:00
2018-02-13 22:00:00 +00:00
2018-02-13 22:00:00 +00:00
2016-12-01 00:05:09 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2018-03-29 16:00:18 +00:00
2017-06-17 22:54:08 +00:00
2018-02-10 01:33:49 +00:00
2018-02-10 01:33:49 +00:00
2017-05-22 17:33:51 +00:00
2017-05-22 17:33:51 +00:00
2017-07-24 12:10:54 +00:00
2017-06-17 22:54:08 +00:00
2017-12-23 02:53:54 +00:00
2015-12-07 00:38:38 +00:00
2017-09-05 10:09:10 +02:00
2018-02-13 22:00:00 +00:00
2017-01-20 18:30:11 +00:00
2017-05-22 17:33:51 +00:00
2018-02-13 22:00:00 +00:00
2018-04-01 13:14:15 +00:00
2016-08-08 09:54:01 +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

Description
No description provided
Readme 17 MiB
Languages
C 92.2%
Shell 3.4%
M4 1.4%
Makefile 0.8%
Roff 0.7%
Other 1.5%