[RFC] [PATCH] Support explicit_bzero, memset_s, memzero_explicit, or similar.

Paul Eggert eggert@cs.ucla.edu
Sun Dec 21 19:33:00 GMT 2014


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/>.



More information about the Libc-alpha mailing list