Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22306 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15218 invoked by uid 1010); 9 Mar 2006 20:08:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15199 invoked from network); 9 Mar 2006 20:08:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2006 20:08:00 -0000 X-Host-Fingerprint: 64.233.184.194 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.194:10947] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 48/A3-27106-E1B80144 for ; Thu, 09 Mar 2006 15:07:59 -0500 Received: by wproxy.gmail.com with SMTP id 71so492963wri for ; Thu, 09 Mar 2006 12:07:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZSNQxxhXK2DFpdGXs2jeCUmc0C+4HTTMdrMhTi2GmJqJ0WIue/wy3mkn/7DmcGDnrYT8VxD8oBZC1iQACgUUQLI1VLINPb2tnNN0IIly+yNlJwCEeldXdpBdmj0QmGn5nm+oSRP36foPH3o3nPxkq5rq5idXMQz4d2KDhXu2Sq4= Received: by 10.35.78.13 with SMTP id f13mr1819254pyl; Thu, 09 Mar 2006 12:07:55 -0800 (PST) Received: by 10.35.134.4 with HTTP; Thu, 9 Mar 2006 12:07:55 -0800 (PST) Message-ID: <8b6fdd1d0603091207w691cbf45v2d131f18b4dc2a41@mail.gmail.com> Date: Thu, 9 Mar 2006 12:07:55 -0800 To: "Rasmus Lerdorf" Cc: internals@lists.php.net In-Reply-To: <8b6fdd1d0603081423n17849b61i53dc4886ebf9348e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8b6fdd1d0603081259u62306b82ob284b183f0ff3892@mail.gmail.com> <440F4730.8020506@lerdorf.com> <8b6fdd1d0603081423n17849b61i53dc4886ebf9348e@mail.gmail.com> Subject: Re: php5 reads /etc/group on start From: ckevinj@gmail.com (kjc) i've done some more analysis and I see where it uses /usr/lib/nss_files.so.1 during the start up phase- probably this very getgroups call. I think that would do it. but why? another question: is the ext/posix/posix.c bypassed when configured --disable-posix? your help is very much appreciated. On 3/8/06, kjc wrote: > Thanks for responding... > I see the following GID calls from libc, supplying both w/php and w/o php= . > Hmm. what next? > > logfile: CALL COUNT > log.dappprof-apachectl:libc.so.1 > getgid 1 > log.dappprof-apachectl:libc.so.1 > getpgid 1 > log.dappprof-apachectl:libc.so.1 > getegid 1 > log.dappprof-apachectl:libc.so.1 > getpgid 25400 > log.dappprof-apachectl:libc.so.1 > getgid 27700 > log.dappprof-apachectl:libc.so.1 > getegid 32100 > log.dappprof-apachectl:libc.so.1 > getpgid 2400 > log.dappprof-apachectl:libc.so.1 > getgid 3800 > log.dappprof-apachectl:libc.so.1 > getegid 6700 > log.dappprof-apachectl-nophp:libc.so.1 > getegid 1 > log.dappprof-apachectl-nophp:libc.so.1 > getgid 1 > log.dappprof-apachectl-nophp:libc.so.1 > getpgid 1 > log.dappprof-apachectl-nophp:libc.so.1 > getpgid 25600 > log.dappprof-apachectl-nophp:libc.so.1 > getgid 27000 > log.dappprof-apachectl-nophp:libc.so.1 > getegid 28200 > log.dappprof-apachectl-nophp:libc.so.1 > getpgid 2300 > log.dappprof-apachectl-nophp:libc.so.1 > getgid 3400 > log.dappprof-apachectl-nophp:libc.so.1 > getegid 4800 > > > > > On 3/8/06, Rasmus Lerdorf wrote: > > > > > > > > Obviously PHP doesn't read that file directly. Figure out which libc > > call leads to that call and we might be able to help. > > > > -Rasmus > > > > > > -- > -Kevin > > -- -Kevin