svn commit: r355162 - stable/12/sys/arm64/linux
Ed Maste
emaste at FreeBSD.org
Thu Nov 28 02:19:42 UTC 2019
Author: emaste
Date: Thu Nov 28 02:19:41 2019
New Revision: 355162
URL: https://svnweb.freebsd.org/changeset/base/355162
Log:
MFC r354341: arm64 linuxulator: default to RW stack (no X)
This matches Linux's default arm64 data / stack permissions.
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/sys/arm64/linux/linux_sysvec.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/arm64/linux/linux_sysvec.c
==============================================================================
--- stable/12/sys/arm64/linux/linux_sysvec.c Thu Nov 28 02:18:51 2019 (r355161)
+++ stable/12/sys/arm64/linux/linux_sysvec.c Thu Nov 28 02:19:41 2019 (r355162)
@@ -380,7 +380,7 @@ struct sysentvec elf_linux_sysvec = {
.sv_maxuser = VM_MAXUSER_ADDRESS,
.sv_usrstack = USRSTACK,
.sv_psstrings = PS_STRINGS, /* XXX */
- .sv_stackprot = VM_PROT_ALL, /* XXX */
+ .sv_stackprot = VM_PROT_READ | VM_PROT_WRITE,
.sv_copyout_strings = linux_copyout_strings,
.sv_setregs = linux_exec_setregs,
.sv_fixlimit = NULL,
More information about the svn-src-stable-12
mailing list