On Wed, Mar 23, 2022 at 2:08 PM Mike Pattrick <[email protected]> wrote:
>
> On Wed, Mar 23, 2022 at 4:23 AM David Marchand
> <[email protected]> wrote:
> >
> > On Tue, Mar 22, 2022 at 6:43 PM Mike Pattrick <[email protected]> wrote:
> > >
> > > In glibc 2.32 sys_siglist is no longer exported. The MT-safe function
> > > sigdescr_np() is now available for the same purpose.
> >
> > I am not familiar with this, but a quick search returns:
> > https://www.gnu.org/software/gnulib/manual/html_node/sigdescr_005fnp.html
> >
> > """
> > Note: This function is hardly useful, because it returns English
> > strings, not internationalized strings. Better use the function
> > strsignal, which returns internationalized strings.
> > """
> >
> > Now reading strsignal manual, it seems to be POSIX, and a replacement
> > for direct access to sys_siglist... ?
>
> Frustratingly, it's not MT safe.

Interesting...
And I found that there is a check for not adding strsignal in OVS too.


The change looks good to me.
I tested compilation only, on systems I have atm: i.e. RHEL7 (glibc
2.17), RHEL8 (glibc 2.28) and FC35 (glibc 2.34).


Reviewed-by: David Marchand <[email protected]>


-- 
David Marchand

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to