mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 06:41:08 +01:00
Add LOG_NDELAY flag to openlog(3) - we want descriptor to be immediately open
so there are no surprises once we start chrooting or using capsicum. MFC after: 1 week
This commit is contained in:
parent
c1410d7a90
commit
c62457374f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217962
@ -59,7 +59,7 @@ pjdlog_mode_set(int mode)
|
||||
pjdlog_mode = mode;
|
||||
|
||||
if (mode == PJDLOG_MODE_SYSLOG)
|
||||
openlog(NULL, LOG_PID, LOG_DAEMON);
|
||||
openlog(NULL, LOG_PID | LOG_NDELAY, LOG_DAEMON);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user