This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin 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: Avoiding /etc/passwd and /etc/group scans


On Mon, Oct 21, 2002 at 11:01:59AM -0400, Pierre A. Humblet wrote:
>Cygwin scans the passwd and group files to map sids
>to/from uid & gid. It does so even for the current user,
>although the relevant mappings are stored internally.
>This is inefficient and causes problems (e.g. gcc produces
>non executable files) as soon as /etc/passwd is incomplete.

It's only supposed to be doing this for the first cygwin process that
start up on a given console.  Is that, again, no longer the case?  It
seems like we keep drifting here.  We shouldn't be incurring the
/etc/group and /etc/passwd startup costs even when ntsec isn't
available.

Anyway, I'll take a look at your patch later today, Pierre.

cgf


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