Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2001-11-23 | greater care at reading pidfiles; millert ok | Theo de Raadt | |
2001-11-19 | kill more registers | Mike Pechkin | |
millert@ ok | |||
2001-11-16 | errno safety in SIGCHLD handler | Theo de Raadt | |
2001-08-21 | MLINK to config file man page | Theo de Raadt | |
2001-08-02 | o) .Sh AUTHOR -> .Sh AUTHORS; | Mike Pechkin | |
o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok | |||
2001-07-09 | correct type on last arg to execl(); nordin@cse.ogi.edu | Theo de Raadt | |
2001-03-01 | Remove -t option from getopt() since it doesn't exist; mpech@prosoft.org.lv. | Aaron Campbell | |
Also rearrage options in the man page while I'm here. | |||
2001-01-12 | various small cleanups | Theo de Raadt | |
2000-06-30 | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | Todd C. Miller | |
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | |||
2000-06-14 | monitor -> monitormode because some OSes have a monitor(3) | Todd C. Miller | |
2000-06-12 | Make the flags field truly optional. | Todd C. Miller | |
2000-06-10 | Increment pl when filling in pidlist. It was just overwriting the first | Todd C. Miller | |
entry each time. Unless you have multiple pid files you don't notice which is why this slipped through the cracks. Noted by Jonathan Rozes. | |||
2000-06-02 | Explicitly state that newsyslog does not send a HUP to syslogd if | Todd C. Miller | |
you tell it to run a command for the log file. | |||
2000-03-10 | Various cleanups and standardization. | Aaron Campbell | |
2000-03-05 | Finish standardizing options list introduction. | Aaron Campbell | |
1999-11-11 | Add support for sending signals other than SIGHUP and optionally | Todd C. Miller | |
run a command instead of sending a signal. | |||
1999-11-09 | calloc an array of char *, not pid_t (left over from previous implementation). | Todd C. Miller | |
1999-11-09 | Avoid sending a HUP to a process multiple times. Ie: instead of one | Todd C. Miller | |
per log file, do one per pid file (but only if the pid file corresponds to a log file that was rotated). | |||
1999-11-07 | compress_log() now needs to check for noaction != 0 | Todd C. Miller | |
1999-11-07 | Don't send a HUP or compress the log files until _everything_ has been | Todd C. Miller | |
rotated. Fixes a race condition between syslogd and newsyslog whereby syslogd could be reinitializing (due to SIGHUP) while newsyslog was rotating the next log file. | |||
1999-11-07 | o Some KNF + consistent indentation for readability | Todd C. Miller | |
o When pid file cannot be opened give a sensible warning o Use fchmod when we can o Check more return values o Use uid_t/gid_t when sensible o When computing kbytes from blocks do so in such a way that is not likely to cause wrap. o Sanity check path lengths to avoid chance of oflow | |||
1999-11-06 | Back out version 1.21 since it breaks age rotation. | Todd C. Miller | |
1999-11-06 | back out unwanted private change | Todd C. Miller | |
1999-11-06 | Use fchmod instead of chmod and open() instead of creat(). | Todd C. Miller | |
1999-10-13 | age_old_log() now takes an int * as a parameter so it can return -1 | Todd C. Miller | |
on failure w/o the caller thinking the difference in mtime is -1. Just set modtime to 0 in this case in the caller which effectively ignores it. This fixes a problem where if there was now foo.0 file newsyslog would rotate an empty file. | |||
1999-08-27 | Replace some strlen with sizeof() - 1. | Federico G. Schwindt | |
Don't forget to malloc space for newline. Suggested by aazubel@cnba.uba.ar; ok millert@ | |||
1999-07-03 | remove redundant .Pp macros | Aaron Campbell | |
1999-06-08 | fewer strings | kstailey | |
1999-06-05 | capitalize the acronym ID | Aaron Campbell | |
1999-06-05 | - remove trailing white space | Aaron Campbell | |
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/ | |||
1999-05-23 | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | Aaron Campbell | |
is used instead; kwesterback@home.com | |||
1999-05-12 | efault -> default; steve@tightrope.demon.co.uk | Aaron Campbell | |
1999-03-08 | numlogs cannot be negative; karls@inet.no | Todd C. Miller | |
1999-01-05 | do not concern ourselves with MAX_PID | Theo de Raadt | |
1999-01-04 | MIN_PID should be 4 since update is proc 3 now | Todd C. Miller | |
1998-12-28 | crank PID_MAX to 99999 | Theo de Raadt | |
1998-12-16 | more .Nm fixes | Aaron Campbell | |
1998-11-11 | remove redundant .Pp macros | Aaron Campbell | |
1998-09-27 | usr.bin/ man page cleanups, n-s | Aaron Campbell | |
1998-09-24 | Add optional support for pid files other than /var/run/syslog.pid | Todd C. Miller | |
Useful for rotating httpd logs. | |||
1998-04-25 | be more verbose on errors. | Michael Shalayeff | |
one typo in fchown error msg | |||
1998-03-07 | he -> the, and simplified a warning | David Leonard | |
1997-07-10 | NULL | kstailey | |
1997-07-08 | err()/warn() | Jason Downs | |
1997-07-08 | Note about email and notifications. | Jason Downs | |