Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/arch/aarch64/aarch64



Module Name:    src
Committed By:   martin
Date:           Tue Jan 21 11:15:52 UTC 2020

Modified Files:
        src/sys/arch/aarch64/aarch64 [netbsd-9]: fault.c pmap.c

Log Message:
Pull up following revision(s) (requested by ryo in ticket #618):

        sys/arch/aarch64/aarch64/fault.c: revision 1.11
        sys/arch/aarch64/aarch64/pmap.c: revision 1.61

fix behaviour mmap()/mprotect() when passed only PROT_EXEC.
when mmap()/mprotect() with only PROT_EXEC, syscall will be successful,
but the page actually hadn't been mapped.
it should be mapped with PROT_READ|PROT_EXEC implicitly. (r-x)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.2.1 src/sys/arch/aarch64/aarch64/fault.c
cvs rdiff -u -r1.41.2.4 -r1.41.2.5 src/sys/arch/aarch64/aarch64/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index