stops if there is a permanent error. Add EACCES generated by pf
to the list of transient errors. This restores pre-6.5 behavior
and continues logging after pf.conf has been fixed.
OK millert@ deraadt@ mvs@
-/* $OpenBSD: syslogd.c,v 1.276 2022/12/28 21:30:19 jmc Exp $ */
+/* $OpenBSD: syslogd.c,v 1.277 2023/03/16 18:22:08 bluhm Exp $ */
/*
* Copyright (c) 2014-2021 Alexander Bluhm <bluhm@genua.de>
msghdr.msg_iovlen = IOVCNT;
if (sendmsg(f->f_file, &msghdr, 0) == -1) {
switch (errno) {
+ case EACCES:
case EADDRNOTAVAIL:
case EHOSTDOWN:
case EHOSTUNREACH: