mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
riscv: default to non-executable stack
There's no need to worry about potential backwards compatibility issues in a brand-new architecture, so avoid stack PROT_EXEC as with arm64. Discussed with: br
This commit is contained in:
parent
0235d5e283
commit
ac979af451
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343843
@ -77,7 +77,7 @@ struct sysentvec elf64_freebsd_sysvec = {
|
||||
.sv_maxuser = VM_MAXUSER_ADDRESS,
|
||||
.sv_usrstack = USRSTACK,
|
||||
.sv_psstrings = PS_STRINGS,
|
||||
.sv_stackprot = VM_PROT_ALL,
|
||||
.sv_stackprot = VM_PROT_READ | VM_PROT_WRITE,
|
||||
.sv_copyout_strings = exec_copyout_strings,
|
||||
.sv_setregs = exec_setregs,
|
||||
.sv_fixlimit = NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user