Date: Sat, 8 Mar 2003 12:07:02 -0800 (PST) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c Message-ID: <200303082007.h28K72Sf015274@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2003/03/08 12:07:02 PST
FreeBSD src repository
Modified files:
usr.sbin/newsyslog newsyslog.c
Log:
Add a config-file flag of 'U' or 'u' to indicate that the pid-file
will contain the pid for a process group. This means the file must
contain a negative value (as would be needed in the 'kill' commmand).
I still need to write man-page update before MFC-ing.
This started by rewriting the get_pid() routine. Later I looked at
what OpenBSD has, and included a few ideas from their send_signal()
routine. So, parts of this change are from OpenBSD, even though
OpenBSD does not actually have a 'U' flag.
PR: bin/28435
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
Revision Changes Path
1.64 +115 -46 src/usr.sbin/newsyslog/newsyslog.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303082007.h28K72Sf015274>
