This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use fortify macros for b{zero,copy} along decl from strings.h


This was meant to go to the list.

---------- Forwarded message ----------
From: Zack Weinberg <zackw@panix.com>
Date: Thu, Jan 5, 2017 at 9:26 AM
Subject: Re: [PATCH] Use fortify macros for b{zero,copy} along decl
from strings.h
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>


On Thu, Jan 5, 2017 at 7:37 AM, Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> To fix this behavior, the patch moved the bzero, bcopy, and
> __explicit_bzero_chk to a common header (string/bits/strings_fortified.h)
> and explicit fortified inclusion macros similar to string.h is added
> on strings.h.  This allows to get fortified declarions by only including
> strings.h.

LGTM.

You might be interested in
https://sourceware.org/ml/libc-alpha/2016-11/msg00595.html which is
closely related (but not fixing a _bug_, so 2.26 material at this
point).

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]