:umu: :umu: (a1ba@suya.place)'s status on Wednesday, 15-Jan-2025 23:21:14 JST
-
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Wednesday, 15-Jan-2025 23:21:14 JST :umu: :umu: @lanodan I wonder if it's just an oversight.
I mean, imagine a VFS developer, who first check O_TRUNC flag, truncate it, and only then set desired mode for the file.
Though, it's not a big deal if kernel is buggy, because libc wrapper could handle this and return error... or abort().