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>.
1 file changed