Red Hat Bugzilla – Bug 51676
Incorrect value returned by signal SIGCHLD into siginfo_t.si_pid.
Last modified: 2008-08-01 12:22:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (Windows NT 5.0; U)
Description of problem:
If a child process derived from a fork/exec dies and the parent
process has setup a function to catch SIGCHLD, then the
member siginfo_t.si_pid should receive the child's pid. It instead
Steps to Reproduce:
1. Write 'C' program to do fork/exec-- establish function in parent to catch signal SIGCHLD.
2. Kill child process: # kill 15 <child_process_id>
3. Test value of siginfo_t.si_pid in parent.
Actual Results: Value of siginfo_t.si_pid is '0'
Expected Results: Value of siginfo_t.si_pid is process_id of child
This is kernel issue and was fixed long time ago I believe.
What version of the kernel is this ? The 2.2.19 security errata release ?
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/