bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hi


From: shaunak saha
Subject: Re: Hi
Date: Sat, 25 Feb 2012 01:47:01 +0530

> One possibility: last summer I added the SA_SIGINFO option for the
> sigaction() function, however some of the fields of the siginfo_t
> structure are not filled in properly because the information is not
> currently available to the process which receives the signal [1,2].
> The goal would be to modify the sig_post() RPC, which is used to
> transmit a signal, so that all the information needed to fill in the
> siginfo_t is transmitted alongside with it.
>
> You would need to modify the Hurd interface definitions (for
> sig_post), the GNU C library (to fill in the siginfo_t structure when
> a signal is received, and also to transmit the information when kill()
> is used to send a signal) and some of the Hurd translators which use
> sig_post as well. You'll also have to check the POSIX standard [3] to
> understand exactly what each field of siginfo_t should contain under
> what circumstances.
>
> [1] http://www.bddebian.com/~hurd-web/open_issues/sa_siginfo_sa_sigaction/
> [2] http://www.bddebian.com/~hurd-web/user/jkoenig/java/ (look for
> "SA_SIGINFO")
> [3] http://pubs.opengroup.org/onlinepubs/9699919799/
>
Thanks a lot for your suggestion.that would be great.I will start
working on this.

Regards,
Shaunak



reply via email to

[Prev in Thread] Current Thread [Next in Thread]