Module Name: src Committed By: rin Date: Mon Aug 30 01:25:10 UTC 2021
Modified Files: src/sys/kern: kern_pax.c Log Message: Respect alignment requests of executable when PAX_ASLR is enabled on kernel, but disabled for the process, as in the same manner as PAX_ASLR is disabled; see pax_aslr_exec_offset() for !PAX_ASLR in sys/sys/pax.h. This is a regression introduced in kern_pax.c rev 1.58: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_pax.c#rev1.58 Part of PR port-arm/56380 but unfortunately this does not fix the problem described in the PR... To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/kern/kern_pax.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.