summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorZhan Xusheng <zhanxusheng@xiaomi.com>2026-10-12 14:20:40 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 18:46:00 +0900
commitb08619bf3c213cd5605d72b363dd3000663c35c1 (patch)
treed3f84e1a79a382a8961197be003b2dd3fa801d49 /scripts/Makefile.thinlto
parent5db65a43ed8bd1a4c0b01a20e494384bc45e4312 (diff)
downloadlinux-b08619bf3c213cd5605d72b363dd3000663c35c1.tar.gz
linux-b08619bf3c213cd5605d72b363dd3000663c35c1.zip
ntfs: reject direct I/O reads of encrypted files
ntfs_file_read_iter() refuses direct I/O for compressed and WOF compressed attributes but lets encrypted ones reach iomap_dio_rw(). ntfs_read_iomap_begin_non_resident() has no NInoEncrypted() test, so it reports IOMAP_MAPPED for the attribute's real clusters and the raw on-disk ciphertext is copied to the caller. Buffered reads are refused by ntfs_read_folio(), but direct I/O never calls it. Fixes: 9c87959601e8 ("ntfs: update file operations") Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com> Reviewed-by: Baolin Liu <liubaolin@kylinos.cn> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions