Thread (12 messages) 12 messages, 6 authors, 2020-01-10

Re: [PATCH bpf-next] bpf: Make trampolines W^X

From: Peter Zijlstra <peterz@infradead.org>
Date: 2020-01-06 08:23:40
Also in: bpf, lkml

On Sat, Jan 04, 2020 at 09:49:10AM +0900, Andy Lutomirski wrote:
quoted
- Mark memory as non executable (set_memory_nx). While module_alloc for
x86 allocates the memory as PAGE_KERNEL and not PAGE_KERNEL_EXEC, not
all implementations of module_alloc do so
How about fixing this instead?
We only care about STRICT_MODULE_RMW (iow, arm, arm64, s390, x86). Of
those only s390 seems to be 'off'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help