This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Define secure_getenv (v2)
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 19 Jul 2012 12:47:59 -0700 (PDT)
- Subject: Re: [PATCH] Define secure_getenv (v2)
- References: <5008285D.9030506@redhat.com>
> * inet/ruserpass.c (ruserpass): Rename __secure_getenv to
> secure_getenv.
> * malloc/mtrace.c (mtrace): Likewise.
> * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
> * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. Update
> copyright years.
> * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
> * sysdeps/posix/tempname.c: Likewise. Evaluatue
> HAVE_SECURE_GETENV.
> * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
> __secure_getenv to secure_getenv. Update copyright years.
>
> * hesiod/hesiod.c (hesiod_init): Use __libc_secure_getenv.
All these internal references should be using an internal name
such as __libc_secure_getenv. It's not kosher for these things
to refer to a nonstandard name that doesn't start with __.