From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subrata Modak Subject: Re: [LTP] [Bugme-new] [Bug 15909] New: open("a/", O_NOFOLLOW) fails with ELOOP if "a" is a symbolic link to a directory. Date: Wed, 12 May 2010 22:16:03 +0530 Message-ID: <1273682772.4910.4.camel@subratamodak.linux.ibm.com> References: <20100506143002.0381501b.akpm@linux-foundation.org> <20100511154850.GC2832@quack.suse.cz> <20100511162452.GD2832@quack.suse.cz> <1273595753.4875.1.camel@subratamodak.linux.ibm.com> <20100512155948.GD3326@quack.suse.cz> Reply-To: subrata@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: ltp-list@lists.sourceforge.net, tolzmann@molgen.mpg.de, bugzilla-daemon@bugzilla.kernel.org, Al Viro , bugme-daemon@bugzilla.kernel.org, linux-fsdevel@vger.kernel.org, Andrew Morton , Christoph Hellwig , chrubis@suse.cz To: Jan Kara Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:46262 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756528Ab0ELQqZ (ORCPT ); Wed, 12 May 2010 12:46:25 -0400 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by e6.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o4CGiOqb002627 for ; Wed, 12 May 2010 12:44:24 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o4CGkO2q143452 for ; Wed, 12 May 2010 12:46:24 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o4CGkMmR030590 for ; Wed, 12 May 2010 12:46:24 -0400 In-Reply-To: <20100512155948.GD3326@quack.suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 2010-05-12 at 17:59 +0200, Jan Kara wrote: > Hi, > > On Tue 11-05-10 22:05:52, Subrata Modak wrote: > > It would be great if you can shoot it in the form of a patch, mentioning > > > > 1. The GPL Lincense, > > 2. The purpose of the test case, > > 3. Exact location it goes, > > 4. Which LTPROOT/runtest/ executes it > With a help of Cyril I've created the attached patch and verified that > the test fails on 2.6.33 but succeeds on 2.6.32... Great. Thanks for the patch. But, it falters on the latest git. Can you please rebase and resend: patching file testcases/kernel/syscalls/open/open07.c Hunk #1 succeeded at 40 with fuzz 1. Hunk #2 FAILED at 73. Hunk #3 FAILED at 136. Hunk #4 succeeded at 173 with fuzz 2 (offset -1 lines). Hunk #5 FAILED at 185. Hunk #6 FAILED at 203. Hunk #7 FAILED at 226. Hunk #8 FAILED at 249. 6 out of 8 hunks FAILED -- saving rejects to file testcases/kernel/syscalls/open/open07.c.rej Regards-- Subrata > > Honza