Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com To: Subject: Re: Proposal: check and read /etc/{passwd,group} less frequently. Reply-To: cygwin-developers AT cygwin DOT com References: Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 14 Sep 2001 21:25:05 +0900 In-Reply-To: Kazuhiro Fujieda's message of 14 Sep 2001 16:33:05 +0900 Message-ID: Lines: 18 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On 14 Sep 2001 16:33:05 +0900 >>> Kazuhiro Fujieda said: > > How often is internal_getlogin called relative to get(p|g)w*? > > It is in set{g,u}id and uinfo_init. At the user's point of view, > the cache is updated only when they execute another command. Oops, I've told a lie. it's a nonsense that internal_getlogin invokes read_etc{passwd,group}. I tested it and found it couldn't work as I intended. I'd like to change the proposal. Checking and reading /etc/{passwd,group} should be held in uinfo_init. ____ | AIST Kazuhiro Fujieda | HOKURIKU Center for Information Science o_/ 1990 Japan Advanced Institute of Science and Technology