https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735

--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
Hi David, I started hacking up a list based on the man pages I had from
`man-pages` & removing the POSIX list of safe functions, but it's kind of
gross. It's not something we could put in the build system.

A friend pointed out we might be able to get the list from glibc's docs (texi)
which have markers. See e.g.
https://www.gnu.org/software/libc/manual/html_node/syslog_003b-vsyslog.html
which has:
>  Preliminary: | MT-Safe env locale | AS-Unsafe corrupt heap lock dlopen | 
> AC-Unsafe corrupt lock mem fd | See POSIX Safety Concepts. 

We want to parse the "AS-Unsafe" part out.

I don't know what's best here.

Reply via email to