]> git.ipfire.org Git - thirdparty/suricata.git/commit
init: pledge(2) needs "fattr" during suricata reload.
authorAlexander Bluhm <alexander.bluhm@gmx.net>
Wed, 10 Apr 2019 13:32:55 +0000 (15:32 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 25 Apr 2019 08:50:47 +0000 (10:50 +0200)
commit36796de731d59c3320b212fb7cdb3c45bf6e39bc
tree06b817b4e0f22dee758238664c2503a006f7fa99
parent76357350fdad26dc2832fd12d2173057b1d77cf9
init: pledge(2) needs "fattr" during suricata reload.

When killed with SIGHUP, suricata reopens the log files.  If filemode
is set in the config, it needs pledge promise "fattr" to allow the
chmod(2) on OpenBSD.
src/util-privs.c