From: Andrew Morton <akpm@linux-foundation.org>
To: Al Viro <viro@zeniv.linux.org.uk>, Christoph Hellwig <hch@lst.de>
Cc: bugzilla-daemon@bugzilla.kernel.org,
bugme-daemon@bugzilla.kernel.org, tolzmann@molgen.mpg.de,
linux-fsdevel@vger.kernel.org
Subject: Re: [Bugme-new] [Bug 15909] New: open("a/", O_NOFOLLOW) fails with ELOOP if "a" is a symbolic link to a directory.
Date: Thu, 6 May 2010 14:30:02 -0700 [thread overview]
Message-ID: <20100506143002.0381501b.akpm@linux-foundation.org> (raw)
In-Reply-To: <bug-15909-10286@https.bugzilla.kernel.org/>
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Wed, 5 May 2010 13:01:22 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=15909
>
> Summary: open("a/",O_NOFOLLOW) fails with ELOOP if "a" is a
> symbolic link to a directory.
> Product: File System
> Version: 2.5
> Kernel Version: 2.6.34-rc6
> Platform: All
> OS/Version: Linux
> Tree: Mainline
> Status: NEW
> Severity: high
> Priority: P1
> Component: Other
> AssignedTo: fs_other@kernel-bugs.osdl.org
> ReportedBy: tolzmann@molgen.mpg.de
> Regression: No
>
>
> mkdir c
> ln -s c a
>
> f=open("a/",O_RDONLY+O_NOFOLLOW)
>
> fails with ELOOP. However, this open should behave like open("a/.") not like
> open("a") according to path_resolution(7). In kernel version 2.6.32 the open
> worked as documented.
>
> On a higher level this bug makes
>
> find a/
>
> to fail.
>
It sounds like this 2.6.32->2.6.34-rc6 regression could have pretty
serious ramifications for some users. Does anyone know whcih commit
might have caused it?
next parent reply other threads:[~2010-05-06 21:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-15909-10286@https.bugzilla.kernel.org/>
2010-05-06 21:30 ` Andrew Morton [this message]
2010-05-09 15:29 ` [Bugme-new] [Bug 15909] New: open("a/", O_NOFOLLOW) fails with ELOOP if "a" is a symbolic link to a directory OGAWA Hirofumi
2010-05-11 15:48 ` Jan Kara
2010-05-11 16:24 ` [LTP] " Jan Kara
2010-05-11 16:24 ` Jan Kara
2010-05-11 16:35 ` [LTP] " Subrata Modak
2010-05-11 16:35 ` Subrata Modak
2010-05-12 15:59 ` Jan Kara
2010-05-12 16:46 ` Subrata Modak
2010-05-13 11:29 ` Jan Kara
2010-05-17 20:06 ` Subrata Modak
2010-05-11 16:28 ` Jan Kara
2010-05-12 10:02 ` Miklos Szeredi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100506143002.0381501b.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=bugzilla-daemon@bugzilla.kernel.org \
--cc=hch@lst.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=tolzmann@molgen.mpg.de \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.