freebsd-dev/usr.sbin/newsyslog
Ben Woods 9165316ff6 newsyslog.conf: Restrict included files in default config to [!.]*.conf
The new default config will only include files from the following
directories which end with '.conf' and do not beginning with a '.'
character:
- /etc/newsyslog.conf.d/
- /usr/local/etc/newsyslog.conf.d/

This matches the syslog.conf(5) functionality, and also prevents '.sample' or
'.pkgnew' files being included. This is important for ports which install files
in /usr/local/etc/newsyslog.conf.d/ and also for pkgbase.

Approved by:	eadler
Approved by:	bapt
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D17086
2018-11-10 10:46:38 +00:00
..
newsyslog.conf.d Put a size limit on the opensm.log and use bzip2(1). 2018-11-08 17:00:05 +00:00
tests Adjust the number of tests after r336913. 2018-08-01 18:41:43 +00:00
extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile Move all the newsyslog related configs to usr.sbin/newsyslog/ 2018-08-12 13:24:53 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
newsyslog.8 newsyslog.conf: Restrict included files in default config to [!.]*.conf 2018-11-10 10:46:38 +00:00
newsyslog.c newsyslog(8): Reject configurations that specify setuid or executable logs 2018-08-21 23:12:46 +00:00
newsyslog.conf newsyslog.conf: Restrict included files in default config to [!.]*.conf 2018-11-10 10:46:38 +00:00
newsyslog.conf.5 newsyslog(8): Reject configurations that specify setuid or executable logs 2018-08-21 23:12:46 +00:00
pathnames.h Add a new Y flag to newsyslog.conf 2017-04-15 20:37:34 +00:00
ptimes.c Add newsyslog capability to write RFC5424 compliant rotation message. 2017-05-26 16:36:30 +00:00