FreeBSD/src f822c9e (r353730) — sys/kern link_elf.c link_elf_obj.c, sys/vm vm_kern.c
Apply mapping protections to preloaded kernel modules on amd64. With an upcoming change the amd64 kernel will map preloaded files RW instead of RWX, so the kernel linker must adjust protections appropriately using pmap_change_prot(). Reviewed by: kib MFC after: 1 month Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D21860
Delta | File | |
---|---|---|
+44 | -2 | sys/kern/link_elf.c |
+20 | -2 | sys/kern/link_elf_obj.c |
+8 | -0 | sys/vm/vm_kern.c |
+72 | -4 | 3 files |