226bf1c21b8f04f7fa1655979fe00adee1e68b5e |
|
18-Mar-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: factor out common awk code Factor out awk code used in several tests to match.awk. * tests/match.awk: New file. * tests/Makefile.am (EXTRA_DIST): Add it. * tests/caps.awk: Use it. * tests/getdents.awk: Likewise. * tests/getrandom.awk: Likewise. * tests/select.awk: Likewise. * tests/sigaction.awk: Likewise. * tests/init.sh (match_awk): Use gawk not awk. Define AWKPATH. * tests/getdents.test: Likewise.
/external/strace/tests/caps.awk
|
878abbbd4768f537f5a1638e6290e0c23451f7da |
|
14-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: handle the case when all 64 process capability bits are set * tests/caps.awk: Handle the case when all bits of 64-bit capability word are set.
/external/strace/tests/caps.awk
|
ed7ada24ac4647e56ce1bf3befbaec29a250cd38 |
|
13-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: portability fixes * tests/stat.test: dd obs= is not portable, use bs= instead. * tests/stat32-v.test: Likewise. * tests/stat64-v.test: Likewise. * tests/net.test: Use $* instead of $@ in the quoted string. * tests/net-fd.test: Likewise. * tests/statfs.test: Quote { and } in regexps. * tests/caps.awk: Likewise. * tests/getdents.awk: Likewise. * tests/net-yy-accept.awk: Likewise. * tests/net-yy-connect.awk: Likewise. * tests/sigaction.awk: Likewise. * tests/unix-yy-accept.awk: Likewise. * tests/unix-yy-connect.awk: Likewise.
/external/strace/tests/caps.awk
|
4b9c68b9a3a5297050985b2cbcb74752051edf98 |
|
05-Dec-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
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.
/external/strace/tests/caps.awk
|