diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 07:50:55 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 07:50:55 +0100 |
commit | 9e5b31fc44136dbcc1e443cfe7714e9daf97d844 (patch) | |
tree | 4e31876b298b652181e776bb63de8efce26f5d85 /template.c | |
parent | 5d58774813d4ecd4fc9f8230f8d5446457eb2ed5 (diff) | |
download | rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.tar.gz rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.tar.xz rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.zip |
bugfix: race condition during directory creation
If multiple files try to create a directory at (almost) the same time,
some of them may fail. This is a data race and also exists with other
processes that may create the same directory. We do now check for this
condition and gracefully handle it.
Diffstat (limited to 'template.c')
0 files changed, 0 insertions, 0 deletions