]> git.ipfire.org Git - thirdparty/suricata.git/commit
unix-socket: create socket directory if possible 2445/head
authorVictor Julien <victor@inliniac.net>
Thu, 1 Dec 2016 14:19:35 +0000 (15:19 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 1 Dec 2016 14:19:35 +0000 (15:19 +0100)
commitc5e550b10d4b61fb5be4b117679bd2cab00420e5
tree8ff9156e94145d0235acc759c155ed7e67bb3dad
parent3f741e450bbcf96cf13f3f8697f51e4717fe1779
unix-socket: create socket directory if possible

Create the socket directory in the default case.

Since we're doing stat+mkdir indicate to Coverity not to worry about
the toctou case.
src/unix-manager.c