kravietz / pam_tacplus

TACACS+ protocol client library and PAM module in C. This PAM module support authentication, authorization (account management) and accounting (session management)performed using TACACS+ protocol designed by Cisco.
GNU Lesser General Public License v3.0
130 stars 97 forks source link

m4/explicit_bzero.m4 (gl_PREREQ_EXPLICIT_BZERO): Remove. #194

Closed huoyingyangjie closed 1 year ago

huoyingyangjie commented 1 year ago

Hi: Failed to use lastest gnulib-tool, I found this:

https://raw.githubusercontent.com/coreutils/gnulib/master/ChangeLog ` 2022-11-27 Paul Eggert eggert@cs.ucla.edu

explicit_bzero: implement via memset_explicit
* lib/explicit_bzero.c (explicit_bzero):
Simplify by just calling memset_explicit.
* m4/explicit_bzero.m4 (gl_PREREQ_EXPLICIT_BZERO): Remove.
All uses removed.
* modules/explicit_bzero (Depends-on): Add memset_explicit.

explicit_bzero: memset_explicit is standard
* doc/glibc-functions/explicit_bzero.texi:
Say that memset_explicit is preferred in new code.

read-file: use memset_explicit
* lib/read-file.c (fread_file, read_file):
Use memset_explicit instead of explicit_bzero.
* modules/read-file (Depends-on): Depend on memset_explicit
instead of on explicit_bzero.

memset_explicit: new module
* doc/posix-functions/memset_explicit.texi, lib/memset_explicit.c:
* m4/memset_explicit.m4, modules/memset_explicit:
* modules/memset_explicit-tests, tests/test-memset_explicit.c:
New files.
* lib/string.in.h (memset_explict): New decl.
* m4/string_h.m4 (gl_STRING_H, gl_STRING_H_REQUIRE_DEFAULTS)
(gl_STRING_H_DEFAULTS):
* modules/string (string.h):
Support memset_explicit.

explicit_bzero: add poison
* m4/string_h.m4 (gl_STRING_H): Poison explicit_bzero.
This was inadvertently omitted when explicit_bzero was added.

`