[strace/strace] man page needs to specify about signalfd( ) (#120)

Dmitry V. Levin notifications at github.com
Fri Jan 17 09:55:48 UTC 2020


On Fri, Jan 17, 2020 at 01:30:59AM -0800, cdprashanth wrote:
> man page says:
> "It intercepts and records the system calls which are called by a process and the signals which are received by a process". But when app uses signalfd( ) to get signal delivery via file descriptor, 
> the when you run strace -p on the app process, you will not see a signal being received. You will instead see that app wakes from epoll_wait() and performs a read() on the file descriptor.
> This info is missing in man page.

When signals are blocked using sigprocmask(2), they are not received by tracee.
When they are received by tracee, they are recorded by strace according to the specified signal filter expression.

If you feel that strace manual page is incomplete in any respect, feel free to propose a patch.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/120#issuecomment-575556303
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200117/85e44cf3/attachment.html>


More information about the Strace-devel mailing list