diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-20 12:58:26 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-20 12:58:26 +0000 |
commit | cf261b64cc69a80379f93dd691b9c249712bf897 (patch) | |
tree | 0b73ea0a086eba6ae4763872f41a63391999e846 /srUtils.h | |
parent | 1c19ea57da83367b13e761b0ab3c316fef6e9eb8 (diff) | |
download | rsyslog-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-x | srUtils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |