summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/secure_getenv.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-02-04 18:33:23 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-02-04 20:35:19 -0800
commit7517e2fd5e24f47eed66f8390d49f807555f8770 (patch)
treea9d2b824f7be01ea30324698cf1d79b775def295 /doc/glibc-functions/secure_getenv.texi
parent4a82904680e6974db7b9eed6a3ed4c6eb24ecbe4 (diff)
downloadgnulib-7517e2fd5e24f47eed66f8390d49f807555f8770.tar.gz
secure_getenv: new module
* MODULES.html.sh (Extra functions based on ANSI C 89): Add secure_getenv. * doc/glibc-functions/secure_getenv.texi: New file. * doc/gnulib.texi: Include it. * lib/secure_getenv.c, m4/secure_getenv.m4, modules/secure_getenv: New files. * lib/stdlib.in.h (secure_getenv): New decl. * m4/stdlib_h.m4 (gl_STDLIB_H, gl_STDLIB_H_DEFAULTS): * modules/stdlib (stdlib.h): Add secure_getenv checks.
Diffstat (limited to 'doc/glibc-functions/secure_getenv.texi')
-rw-r--r--doc/glibc-functions/secure_getenv.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/glibc-functions/secure_getenv.texi b/doc/glibc-functions/secure_getenv.texi
new file mode 100644
index 0000000000..300285e419
--- /dev/null
+++ b/doc/glibc-functions/secure_getenv.texi
@@ -0,0 +1,22 @@
+@node secure_getenv
+@subsection @code{secure_getenv}
+@findex secure_getenv
+
+Gnulib module: secure_getenv
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function is missing on some platforms:
+glibc 2.16, OS X 10.8, FreeBSD 9.1, NetBSD 6.0.1, OpenBSD 5.2, Minix 3.2.0,
+AIX 7.1, HP-UX 11, IRIX 6.5, Solaris 11, Cygwin, mingw, MSVC 9,
+Interix 6.1, BeOS.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+On platforms other than glibc 2.0 and later, the Gnulib replacement
+function always returns a null pointer, even when invoked in a
+non-setuid program.
+@end itemize