summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog/newsyslog.c
AgeCommit message (Expand)Author
2024-10-30Don't run through time checks when entry is definitely oversized.Jan Klemkow
2024-04-22newsyslog: allow the F flag to be used on its own.Todd C. Miller
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatTodd C. Miller
2017-07-24Simplify mail sending.Jeremie Courreges-Anglas
2017-07-22Delete extra whitespacesJeremie Courreges-Anglas
2017-07-22err(1, "whatever") -> err(1, NULL) for malloc(3) failuresJeremie Courreges-Anglas
2017-07-20Don't exit on invalid config lines, yet return a proper exit status.Jeremie Courreges-Anglas
2017-07-14Don't bother freeing memory just before exiting.Jeremie Courreges-Anglas
2017-07-14TAILQs instead of hand-rolled listsJeremie Courreges-Anglas
2017-03-16syslogd(8) -Z generates log files with time in ISO format and UTC.Alexander Bluhm
2016-06-01instead of using the makefile to override ancient defaults in the code,Ted Unangst
2016-01-11ajacoutot@ reported seeingtb
2015-12-09Remove NULL-checks before free(). ok tb@mmcc
2015-11-19backout pledge completely for now, newsyslog needs chown() which is restrictedStuart Henderson
2015-11-18don't drop "pledge exec", it's needed for compression. ok deraadt@Stuart Henderson
2015-11-17pledge() in newsyslog.Sebastian Benoit
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-04-05rename a variable to hours so it doesn't look like time. ok deraadt guentherTed Unangst
2012-01-15When we only rotate a log file once a month, the "next rotate" outputPeter Hessler
2011-05-19sync manpage and comment with reality. From Nathanael Rensen.lum
2010-07-24Include pid file name in error message for a failed kill(). Prompted byNicholas Marriott
2010-03-20The newsyslog(8) utility used to keep one archived log file more thanIngo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-09-10Correct error message when fclose() fails. From Brian Poole.Todd C. Miller
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from Tama...Theo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-07-11Make newsyslog(8) deal correctly with a count of 0 in newsyslog.conf.Todd C. Miller
2004-05-10prettyTheo de Raadt
2004-04-09If no user/group is specified for the log file in newsyslog.conf,Todd C. Miller
2004-04-06Set mode and ownership when renaming file -> file.0 like we do whenTodd C. Miller
2004-04-05o use mode_t, not int for permissions.Todd C. Miller
2003-12-16Avoid segmentation fault when empty commands are specified in theOtto Moerbeek
2003-07-25When parser_file() fails, print correct line number.Mike Pechkin
2003-07-01Add support for -a dirs on different filesystems.Todd C. Miller
2003-06-26more proto fixesTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-06-10Whoops, <= 0 should be < 0. Problem noticed by marc@Todd C. Miller
2003-06-09o replace remaining strtoul() with strtol() and check for < 0Todd C. Miller
2003-06-09Use strtol() not strtoul() so we can detect a negative number in a pid file.Todd C. Miller
2003-06-09Need to include time.h to get ctime() proto.Todd C. Miller
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller