Home
last modified time | relevance | path

Searched hist:ad4d05329df5e9825cac3132e12453a6c12915b8 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/udf/
H A Dsymlink.cdiff ad4d05329df5e9825cac3132e12453a6c12915b8 Mon Jan 02 07:30:31 CST 2017 Jan Kara <jack@suse.cz> udf: Make stat on symlink report symlink length as st_size

UDF encodes symlinks in a more complex fashion and thus i_size of a
symlink does not match the lenght of a string returned by readlink(2).
This confuses some applications (see bug 191241) and may be considered a
violation of POSIX. Fix the problem by reading the link into page cache
in response to stat(2) call and report the length of the decoded path.

Signed-off-by: Jan Kara <jack@suse.cz>
H A Dudfdecl.hdiff ad4d05329df5e9825cac3132e12453a6c12915b8 Mon Jan 02 07:30:31 CST 2017 Jan Kara <jack@suse.cz> udf: Make stat on symlink report symlink length as st_size

UDF encodes symlinks in a more complex fashion and thus i_size of a
symlink does not match the lenght of a string returned by readlink(2).
This confuses some applications (see bug 191241) and may be considered a
violation of POSIX. Fix the problem by reading the link into page cache
in response to stat(2) call and report the length of the decoded path.

Signed-off-by: Jan Kara <jack@suse.cz>
H A Dnamei.cdiff ad4d05329df5e9825cac3132e12453a6c12915b8 Mon Jan 02 07:30:31 CST 2017 Jan Kara <jack@suse.cz> udf: Make stat on symlink report symlink length as st_size

UDF encodes symlinks in a more complex fashion and thus i_size of a
symlink does not match the lenght of a string returned by readlink(2).
This confuses some applications (see bug 191241) and may be considered a
violation of POSIX. Fix the problem by reading the link into page cache
in response to stat(2) call and report the length of the decoded path.

Signed-off-by: Jan Kara <jack@suse.cz>
H A Dinode.cdiff ad4d05329df5e9825cac3132e12453a6c12915b8 Mon Jan 02 07:30:31 CST 2017 Jan Kara <jack@suse.cz> udf: Make stat on symlink report symlink length as st_size

UDF encodes symlinks in a more complex fashion and thus i_size of a
symlink does not match the lenght of a string returned by readlink(2).
This confuses some applications (see bug 191241) and may be considered a
violation of POSIX. Fix the problem by reading the link into page cache
in response to stat(2) call and report the length of the decoded path.

Signed-off-by: Jan Kara <jack@suse.cz>