kern/141956: [libc] signal(3): siginfo->
si_pid null in signal handler [regression]
ducrot at echo.fr
Fri Jan 29 14:50:11 UTC 2010
The following reply was made to PR kern/141956; it has been noted by GNATS.
From: Bruno Ducrot <ducrot at echo.fr>
To: bug-followup at FreeBSD.org, joel.bertrand at systella.fr
Subject: Re: kern/141956: [libc] signal(3): siginfo->si_pid null in signal
Date: Fri, 29 Jan 2010 15:31:34 +0100
With this test :
handler(int signal, siginfo_t *siginfo, void *context)
char *p = (char *)siginfo;
printf("si_pid: %d (%d)\n", siginfo->si_pid, getpid());
printf("si_uid: %d\n", siginfo->si_uid);
struct sigaction sa;
sa.sa_sigaction = handler;
sa.sa_flags = SA_SIGINFO;
sigaction(SIGABRT, &sa, NULL);
I can indeed reproduce the same behaviour with RELENG_8_0 at least.
But it seems this has been fixed by kid@ under CURRENT (SVN rev 199355).
There is a MFC (SVN rev 200729), and therefore I can't reproduce anymore
this misbehaviour with RELENG_8 as of yesterday.
Could you please confirm your software (RPL/2) work now as expected with
latest RELENG_8 ?
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
More information about the freebsd-bugs