diff options
author | Anton Kling <anton@kling.gg> | 2024-12-08 19:43:31 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-08 19:43:31 +0100 |
commit | a7ef3d06f74c8131b04b41cdf902e3c59f61769f (patch) | |
tree | bfb97ac76b6ceb4282e5c55e5827c8f1c1eebf02 /meta/userland.sh | |
parent | 3918a0e92f47f0998fadbc19f0a567e985445407 (diff) |
vfs: Force truncation even without permissions
O_TRUNC as a mode does not seem to imply write permissions
but we still wish to truncate the file before giving back a file
descriptor. Therefore the kernel can now override any permission checks
if it wishes to do a truncation while still using the "ordinary path".
Diffstat (limited to 'meta/userland.sh')
0 files changed, 0 insertions, 0 deletions