commit | 6e9c735833c19ad5031a4116b2e74ee77ff53424 | [log] [tgz] |
---|---|---|
author | Subrata Modak <subratamodak@subratamodak.linux.ibm.com> | Tue May 18 01:31:35 2010 +0530 |
committer | Subrata Modak <subratamodak@subratamodak.linux.ibm.com> | Tue May 18 01:31:35 2010 +0530 |
tree | e15a8266e0185ab3ceba8753aa78b1aa1a4c197d | |
parent | ca758b73afff8200df5e1a24e9abe8a6468c9e06 [diff] |
New: open("a/", O_NOFOLLOW) fails with ELOOP if "a" is a symbolic link to a directory. Add O_NOFOLLOW open test with trailing slash. In a situation where symlink (say 's') points to a directory, open("s/", O_NOFOLLOW) should succeed. Check for this. Signed-off-by: Jan Kara <jack@suse.cz>.