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: [RFC] [PATCH] Support explicit_bzero, memset_s, memzero_explicit, or similar.


Nick Mathewson wrote:

if I'm reading the consensus right, people think
that the implementation is correct, and the functionality is
standards-conformant and probably better than nothing.

I don't see that consensus. As I recall, the proposed functionality doesn't conform to C11 Annex K, and it's not clear (to me at least) that the patch is better than nothing.

As I understand it the most favored suggestion in the past has been that Annex K functionality should be packaged into a separate library libc_s; see, for example <https://sourceware.org/ml/libc-alpha/2014-08/msg00141.html>. You might want to look into efforts along those lines, e.g., slibc <https://code.google.com/p/slibc/>.


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