[PATCH 00/43] replace strerror
Morten Brørup
mb at smartsharesystems.com
Tue Oct 22 12:48:15 CEST 2024
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Wednesday, 15 November 2023 01.17
>
> On Tue, 14 Nov 2023 16:24:56 +0800
> Dengdui Huang <huangdengdui at huawei.com> wrote:
>
> > The function strerror() is insecure in a multi-thread environment.
> > This series of patches fix it. In this patchset, only the libs and
> > drivers are modified.
>
> Doing such a global replace seems like a lot of changes for many
> cases that are not multi-threaded.
+1 to doing this, also in functions that are supposed to be single threaded; because it allows the addition to checkpatches.
Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list