]> git.ipfire.org Git - thirdparty/samba.git/commit
lib: popen: Prepare to remove sys_popen().
authorJeremy Allison <jra@samba.org>
Fri, 17 May 2019 04:45:21 +0000 (21:45 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 13 Jun 2019 08:52:29 +0000 (08:52 +0000)
commit7ce66c8ba7ae12d098714b1848f6981f41b4553e
treec936daa3c55db8c4ec0d597ce57c0d99145b003b
parent21b99870445e832628a8e0f8c0619c8098e8314c
lib: popen: Prepare to remove sys_popen().

Add sys_popenv(char * const argl[]) that uses a NULL
terminated vector array of args. Change sys_popen() to
split up its command string and call sys_popenv().

Once all callers are converted to sys_popenv() we
can remove sys_popen().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13964

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f20538de041eed1cadbabe2149b2b7cfcb779cb5)
lib/util/sys_popen.c
lib/util/sys_popen.h