mirror of https://github.com/torvalds/linux.git
The kprobe page is allocated by execmem allocator with ROX permission.
It needs to call set_memory_rox() to set proper permission for the
direct map too. It was missed.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| decode-insn.c | ||
| decode-insn.h | ||
| kprobes.c | ||
| kprobes_trampoline.S | ||
| simulate-insn.c | ||
| simulate-insn.h | ||
| uprobes.c | ||