Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page
From: Christoph Hellwig <hch@lst.de>
Date: 2020-06-27 07:57:04
Also in:
linux-arm-kernel, linux-mm, lkml
From: Christoph Hellwig <hch@lst.de>
Date: 2020-06-27 07:57:04
Also in:
linux-arm-kernel, linux-mm, lkml
On Sat, Jun 27, 2020 at 09:34:42AM +0200, Ard Biesheuvel wrote:
quoted
+ return __vmalloc_node_range(PAGE_SIZE, 1, VMALLOC_START, VMALLOC_END, + GFP_KERNEL, PAGE_KERNEL_ROX, VM_FLUSH_RESET_PERMS, + NUMA_NO_NODE, __func__);Why is this passing a string for the 'caller' argument, and not the address of the caller?
Dementia. Fix sent.