[Top][All Lists]

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

Re: Hi

From: Jérémie Koenig
Subject: Re: Hi
Date: Wed, 22 Feb 2012 16:53:32 +0100

2012/2/21 shaunak saha <reach2shaunak02@gmail.com>:
> I used git clone for cross compilation. But inside hurd used debian package
> which is build properly.

Ok, great! (For development, the git repository might be more
practical, though.)

> I m going through the Open issues.Can you suggest something to start with.

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/

It's not trivial but not horribly hard either, I can give you a hand,
and I think it would be a great way to learn your way around the
codebase. (But of course it's just a suggestion and if you find
something you think is more appropriate feel free to ask us about it.)

Jérémie Koenig <jk@jk.fr.eu.org>

reply via email to

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