Files
linux/security/tomoyo
Günther Noack 3350607dc5 security: Create file_truncate hook from path_truncate hook
Like path_truncate, the file_truncate hook also restricts file
truncation, but is called in the cases where truncation is attempted
on an already-opened file.

This is required in a subsequent commit to handle ftruncate()
operations differently to truncate() operations.

Acked-by: Tetsuo Handa <[email protected]>
Acked-by: John Johansen <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: Günther Noack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mickaël Salaün <[email protected]>
2022-10-19 09:01:40 +02:00
..
2022-08-21 11:50:42 -04:00
2022-08-21 11:50:42 -04:00
2022-02-07 13:04:44 -08:00
2020-12-06 13:44:57 +09:00
2020-12-06 13:44:57 +09:00
2020-11-27 19:36:11 +09:00
2019-01-24 14:50:27 -08:00
2021-06-16 00:01:28 +09:00