aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorYe Bin <[email protected]>2025-05-29 11:19:55 +0000
committerSteven Rostedt (Google) <[email protected]>2025-06-02 17:12:26 +0000
commit5834a597386c59fedc601a81091028074d6ae9a2 (patch)
treeceeadcc63361e6e5e9c14db20b2b0e3ff94d98fb /rust/helpers/platform.c
parentftrace: Fix UAF when lookup kallsym after ftrace disabled (diff)
downloadkernel-5834a597386c59fedc601a81091028074d6ae9a2.tar.gz
kernel-5834a597386c59fedc601a81091028074d6ae9a2.zip
ftrace: Don't allocate ftrace module map if ftrace is disabled
If ftrace is disabled, it is meaningless to allocate a module map. Add a check in allocate_ftrace_mod_map() to not allocate if ftrace is disabled. Link: https://lore.kernel.org/[email protected] Signed-off-by: Ye Bin <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions