commit | 5e9944df2c8b75a8fec46a597d34934c7525d4ca | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Apr 19 01:59:52 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Apr 20 01:08:13 2016 +0000 |
tree | e571e53a7930a5aef99f9a0232e5b21fdda08e0c | |
parent | ba210af0600a57fc2a5f58d2da31aa557b798268 [diff] |
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.