commit | 6ba947f36e4d56710d09a59115e919bec2232cc5 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Apr 12 00:05:43 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Apr 12 00:05:43 2016 +0000 |
tree | 72c924aef5be78357c948356dd9c0e67a589f7d8 | |
parent | 3ea6a598025303d46da92cde677f6caca5dd536d [diff] |
seccomp: fix decoding of sock_fprog and sock_filter structures Always print struct sock_fprog.len. Fix printing of unfetchable elements in sock_filter array. Fix printing of large sock_filter arrays. * seccomp.c (decode_fprog): Rewrite into decode_seccomp_fprog and print_seccomp_fprog. (print_seccomp_filter): Replace decode_fprog with print_seccomp_fprog. * tests/prctl-seccomp-filter-v.c (main): Update. * tests/seccomp-filter-v.c: New file. * tests/seccomp-filter-v.test: New test. * tests/.gitignore: Add seccomp-filter-v. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add seccomp-filter-v.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.