On Thu, May 31, 2001 at 04:01:34PM -0700, Dawson Engler wrote:
> Is there an easy way to tell which routines must be re-entrant?
> (it doesn't have to be exhaustive, even an incomplete set is useful)
>
> I was going to write a checker to make sure supposedly re-entrant
> routines actually were, but was having a hard time figuring out which
> ones were supposed to be...
Their was an post on bugtraq a few days ago about this, it had a
list with all system calls which are reentrant safe under
OpenBSD. The paper was about signals, and is available at
http://razor.bindview.com/publish/papers/signals.txt
OpenBSD had a manpage wich lists all the function which should be
be safe to call from a signal handler. It might be a nice
place to start. You should only look at those from section 2
of course.
http://www.openbsd.org/cgi-bin/man.cgi?query=sigaction
Kurt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jun 07 2001 - 21:00:15 EST