From owner-cvs-all Mon Aug 21 14: 0:45 2000 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 8ABD037B507; Mon, 21 Aug 2000 14:00:35 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA14565; Mon, 21 Aug 2000 21:59:08 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.0/8.11.0) with ESMTP id e7LKx2473044; Mon, 21 Aug 2000 21:59:02 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200008212059.e7LKx2473044@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Brian Somers Cc: Peter Wemm , Brian Somers , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, brian@Awfulhak.org Subject: Moving setproctitle() to libc (was: Re: cvs commit: src/usr.sbin/pppctl Makefile pppctl.c) In-Reply-To: Message from Brian Somers of "Wed, 16 Aug 2000 21:43:37 BST." <200008162043.VAA11343@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Aug 2000 21:59:01 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm gonna ask for a repo-copy of src/lib/libutil/setproctitle.{c,3} to src/lib/libc/gen/ in a couple of days. If anybody has any objections, please make them now as I do not intend to reverse this (due to the obvious bootstrap problems). > > Brian Somers wrote: > > > > 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.... > > > > I had been planning to move it. It causes problems in libperl.so as it > > would add an extra dynamic dependency to libutil. > > What about namespace pollution issues ? If this is moved, are the > ANSI/POSIX/c99 types going to raise the banners ? > > > Cheers, > > -Peter > > -- > > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > -- > 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