[PATCH] Mark syslog as MT-unsafe (bug 26100)

Florian Weimer fweimer@redhat.com
Mon Jun 15 12:22:15 GMT 2020


* Andreas Schwab:

> On Jun 15 2020, Florian Weimer wrote:
>
>> * Andreas Schwab:
>>
>>> The syslog functions have been marked MT-safe by mistake.  They use global
>>> variables in unsafe way.
>>
>> Should we make syslog MT-safe instead?
>
> Should we?

If it's not too hard, I think it would be a reasonable enhancement.
Lack of thread safety is surprising here, and I expect that a lot of
code assumes it.

Thanks,
Florian



More information about the Libc-alpha mailing list