diff options
author | Steven Rostedt (Google) <[email protected]> | 2023-09-05 14:26:09 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-09-05 21:14:08 -0400 |
commit | e24709454c458283146485b76abfcc6d8ea964c7 (patch) | |
tree | aa49b18aa7cf49faca34b41187f1127c0f2f18d9 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 51aab5ffceb43e05119eb059048fd75765d2bc21 (diff) |
tracefs/eventfs: Add missing lockdown checks
All the eventfs external functions do not check if TRACEFS_LOCKDOWN was
set or not. This can caused some functions to return success while others
fail, which can trigger unexpected errors.
Add the missing lockdown checks.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lore.kernel.org/all/[email protected]/
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ajay Kaher <[email protected]>
Cc: Ching-lin Yu <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions