From 3cf31a194f5721b67b1255e3f168d4bc87d433fc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 15 Feb 2000 19:36:47 +0000 Subject: Added replacement functions sys_popen and sys_pclose. These are based on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy. (This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048) --- source3/include/config.h.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/include/config.h.in') diff --git a/source3/include/config.h.in b/source3/include/config.h.in index c8d5d89233..0b3872e7ce 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -182,6 +182,7 @@ #undef USE_SETUIDX #undef HAVE_LIBDL #undef NEED_SGI_SEMUN_HACK +#undef SYSCONF_SC_NGROUPS_MAX /* The number of bytes in a int. */ #undef SIZEOF_INT @@ -549,9 +550,6 @@ /* Define if you have the pipe function. */ #undef HAVE_PIPE -/* Define if you have the popen function. */ -#undef HAVE_POPEN - /* Define if you have the pread function. */ #undef HAVE_PREAD @@ -657,6 +655,9 @@ /* Define if you have the syscall function. */ #undef HAVE_SYSCALL +/* Define if you have the sysconf function. */ +#undef HAVE_SYSCONF + /* Define if you have the usleep function. */ #undef HAVE_USLEEP -- cgit