Re: BUG (non-kernel), can hurt developers.

From: YOSHIFUJI Hideaki / 吉藤英明
Date: Wed Nov 26 2003 - 14:00:44 EST


In article <Pine.LNX.4.58.0311261021400.1524@xxxxxxxxxxxxx> (at Wed, 26 Nov 2003 10:29:54 -0800 (PST)), Linus Torvalds <torvalds@xxxxxxxx> says:

> You can't just randomly use library functions in signal handlers. You can
> only use a very specific "signal-safe" set.
>
> POSIX lists that set in 3.3.1.3 (3f), and says
>
> "All POSIX.1 functions not in the preceding table and all
> functions defined in the C standard {2} not stated to be callable
> from a signal-catching function are considered to be /unsafe/
> with respect to signals. .."
>
> typos mine.

Just FYI:
http://www.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_04.html#tag_02_04_03

--yoshfuji
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/