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)
commitb52e92b09d4ca3b66e534f520468dee27065d048
treedddaeb11e700299abbf352077681b78d38430f0b
parent3d6d3863751787b08d40268c83221add1487a5c9
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.
14 files changed:
source/acconfig.h
source/configure
source/configure.in
source/include/config.h.in
source/include/includes.h
source/include/proto.h
source/lib/debug.c
source/lib/replace.c
source/lib/system.c
source/printing/print_svid.c
source/smbd/dfree.c
source/smbd/nttrans.c
source/smbd/password.c
source/utils/make_printerdef.c