On Tue, Apr 14, 2015 at 2:59 PM, Mark Kettenis wrote:
>> From: "Todd C. Miller"
>>
>> The situation is a little complicated. POSIX defines the third
>> argument to the sa_sigaction handler as void * and says it may be
>> cast to ucontext_t. On OpenBSD, it is really a pointer to struct
>> sigcon
> From: "Todd C. Miller"
> Date: Tue, 14 Apr 2015 10:52:47 -0600
>
> The situation is a little complicated. POSIX defines the third
> argument to the sa_sigaction handler as void * and says it may be
> cast to ucontext_t. On OpenBSD, it is really a pointer to struct
> sigcontext but this is rea
> The situation is a little complicated. POSIX defines the third
> argument to the sa_sigaction handler as void * and says it may be
> cast to ucontext_t. On OpenBSD, it is really a pointer to struct
> sigcontext but this is really an implementation detail.
I had some reservations, but into this
The situation is a little complicated. POSIX defines the third
argument to the sa_sigaction handler as void * and says it may be
cast to ucontext_t. On OpenBSD, it is really a pointer to struct
sigcontext but this is really an implementation detail.
- todd
Index: lib/libc/sys/sigaction.2
=
The SYNOPSIS of sigaction(2) cites the sa_sigaction function as
void (*__sa_sigaction)(int, siginfo_t *, void *);
yet in the examples, the declaration is
void
handler(int sig, siginfo_t *sip, struct sigcontext *scp);
with the role of sigcontext described.
This is a disc