summaryrefslogtreecommitdiffstats
path: root/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-31 16:07:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-31 16:07:40 +0000
commit9234c95d74fb015e839cf5fe5ebbdf138e4a760d (patch)
tree85b2c8498405d0cbecafb38f4251e02860bc74ce /omfile.c
parent074ece90c0b7f32307716eeb6d0308b83197b6ce (diff)
downloadrsyslog-9234c95d74fb015e839cf5fe5ebbdf138e4a760d.tar.gz
rsyslog-9234c95d74fb015e839cf5fe5ebbdf138e4a760d.tar.xz
rsyslog-9234c95d74fb015e839cf5fe5ebbdf138e4a760d.zip
omfile.c now uses the new table-driven cfsysline system
Diffstat (limited to 'omfile.c')
-rw-r--r--omfile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/omfile.c b/omfile.c
index b81911d0..3bb7f817 100644
--- a/omfile.c
+++ b/omfile.c
@@ -753,6 +753,10 @@ CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(omsdRegCFSLineHdlr((uchar *)"dirgroup", eCmdHdlrGID, NULL, &dirGID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"fileowner", eCmdHdlrUID, NULL, &fileUID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"filegroup", eCmdHdlrGID, NULL, &fileGID));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"dircreatemode", eCmdHdlrFileCreateMode, NULL, &fDirCreateMode));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"filecreatemode", eCmdHdlrFileCreateMode, NULL, &fCreateMode));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"createdirs", eCmdHdlrBinary, NULL, &bCreateDirs));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"failonchownfailure", eCmdHdlrBinary, NULL, &bFailOnChown));
ENDmodInit
/*