aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/newsyslog/newsyslog.c
Commit message (Expand)AuthorAgeFilesLines
* newsyslog(8): make configuration parser more robust.Eugene Grosbein2020-06-161-23/+31
* newsyslog: Fix stack corruption when initializing a zipwork structure.Mark Johnston2020-03-241-11/+17
* Fix several Coverity-detected issues in newsyslog.David Bright2019-02-221-11/+9
* Revert r344389 & r343906 - Fix Coverity errors in newsyslogDavid Bright2019-02-221-14/+11
* Complete fix for CID 1007454, CID 1007453: Resource leak in newsyslogDavid Bright2019-02-201-0/+3
* Fix several Coverity-detected issues in newsyslog.David Bright2019-02-081-11/+11
* Fix age_old_log() after r337468.Mark Johnston2018-11-291-10/+12
* newsyslog(8): Reject configurations that specify setuid or executable logsConrad Meyer2018-08-211-0/+6
* Simplify compression code.Mark Johnston2018-08-081-101/+87
* Fix a flag collision introduced in r327451.Mark Johnston2018-08-041-2/+1
* Remove ARGS_NUM, accidentally left over after r337050.Mark Johnston2018-08-011-1/+0
* Don't hard-code the number of compression utility arguments.Mark Johnston2018-08-011-13/+15
* newsyslog: fix compression arglist constructionBaptiste Daroussin2018-07-301-5/+5
* Use the FQDN in the newsyslog log message when RFC 5424 is enabled.Ed Schouten2018-07-081-10/+14
* newsyslog: implement 'p' flagEitan Adler2017-12-311-8/+24
* newsyslog: Fix issues after r326616Baptiste Daroussin2017-12-181-1/+19
* Really fix typo and improve wording of the commentBaptiste Daroussin2017-12-061-1/+1
* Fix typoBaptiste Daroussin2017-12-061-1/+1
* Allow newsyslog to execute compression commands whichBaptiste Daroussin2017-12-061-11/+34
* Add newsyslog capability to write RFC5424 compliant rotation message.David Bright2017-05-261-11/+46
* Add a new Y flag to newsyslog.confBaptiste Daroussin2017-04-151-2/+11
* Fix improper use of "its".Bryan Drewery2016-11-081-1/+1
* Properly patch up dirname()/basename() calls to not clobber ent->log.Ed Schouten2016-09-091-16/+16
* Clean up use of basename() and dirname().Ed Schouten2016-07-281-11/+17
* newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specifiedEric van Gyzen2016-06-061-7/+9
* newsyslog: treat 'c' flag in the config as 'C'Baptiste Daroussin2015-10-311-14/+0
* newsyslog.conf: allow to configure the signal using the signal name.Baptiste Daroussin2015-10-241-11/+34
* Fix a ton of speelling errorsEitan Adler2015-10-211-1/+1
* If we fail to send a signal after rotation, print the pidfile from whichMark Johnston2014-10-081-2/+2
* Fix newsyslog(8) to use the size of the file instead of the blocks itBryan Drewery2014-02-021-1/+1
* Initialize the struct tm before handing it to strptime(3).Mark Johnston2013-11-041-0/+1
* Fix -WunsequencedTim Kientzle2013-06-291-10/+10
* We want to stat the archived log file rather than the logfile itself.Mark Johnston2013-06-021-1/+1
* Some filesystems (NFS in particular) do not fill out the d_type field whenMark Johnston2013-05-121-6/+17
* Fix interval-based rotations when the -t flag is used. In this case, findMark Johnston2013-03-261-58/+134
* Rename the run_cmd field to sw_runcmd to make it consistent with theMark Johnston2013-01-271-7/+7
* Ensure that newsyslog -n prints the correct message for a rotation ruleMark Johnston2013-01-271-4/+9
* When the 'R' flag is used with a newsyslog.conf entry, some fields ofMark Johnston2013-01-271-1/+3
* Make sure to update the mtime of a logfile after archiving it. ThisMark Johnston2013-01-031-0/+9
* Have -n imply -r, since dry-run mode obviously doesn't require rootMark Johnston2013-01-031-1/+1
* Fix a typo in an error message.Mark Johnston2013-01-031-1/+1
* More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-201-21/+23
* We don't need to check the result of sending signal when -R option isAndrey V. Elsukov2012-07-091-1/+2
* Hide DIR definition by making it an opaque struct typedef.Gleb Kurtsou2012-05-191-3/+3
* Don't run through time checks when entry is definitely oversized. ThisGleb Smirnoff2012-03-211-2/+5
* Further fix a typo and spelling classic correctly in function names,Ulrich Spörlein2012-01-051-8/+8
* Replace index() and rindex() calls with strchr() and strrchr().Ed Schouten2012-01-031-4/+4
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-2/+2
* - Remove extraneous null ptr deref checksEitan Adler2011-12-211-1/+2
* Add new modifier - "R", when it is specified the path to pid fileMaxim Sobolev2011-05-141-30/+61