Subject: Re: pw_dup(3)
To: None <lukem@NetBSD.org>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: tech-security
Date: 09/10/2003 04:11:50
> On Wed, Sep 10, 2003 at 04:06:55AM +0900, Jun-ichiro itojun Hagino wrote:
>   | >   | 	i propose to add this into libc.
>   | > 
>   | > do you intend to use it by other libc (or lib*) functions, or is this
>   | > purely an "end user app" thing.  if the latter, is libutil more
>   | > appropriate?
>   | > 
>   | > otherwise, looks useful.
>   | 
>   | 	this was needed for BSD auth, but it is useful by itself so i thought
>   | 	of adding this alone first.  it could be in libutil or libc.  either
>   | 	is fine for me.
>   | 
>   | 	(btw BSD auth logic will be in libutil, because login_cap is
>   | 	already there).
> 
> if there's any chance pw_dup(3) will be useful in libc, put it there.
> 
> on further consideration, i don't want a repeat of the mistake of putting
> fparseln(3) in libutil and then wanting to use it in libc.  so, libc it is.

	i see.  i guess i'll put it in libc.

itojun