summaryrefslogtreecommitdiffstats
path: root/usr.bin/newsyslog
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-6/+6
2019-06-28mkstemp() returns -1 on failurederaadt1-2/+2
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert1-2/+2
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatmillert1-29/+23
2017-07-24Simplify mail sending.jca1-20/+4
2017-07-22Delete extra whitespacesjca1-6/+6
2017-07-22err(1, "whatever") -> err(1, NULL) for malloc(3) failuresjca1-11/+11
2017-07-20Don't exit on invalid config lines, yet return a proper exit status.jca2-43/+104
2017-07-14Don't bother freeing memory just before exiting.jca1-3/+2
2017-07-14TAILQs instead of hand-rolled listsjca1-44/+32
2017-03-16syslogd(8) -Z generates log files with time in ISO format and UTC.bluhm1-5/+11
2016-06-01instead of using the makefile to override ancient defaults in the code,tedu2-36/+8
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2016-01-11ajacoutot@ reported seeingtb1-2/+2
2015-12-09Remove NULL-checks before free(). ok tb@mmcc1-3/+2
2015-11-19backout pledge completely for now, newsyslog needs chown() which is restrictedsthen1-7/+1
2015-11-18don't drop "pledge exec", it's needed for compression. ok deraadt@sthen1-4/+1
2015-11-17pledge() in newsyslog.benno1-1/+10
2015-11-14these files document their config files too: adjust NAME accordingly;jmc1-3/+4
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopederaadt1-3/+3
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedderaadt1-5/+5
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-12/+12
2014-09-16less sendmail specific; ok millertjmc1-4/+3
2014-09-08obvious cases of missing .An;schwarze1-5/+5
2013-11-26unsigned char casts for ctypederaadt1-8/+9
2013-04-05rename a variable to hours so it doesn't look like time. ok deraadt guenthertedu1-5/+5
2013-01-17remove uesless Pp;jmc1-3/+2
2012-01-15When we only rotate a log file once a month, the "next rotate" outputphessler1-1/+3
2011-09-26use, as far as possible, the same notation for date strings as otherjmc1-21/+22
2011-09-16after some thought, i think it unlikely that we will need to specifyjmc1-4/+4
2011-09-16use .St here for ISO 8601 references; ok millertjmc1-5/+5
2011-05-19sync manpage and comment with reality. From Nathanael Rensen.lum2-5/+5
2010-07-24Include pid file name in error message for a failed kill(). Prompted bynicm1-3/+3
2010-03-20The newsyslog(8) utility used to keep one archived log file more thanschwarze1-14/+17
2009-11-28The first paragraph of the DESCRIPTION had multiple issues,schwarze1-21/+24
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-5/+1
2009-09-10Correct error message when fclose() fails. From Brian Poole.millert1-5/+5
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-03-20remove some bogus *p tests from charles longeautedu1-3/+5
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from Tamas TEVESZ; ok millertderaadt1-2/+3
2006-08-10missing full stop; from matt jibsonjmc1-2/+2
2006-05-23some clarifications for the "size" field + cleanup;jmc1-4/+8
2005-11-30timezone -> time zonejmc1-2/+2
2005-03-02sort options while here;jmc1-23/+23
2005-03-02rework some .Ss section as .Sy: groff does not like .Ss's in the middlejmc1-4/+7
2004-09-14ARGSUSED before signal handler with unused signoderaadt1-2/+3
2004-07-11Make newsyslog(8) deal correctly with a count of 0 in newsyslog.conf.millert1-15/+26
2004-05-10prettyderaadt1-32/+27
2004-04-09If no user/group is specified for the log file in newsyslog.conf,millert2-69/+63
2004-04-06Set mode and ownership when renaming file -> file.0 like we do whenmillert1-7/+18