From owner-cvs-src Sat Mar 8 12: 7: 5 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2C3E37B401; Sat, 8 Mar 2003 12:07:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58D8643FA3; Sat, 8 Mar 2003 12:07:02 -0800 (PST) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h28K720U015275; Sat, 8 Mar 2003 12:07:02 -0800 (PST) (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h28K72Sf015274; Sat, 8 Mar 2003 12:07:02 -0800 (PST) Message-Id: <200303082007.h28K72Sf015274@repoman.freebsd.org> From: Garance A Drosehn Date: Sat, 8 Mar 2003 12:07:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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