On Fri, Jan 17, 2020 at 01:30:59AM -0800, cdprashanth wrote:<br>
> man page says:<br>
> "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, <br>
> 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.<br>
> This info is missing in man page.<br>
<br>
When signals are blocked using sigprocmask(2), they are not received by tracee.<br>
When they are received by tracee, they are recorded by strace according to the specified signal filter expression.<br>
<br>
If you feel that strace manual page is incomplete in any respect, feel free to propose a patch.<br>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/120?email_source=notifications&email_token=AAFX7DBQR4J2IA7EGSP5CETQ6F6CHA5CNFSM4KIFLDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHEVTY#issuecomment-575556303">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFX7DEJDYXCBQRB64VVWB3Q6F6CHANCNFSM4KIFLDAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFX7DCLESPEOXWDBGKSF5LQ6F6CHA5CNFSM4KIFLDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHEVTY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/120?email_source=notifications\u0026email_token=AAFX7DBQR4J2IA7EGSP5CETQ6F6CHA5CNFSM4KIFLDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHEVTY#issuecomment-575556303",
"url": "https://github.com/strace/strace/issues/120?email_source=notifications\u0026email_token=AAFX7DBQR4J2IA7EGSP5CETQ6F6CHA5CNFSM4KIFLDAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJHEVTY#issuecomment-575556303",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>