|author||Dmitry V. Levin <firstname.lastname@example.org>||Tue Apr 19 01:59:52 2016 +0000|
|committer||Dmitry V. Levin <email@example.com>||Wed Apr 20 01:08:13 2016 +0000|
Fix corner cases of getgroups and setgroups syscall decoders * uid.c (print_groups): New function. (SYS_FUNC(setgroups), SYS_FUNC(getgroups)): Use it. Print first syscall argument using %u format. * tests/getgroups.c: New file. * tests/getgroups.test: New test. * tests/getgroups32.c: New file. * tests/getgroups32.test: New test. * tests/setgroups.c: New file. * tests/setgroups.test: New test. * tests/setgroups32.c: New file. * tests/setgroups32.test: New test. * tests/.gitignore: Add getgroups, getgroups32, setgroups, and setgroups32. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add getgroups.test, getgroups32.test, setgroups.test, and setgroups32.test.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor 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 send bug reports and enhancements to the strace mailing list.