[PATCH 0/8] keyctl tests
Eugene Syromyatnikov
evgsyr at gmail.com
Thu Sep 29 12:55:52 UTC 2016
Hello.
This patchset provides minor updates to decoders in keyctl.c along with
tests for add_key, keyctl, and request_key syscall decoders.
Eugene Syromyatnikov (8):
keyctl: Use printuid for printing UID/GID
keyctl: Use getarg_ull for printing generic arguments
keyctl: Do not print comma for KEYCTL_SESSION_TO_PARENT command
Add function for getting errno string.
keyctl: Print errno name in KEYCTL_REJECT in case it is available
keyctl: Add support for KEYCTL_DH_COMPUTE
io: Handle data_size of -1 as unlimited data in print_iovec
tests: Add add_key, keyctl, request_key tests
defs.h | 1 +
io.c | 6 +-
keyctl.c | 76 +++++-
syscall.c | 9 +
tests/.gitignore | 3 +
tests/Makefile.am | 6 +
tests/add_key.c | 128 +++++++++
tests/add_key.test | 6 +
tests/keyctl.c | 713 ++++++++++++++++++++++++++++++++++++++++++++++++
tests/keyctl.test | 6 +
tests/request_key.c | 124 +++++++++
tests/request_key.test | 6 +
12 files changed, 1075 insertions(+), 9 deletions(-)
create mode 100644 tests/add_key.c
create mode 100755 tests/add_key.test
create mode 100644 tests/keyctl.c
create mode 100755 tests/keyctl.test
create mode 100644 tests/request_key.c
create mode 100755 tests/request_key.test
--
1.7.10.4
More information about the Strace-devel
mailing list