freebsd-skq/sys/i386
Konstantin Belousov eb785fab3b Port sysctl kern.elf32.read_exec from amd64 to i386.
Make it more comprehensive on i386, by not setting nx bit for any
mapping, not just adding PF_X to all kernel-loaded ELF segments.  This
is needed for the compatibility with older i386 programs that assume
that read access implies exec, e.g. old X servers with hand-rolled
module loader.

Reported and tested by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2019-02-07 02:17:34 +00:00
..
acpica Fix resume on i386 PAE. 2019-02-07 02:09:34 +00:00
bios Use NULL for SYSINIT's last arg, which is a pointer type 2018-05-18 17:58:09 +00:00
cloudabi32 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
conf Retire SPX_HACK option unused after r342244 2019-02-06 17:21:25 +00:00
i386 Port sysctl kern.elf32.read_exec from amd64 to i386. 2019-02-07 02:17:34 +00:00
include i386: Do not ever store to other-CPU counter64 slot. 2019-02-03 21:28:58 +00:00
linux Fix errno values returned from DUMMY_XATTR linuxulator calls 2019-01-11 07:58:25 +00:00
pci i386: Merge PAE and non-PAE pmaps into same kernel. 2019-01-30 02:07:13 +00:00
Makefile Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00