Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2000 21:59:01 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Peter Wemm <peter@netplex.com.au>, Brian Somers <brian@FreeBSD.ORG>, 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)
Message-ID:  <200008212059.e7LKx2473044@hak.lan.Awfulhak.org>
In-Reply-To: Message from Brian Somers <brian@Awfulhak.org>  of "Wed, 16 Aug 2000 21:43:37 BST." <200008162043.VAA11343@hak.lan.Awfulhak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
>       <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008212059.e7LKx2473044>