Added replacement functions sys_popen and sys_pclose. These are based
authorJeremy Allison <jra@samba.org>
Tue, 15 Feb 2000 19:36:47 +0000 (19:36 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 15 Feb 2000 19:36:47 +0000 (19:36 +0000)
commit3cf31a194f5721b67b1255e3f168d4bc87d433fc
treef9e3ef842e2bad4d7fb0142f685962e125176b23
parent8688933c7feb87179c178a30e4fc42970fe1da8f
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)
14 files changed:
source3/acconfig.h
source3/configure
source3/configure.in
source3/include/config.h.in
source3/include/includes.h
source3/include/proto.h
source3/lib/debug.c
source3/lib/replace.c
source3/lib/system.c
source3/printing/print_svid.c
source3/smbd/dfree.c
source3/smbd/nttrans.c
source3/smbd/password.c
source3/utils/make_printerdef.c