Commit Briefs
add configure check and shim for landlock
First move towards landlock support (#3). The shim is needed until libc provides the proper wrappers for the landlock APIs; I hope it doesn't take too long, but landlock was merged back in May and are still missing.
tag 1.7.3 (tags/1.7.3)
bump version number
fix syslog logging on FreeBSD
Due to capsicum(4), opening the log on-demand via syslog(3) fails. openlog(LOG_NDELAY) forces the log to be opened immediately, before we enter capsicum. This doesn't affect OpenBSD (where pledge(2) doesn't stop syslog) nor linux (where the log process is not sandboxed.) Reported by Karl Jeacle, thank you!
don't crash if -n is given without -c
If -n is given without -c, config_path is still NULL and it would crash due to a NULL deference.
don't yyerror if we can't open the file
the global var file could still be NULL and yyerror would crash.