[PATCH 1/3] New string function explicit_bzero (from OpenBSD).

Joseph Myers joseph@codesourcery.com
Thu Dec 8 17:14:00 GMT 2016


On Thu, 8 Dec 2016, Zack Weinberg wrote:

> +    # used by libcrypt
> +    __explicit_bzero;

Use by libcrypt would be sufficient reason for a GLIBC_PRIVATE export; 
it's not clear it's sufficient for a GLIBC_2.25 public symbol version 
export, absent a general position on adding such exports of 
implementation-namespace names.

> diff --git a/string/explicit_bzero.c b/string/explicit_bzero.c
> new file mode 100644
> index 0000000000..6c3dc9aedb
> --- /dev/null
> +++ b/string/explicit_bzero.c
> @@ -0,0 +1,33 @@
> +/* Copyright (C) 2016 Free Software Foundation, Inc.

Missing descriptive comment as first line of new file.

> diff --git a/string/read_memory.c b/string/read_memory.c
> new file mode 100644
> index 0000000000..c4a5990c49
> --- /dev/null
> +++ b/string/read_memory.c
> @@ -0,0 +1,41 @@
> +/* Copyright (C) 2016 Free Software Foundation, Inc.

Likewise.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list