aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_linux.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-11-26 21:27:29 +0100
committerJakob Unterwurzacher2017-11-26 21:37:12 +0100
commit1bb47b6796c7a2cfb64e6cdff37c43c03c473a81 (patch)
treeb223c301a1b95506f20f876b13b2145d7a0f113b /internal/syscallcompat/sys_linux.go
parent90687215a42b2e074f3b5a85cf344ca998fa34ac (diff)
reverse: reject too-long symlink target reads with ENAMETOOLONG
If the symlink target gets too long due to base64 encoding, we should return ENAMETOOLONG instead of having the kernel reject the data and returning an I/O error to the user. Fixes https://github.com/rfjakob/gocryptfs/issues/167
Diffstat (limited to 'internal/syscallcompat/sys_linux.go')
0 files changed, 0 insertions, 0 deletions