From owner-cvs-all Wed Aug 16 6:42:32 2000 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id A0B1037BFD3; Wed, 16 Aug 2000 06:42:25 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.nat.Awfulhak.org [172.31.0.12]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id OAA08876; Wed, 16 Aug 2000 14:42:22 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id OAA01274; Wed, 16 Aug 2000 14:42:16 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200008161342.OAA01274@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Brian Somers Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/usr.sbin/pppctl Makefile pppctl.c In-Reply-To: Message from Brian Somers of "Wed, 16 Aug 2000 05:01:18 PDT." <200008161201.FAA26594@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Aug 2000 14:42:15 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > brian 2000/08/16 05:01:18 PDT > > Modified files: > usr.sbin/pppctl Makefile pppctl.c > Log: > If the -p option is used, use setproctitle() to hide it's argument > (a password) asap. > > Revision Changes Path > 1.6 +3 -3 src/usr.sbin/pppctl/Makefile > 1.22 +36 -3 src/usr.sbin/pppctl/pppctl.c Interestingly enough, it turns out that both OpenBSD and NetBSD have setproctitle() in libc rather than in libutil. Does anyone have any objections to us following suit ? At a guess I would think setproctitle() isn't used in any of the bootstrap/build stuff, so it would *probably* be an easy transition if nobody complains.... -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message