All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS
@ 2019-05-23 10:22 ` Ard Biesheuvel
  0 siblings, 0 replies; 40+ messages in thread
From: Ard Biesheuvel @ 2019-05-23 10:22 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: marc.zyngier, mark.rutland, linux-kernel, Ard Biesheuvel,
	Nadav Amit, Rick Edgecombe, Peter Zijlstra, Andrew Morton,
	Will Deacon, Masami Hiramatsu, James Morse

Wire up the code introduced in v5.2 to manage the permissions
of executable vmalloc regions (and their linear aliases) more
strictly.

One of the things that came up in the internal discussion is
whether non-x86 architectures have any benefit at all from the
lazy vunmap feature, and whether it would perhaps be better to
implement eager vunmap instead.

Cc: Nadav Amit <namit@vmware.com>
Cc: Rick Edgecombe <rick.p.edgecombe@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: James Morse <james.morse@arm.com>

Ard Biesheuvel (4):
  arm64: module: create module allocations without exec permissions
  arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP
  arm64/kprobes: set VM_FLUSH_RESET_PERMS on kprobe instruction pages
  arm64: bpf: do not allocate executable memory

 arch/arm64/Kconfig                  |  1 +
 arch/arm64/include/asm/cacheflush.h |  3 ++
 arch/arm64/kernel/module.c          |  4 +-
 arch/arm64/kernel/probes/kprobes.c  |  4 +-
 arch/arm64/mm/pageattr.c            | 48 ++++++++++++++++----
 arch/arm64/net/bpf_jit_comp.c       |  2 +-
 mm/vmalloc.c                        | 11 -----
 7 files changed, 50 insertions(+), 23 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2019-06-24 17:16 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23 10:22 [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS Ard Biesheuvel
2019-05-23 10:22 ` Ard Biesheuvel
2019-05-23 10:22 ` [PATCH 1/4] arm64: module: create module allocations without exec permissions Ard Biesheuvel
2019-05-23 10:22   ` Ard Biesheuvel
2019-05-28  5:35   ` Anshuman Khandual
2019-05-28  5:35     ` Anshuman Khandual
2019-05-28  6:24     ` Ard Biesheuvel
2019-05-28  6:24       ` Ard Biesheuvel
2019-05-23 10:22 ` [PATCH 2/4] arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP Ard Biesheuvel
2019-05-23 10:22   ` Ard Biesheuvel
2019-05-28  8:10   ` Anshuman Khandual
2019-05-28  8:10     ` Anshuman Khandual
2019-05-28  8:20     ` Ard Biesheuvel
2019-05-28  8:20       ` Ard Biesheuvel
2019-05-28  8:41       ` Anshuman Khandual
2019-05-28  8:41         ` Anshuman Khandual
2019-05-28  8:58         ` Ard Biesheuvel
2019-05-28  8:58           ` Ard Biesheuvel
2019-05-23 10:22 ` [PATCH 3/4] arm64/kprobes: set VM_FLUSH_RESET_PERMS on kprobe instruction pages Ard Biesheuvel
2019-05-23 10:22   ` Ard Biesheuvel
2019-05-28  8:20   ` Anshuman Khandual
2019-05-28  8:20     ` Anshuman Khandual
2019-05-28  8:23     ` Ard Biesheuvel
2019-05-28  8:23       ` Ard Biesheuvel
2019-05-23 10:22 ` [PATCH 4/4] arm64: bpf: do not allocate executable memory Ard Biesheuvel
2019-05-23 10:22   ` Ard Biesheuvel
2019-05-28 10:04 ` [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS Will Deacon
2019-05-28 10:04   ` Will Deacon
2019-05-28 10:29   ` Ard Biesheuvel
2019-05-28 10:29     ` Ard Biesheuvel
2019-06-24 11:16   ` Will Deacon
2019-06-24 11:16     ` Will Deacon
2019-06-24 11:22     ` Ard Biesheuvel
2019-06-24 11:22       ` Ard Biesheuvel
2019-06-24 14:29       ` Ard Biesheuvel
2019-06-24 14:29         ` Ard Biesheuvel
2019-06-24 17:14         ` Catalin Marinas
2019-06-24 17:14           ` Catalin Marinas
2019-06-24 17:15           ` Ard Biesheuvel
2019-06-24 17:15             ` Ard Biesheuvel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.