diff options
author | Josh Poimboeuf <[email protected]> | 2020-04-29 10:24:43 -0500 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2020-05-08 00:12:42 +0200 |
commit | dcf550e52f567cb7a421169d2522869f9188aca5 (patch) | |
tree | 8132935cd192b34addd1a3eb2c8cb120258510e6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a811c1fa0a02c062555b54651065899437bacdbe (diff) |
livepatch: Disallow vmlinux.ko
This is purely a theoretical issue, but if there were a module named
vmlinux.ko, the livepatch relocation code wouldn't be able to
distinguish between vmlinux-specific and vmlinux.o-specific KLP
relocations.
If CONFIG_LIVEPATCH is enabled, don't allow a module named vmlinux.ko.
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Acked-by: Miroslav Benes <[email protected]>
Acked-by: Joe Lawrence <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions