Old ssetmask syscall takes an argument and returns a value of type int. Old sgetmask syscall may return an error. * signal.c (SYS_FUNC(ssetmask)): Explicitly convert the argument and return value to unsigned int, print it using sprint_old_sigmask_val. (SYS_FUNC(sgetmask)): Do not print the mask in case of syserror. * tests/sxetmask.c: New file. * tests/gen_tests.in (sxetmask): New entry. * tests/pure_executables.list: Add sxetmask. * tests/.gitignore: Likewise. * NEWS: Mention this fix.
strace - the linux syscall tracer
This is strace -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with 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 read the file INSTALL-git for installation instructions.
The user discussion and development of strace take place on the strace mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.sourceforge.net. The mailing list archives are available at https://sourceforge.net/p/strace/mailman/strace-devel/ and other archival sites.