This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] getusershell: rewrite from scratch [BZ #18660]


On 21 Oct 2015 09:47, Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > - FreeBSD says "The shells file contains a list of the shells on the
> >   system.  For each shell a single line should be present, consisting of
> >   the shell's path, relative to root.  A hash mark (``#'') indicates the
> >   beginning of a comment; subsequent characters up to the end of the line
> >   are not interpreted by the routines which search the file.  Blank lines
> >   are also ignored."
> 
> This is the ultimate documentation, as the interface was invented by
> BSD.  Why deviate from it?

i disagree.  as i've shown, there is deviation between systems already,
which means admins cannot rely on the behavior being the same everywhere.
hence i turn to the intention of the API and how a reasonable admin would
configure the system, and i think this new version follows that.

note that the API/ABI for tools is unchanged here -- programs all continue
to run and behave the same.  it's changing how the contents of the shells
file is parsed and what entries are returned.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]