Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38993 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74855 invoked from network); 15 Jul 2008 22:13:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jul 2008 22:13:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:51771] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/16-11609-8F02D784 for ; Tue, 15 Jul 2008 18:13:14 -0400 Received: from [192.168.0.100] (xdsl-87-78-223-159.netcologne.de [::ffff:87.78.223.159]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Wed, 16 Jul 2008 00:13:10 +0200 id 000000000000C006.00000000487D20F6.000068DA To: Rasmus Lerdorf Cc: Amir Hardon , PHP Internals List In-Reply-To: <487CEF26.7030802@lerdorf.com> References: <1216133436.6875.35.camel@amirh> <487CEF26.7030802@lerdorf.com> Date: Wed, 16 Jul 2008 00:13:08 +0200 Message-ID: <1216159988.28846.12.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-26842-1216159990-0001-2" X-Mailer: Evolution 2.22.2 Subject: Re: [PHP-DEV] lstat call on each directory level From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-26842-1216159990-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Rasmus, Am Dienstag, den 15.07.2008, 11:40 -0700 schrieb Rasmus Lerdorf: [...] > That's a realpath() call and it should be getting cached by the realpath=20 > cache, so if you are seeing these on every request, try increasing your=20 > realpath_cache size in your .ini. Without checking the realpath, you=20 > would be able to circumvent open_basedir checking really easily with a=20 > symlink. Couldn't we do that check only if open_basedir is active? cu, Lars --=_milch.schokokeks.org-26842-1216159990-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJIfSD0AAoJECQPF+sCY6wHVHUQAJCG99hWnYpdVQaVmMhTTgTy FPDnMtRAMXSr4DazVM/f1v/zSAX47mEqNUB1tv8S9RaNn5O1gJp0MY3FqSyahhoy CcOmyCfhhA3Z89/0KcImwN7wVIeMsgL8q04qKqcE5E6fOeHZzM/4gaTaE8+VplOL cxa1/tih9wGlEbu0R4Gr8bkaUePcOfqa3FvR37cS04npZfb+tnlWoyep+33cNG8p KZB0Yg7rvfkI/yhhGktA0J6PfkCXZHcZvBOe7ilcrSIol+W9P5pXWmRiQSI7ynCg d17Nti9gZ1HuaEIKJl3CykkPKo9IDhj9pg4T7+nJyw+X0PirckV3RnZryE0J7dLD OHh9v1JrzprPHnE3VLF+GcRQ4hPKhdSwShFGdPGy7CzLLCJo0n33314ZN26fpbIg 7L/uIgnTkJDos6LrMhy5AdL3WOIbh8tDZCfjsSDciULYvPEJ0tE55J5Xf0yQGaGG fhaxgGZgwiQfy5OjHYKIVyrUWCIqeUtatdIqG3bK+eKFywvGaKowRCyaCiz7dIIn +/+8WKOiClhW1mr8qksWaYxrhiBDmqQz2T0P0V+bzpkKW6X5PvN5jdLFibhdmMXu Qf97fim7zRG2hVWHsD2OK0HCeDZxGAlM9lg4JYTh/KLzCYo/pDud89JK+tb9uoRw /j422ET20hWRyYTw/ZZu =XAjx -----END PGP SIGNATURE----- --=_milch.schokokeks.org-26842-1216159990-0001-2--