aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-09-26 22:48:12 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-21 08:55:30 +0900
commit1b77c97c74bebb030143cf8485aad0f442dfeebd (patch)
treeb124cd4bdefb6f7561c213a60ef3dabcc46bc9bd /scripts/Makefile.thinlto
parentksmbd: validate POSIX create contexts (diff)
ksmbd: enforce POSIX append-only writes
POSIX append-only opens do not set O_APPEND, and the SMB append sentinel is rejected as a negative write offset. Track append-only POSIX opens, set O_APPEND and require the U64_MAX offset sentinel for their writes. Accept FILE_WRITE_DATA or FILE_APPEND_DATA for WRITE requests, preserving ordinary SMB write permissions. Use the POSIX append flag and offset check to prevent POSIX append-only opens from overwriting existing data. For synchronous writes, derive the fsync range from the completed write position so append writes flush the range actually written. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions