strace/tests
Dmitry V. Levin 4b9c68b9a3 Implement full decoding of 64-bit capabilities
Unlike v1 capabilities which are 32-bit, v2 and v3 are 64-bit, but
before this change only lower 32 capability bits were decoded for
v2 and v3.

* xlat/capabilities1.in: New file.
* capability.c: Define v2/v3 CAP_* constants.
Include xlat/capabilities1.h.
(get_cap_header): New function.
(print_cap_header): Update to use get_cap_header result.
(print_cap_data): Decoder higher capability bits for v2 and v3.
(sys_capget, sys_capset): Use get_cap_header, update print_cap_header
and print_cap_data calls.
* tests/caps.c: New file.
* tests/caps.awk: New file.
* tests/caps.test: New test.
* tests/Makefile.am (CHECK_PROGRAMS): Add caps.
(TESTS): Add caps.test.
(EXTRA_DIST): Add caps.awk.
2014-12-06 03:53:12 +00:00
..
.gitignore tests: add a test for decoding and dumping of recvmmsg/sendmmsg 2014-11-11 15:45:26 +00:00
caps.awk Implement full decoding of 64-bit capabilities 2014-12-06 03:53:12 +00:00
caps.c Implement full decoding of 64-bit capabilities 2014-12-06 03:53:12 +00:00
caps.test Implement full decoding of 64-bit capabilities 2014-12-06 03:53:12 +00:00
count.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
detach-running.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
detach-sleeping.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
detach-stopped.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
getdents.awk getdents, getdents64: fix potential out-of-bounds read issues 2014-09-11 22:27:43 +00:00
getdents.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
inet-accept-connect-send-recv.c tests: add a test for -yy option 2014-09-23 01:42:07 +00:00
init.sh tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
Makefile.am Implement full decoding of 64-bit capabilities 2014-12-06 03:53:12 +00:00
mmsg.c tests: add a test for decoding and dumping of recvmmsg/sendmmsg 2014-11-11 15:45:26 +00:00
mmsg.expected tests: add a test for decoding and dumping of recvmmsg/sendmmsg 2014-11-11 15:45:26 +00:00
mmsg.test tests: add a test for decoding and dumping of recvmmsg/sendmmsg 2014-11-11 15:45:26 +00:00
net-accept-connect.c tests/net: fix portability issues 2013-05-08 14:03:38 +00:00
net-fd.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
net-yy-accept.awk Print protocol name of socket descriptors with -yy option 2014-11-27 23:48:02 +00:00
net-yy-connect.awk Print protocol name of socket descriptors with -yy option 2014-11-27 23:48:02 +00:00
net-yy.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
net.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
netlink_inet_diag.c Consistently use C99 designated initializers in the new netlink code 2014-11-21 19:59:16 +00:00
ptrace_setoptions.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
qual_syscall.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
run.sh tests: enhance timeout checks 2013-06-18 17:07:37 +00:00
scm_rights-fd.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
scm_rights.c tests: fix SCM_RIGHTS test for big-endian systems 2014-05-30 15:18:00 +00:00
set_ptracer_any.c set_ptracer_any: add a little documentation 2014-08-11 17:19:17 +00:00
sigaction.awk sigaction test: support arches w/out SA_RESTORER and swapped args 2014-08-09 15:38:17 +00:00
sigaction.c Rewrite signal mask decoding without sigset_t 2014-02-27 00:28:39 +00:00
sigaction.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
stack-fcall-0.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-1.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-2.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-3.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stat.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00
statfs.c fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
statfs.test fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
strace-f.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
strace-k.test tests: enhance -k test 2014-06-13 15:58:01 +00:00
uio.c tests: fix uio building w/out preadv/pwritev 2014-08-11 17:30:01 +00:00
uio.test tests: cleanup checks for basic programs 2014-09-23 01:51:05 +00:00