Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-09-14 | ARGSUSED before signal handler with unused signo | Theo de Raadt | |
2004-07-11 | Make newsyslog(8) deal correctly with a count of 0 in newsyslog.conf. | Todd C. Miller | |
Based on a diff from Matthew Gream. | |||
2004-05-10 | pretty | Theo de Raadt | |
2004-04-09 | If no user/group is specified for the log file in newsyslog.conf, | Todd C. Miller | |
use the uid/gid of the existing log file. OK deraadt@ | |||
2004-04-06 | Set mode and ownership when renaming file -> file.0 like we do when | Todd C. Miller | |
moving the file across filesystems or renaming from file.0 -> file.1. Problem noticed by mpech@ | |||
2004-04-05 | o use mode_t, not int for permissions. | Todd C. Miller | |
o use strtol() instead of sscanf() to parse numbers in config file This has been sitting in my tree for a long time... | |||
2004-01-23 | `Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8)) | Jason McIntyre | |
discussed with todd@ | |||
2003-12-16 | Avoid segmentation fault when empty commands are specified in the | Otto Moerbeek | |
config file; resolves PR 3578. ok deraadt@ millert@ | |||
2003-07-25 | When parser_file() fails, print correct line number. | Mike Pechkin | |
millert@ ok | |||
2003-07-01 | Add support for -a dirs on different filesystems. | Todd C. Miller | |
From FreeBSD via S. Deinhard. | |||
2003-06-26 | more proto fixes | Theo de Raadt | |
2003-06-17 | Sync with share/misc/license.template and add missing DARPA credit | Todd C. Miller | |
where applicable. | |||
2003-06-10 | Whoops, <= 0 should be < 0. Problem noticed by marc@ | Todd C. Miller | |
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-09 | o replace remaining strtoul() with strtol() and check for < 0 | Todd C. Miller | |
o use %lld, not %qd in printf and scanf o fix some whitespace issues | |||
2003-06-09 | Use strtol() not strtoul() so we can detect a negative number in a pid file. | Todd C. Miller | |
2003-06-09 | Need to include time.h to get ctime() proto. | Todd C. Miller | |
2003-06-03 | terms 3 & 4 cleanup based on "terms" file | Theo de Raadt | |
2003-06-03 | Use an ISC-tyle license for all my code; it is simpler and more permissive. | Todd C. Miller | |
2003-05-15 | Fix some typos, clarify a few bits, and fix a display issue with `:'. | Todd C. Miller | |
Based on a patch rom Brian Poole | |||
2003-05-15 | From Brian Poole | Todd C. Miller | |
o fix typos o remove a redundant check for verbose | |||
2003-04-25 | check asprintf return value for error, as the pointer is not guaranteed | Peter Valchev | |
to be NULL in such case; ok millert | |||
2003-02-12 | Add support for rotating files at a specific time; from FreeBSD | Todd C. Miller | |
2003-02-09 | typos; | Jason McIntyre | |
2003-01-25 | it is 2003 now | Todd C. Miller | |
2003-01-25 | Move parsing of the monitor notification user with the rest of the | Todd C. Miller | |
optional arguments and add some sanity checking (if the M flag is specified a notification user must be specified as well). Also make the -n flag work in conjunction with -m and make verbose mode more monitor-friendly. deraadt@ OK | |||
2003-01-25 | Make monitor section match the actual code. | Todd C. Miller | |
2003-01-06 | typo; jmc@prioris.mini.pw.edu.pl | Theo de Raadt | |
2002-12-23 | Display offending line number in error messages. | Todd C. Miller | |
Based on a patch from Sam Smith. | |||
2002-11-27 | typo; Tor Houghton | Todd C. Miller | |
2002-11-07 | Sigh, sizes are in KB, not bytes, which made the cutoff size for | Todd C. Miller | |
rotating a file 512KB instead of 512 bytes, as was intended. Change things to deal in bytes internally and drop the cutoff to 256 bytes. | |||
2002-09-21 | When rotating files or checking the age of a file, check for both | Todd C. Miller | |
compressed and uncompressed logs but consult the flags to see which we one prefer should both exist. This keeps things from getting hosed if someone compresses or uncompresses one of the archived log files. | |||
2002-09-19 | Deal with someone specifying an empty string for the command to run | Todd C. Miller | |
and make it mean "send no signal and run no command". | |||
2002-09-19 | Fix long-standing bug. When specifying a command to run instead of sending | Todd C. Miller | |
a signal, the command was never actually run. | |||
2002-09-19 | Since isspace() considers \n to be a space we need to check for start | Todd C. Miller | |
of line == \0, not \n after stripping leading blanks. Otherwise blank lines give an error. Noticed by marc@ | |||
2002-09-17 | Allow user to restrict logs to be rotated by specifying pathnames on | Todd C. Miller | |
the command line. The default is to rotate all files in newsyslog.conf | |||
2002-09-17 | Add -F (force) flag; inspired by FreeBSD | Todd C. Miller | |
2002-09-17 | Add -a flag to specify a directory to store archived logs. Based on | Todd C. Miller | |
changes I made years ago to a private version of newsyslog but with the option renamed to match FreeBSD. Note that unlike the FreeBSD -a flag, we don't automagically create the archive dir if it doesn't exist. OK deraadt@ and todd@ | |||
2002-09-16 | o Remove "NONE" #define and check uid_t and gid_t against -1 with proper casts | Todd C. Miller | |
o Don't call chown/fchown if neither uid nor gid was specified o Fix check for symlinks in non-verbose mode o Add DPRINTF macro to simplify code in verbose mode o Print B and F flags in -v and -n modes o Add a leading tab to lines printed in -n mode for clarity | |||
2002-09-13 | remove trailing whitespace | Todd C. Miller | |
2002-09-13 | Don't rotate log files < 512 bytes unless in binary mode. This | Todd C. Miller | |
prevents newsyslog from rotating a file that only contains the messages that the log file was turned over. deraadt@ OK | |||
2002-09-13 | Use .Dv for SIGUSR1 like all the other signal names. | Todd C. Miller | |
2002-09-13 | KNF + ANSI; deraadt@ OK | Todd C. Miller | |
2002-09-12 | add missing include of limits.h | Todd C. Miller | |
2002-08-12 | Swap args to calloc(3) so they are in the correct order; art@ ok. | Aaron Campbell | |
2002-06-26 | Don't follow symbolic links for (ie. user-owned) log files by default; | Wilbern Cobb | |
closes pr #1913. ok millert@ | |||
2002-06-12 | a real pid_t cleanup. | Mike Pechkin | |
espie@ ok for make/, deraadt@ one extra eye, millert@ ok | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-11-27 | Fix uninitialized variable introduced in rev 1.40; found by lebel@ | Todd C. Miller | |
If fgets() fails, set err to a reasonable value. Otherwise we could send the signal to pid 0 which would be bad... | |||
2001-11-24 | handle NL terminated pid files correctly, OK deraadt@ | Marco S Hyman | |