diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-11 16:26:22 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-11 16:26:22 +0000 |
commit | 3e95f0545729a43d4c0a7fe2b906783856db05fd (patch) | |
tree | ce014b46e3f33b8484bdd79b70c816c9553214f0 /action.h | |
parent | 3c79979b830ad0204ae47592fa858a996ce90b5e (diff) | |
download | rsyslog-3e95f0545729a43d4c0a7fe2b906783856db05fd.tar.gz rsyslog-3e95f0545729a43d4c0a7fe2b906783856db05fd.tar.xz rsyslog-3e95f0545729a43d4c0a7fe2b906783856db05fd.zip |
fixed a potential race condition, see link for details:
http://rgerhards.blogspot.com/2007/12/rsyslog-race-condition.html
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ #define ACTION_H_INCLUDED 1 #include "syslogd-types.h" +#include "sync.h" /* the following struct defines the action object data structure */ @@ -50,6 +51,7 @@ struct action_s { * content later). This is preserved after the message has been * processed - it is also used to detect duplicates. */ + SYNC_OBJ_TOOL; /* required for mutex support */ }; typedef struct action_s action_t; |