summaryrefslogtreecommitdiffstats
path: root/srUtils.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-20 12:58:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-20 12:58:26 +0000
commitcf261b64cc69a80379f93dd691b9c249712bf897 (patch)
tree0b73ea0a086eba6ae4763872f41a63391999e846 /srUtils.h
parent1c19ea57da83367b13e761b0ab3c316fef6e9eb8 (diff)
downloadrsyslog-cf261b64cc69a80379f93dd691b9c249712bf897.tar.gz
rsyslog-cf261b64cc69a80379f93dd691b9c249712bf897.tar.xz
rsyslog-cf261b64cc69a80379f93dd691b9c249712bf897.zip
replaced system() calls with something more reasonable. Please note that
this might break compatibility with some existing configuration files. We accept this in favour of the gained security.
Diffstat (limited to 'srUtils.h')
-rwxr-xr-xsrUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/srUtils.h b/srUtils.h
index 93f026ab..ece63fd8 100755
--- a/srUtils.h
+++ b/srUtils.h
@@ -60,4 +60,6 @@ unsigned char *srUtilStrDup(unsigned char *pOld, size_t len);
* added 2007-07-17 by rgerhards
*/
int makeFileParentDirs(uchar *szFile, size_t lenFile, mode_t mode, uid_t uid, gid_t gid, int bFailOnChown);
+
+int execProg(uchar *program, int wait, uchar *arg);
#endif