Go to file
maxv d2c6c6c84f Change the protection of the kernel modules segments once we are done
relocating them. The text is allocated as RWX, and then mprotected to RW.

There is a bug that prevents us from doing RW->RX on amd64 and perhaps
sparc64. On x86, the pmap waits for the page to fault before granting it
the X permission. But in the trap handler, such a page is considered as
belonging to kernel_map, while it actually belongs to module_map. The
kernel then finds out the page is not present in kernel_map, and panics.
In all cases, module_map is non pageable, so even if the trap were handled
properly, it still wouldn't work.

Therefore, there is a small window in which the segment is RWX. But that's
fine enough, for now.
2016-07-20 13:11:58 +00:00
bin When invoked with -se, print a '$' on blank lines 2016-06-16 00:52:37 +00:00
common Fix the previous fix - there's only one _node suffix here! 2016-06-28 06:47:35 +00:00
compat remove the xfree86 reachover makefiles and the vast majority of 2015-07-23 08:03:24 +00:00
crypto CID 977755: Resource leaks. 2016-06-28 16:34:40 +00:00
dist/pf PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
distrib remove ctf lint library 2016-07-17 19:44:56 +00:00
doc Add the pgoyette-localcount branch 2016-07-19 02:04:06 +00:00
etc As discussed at the biginning of last week (June 6 & 7, 2016) on 2016-06-16 15:33:38 +00:00
external mark tag_signal as noreturn. 2016-07-20 12:04:18 +00:00
extsrc
games add one 2016-07-15 06:13:50 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include add hmac(3) 2016-07-01 22:42:01 +00:00
lib Use anonymous union for ptm_ceiling and old __pthread_spin_t field to 2016-07-17 13:49:43 +00:00
libexec CID 603440: ensure that closing socket exists 2016-07-19 21:25:38 +00:00
regress PR/50941: David Binderman: fix printf format 2016-03-11 18:26:40 +00:00
rescue cgdconfig is not crypto 2016-07-02 15:59:21 +00:00
sbin Fix RCS Id. 2016-07-14 10:02:43 +00:00
share Don't reference older CFATTACH_DECL 2016-07-19 17:01:04 +00:00
sys Change the protection of the kernel modules segments once we are done 2016-07-20 13:11:58 +00:00
tests Not designed for PIE 2016-07-18 12:17:39 +00:00
tools set gcc 5.4 netbsd version to 2016-06-06 2016-06-07 08:12:13 +00:00
usr.bin Don't reference older CFATTACH_DECL 2016-07-19 17:01:04 +00:00
usr.sbin Use deroff() from mandoc(3) to directly parse the Nd macro rather 2016-07-17 15:56:14 +00:00
build.sh When setting TOP the idea is to run the [/usr]/bin/pwd binary, and 2016-06-03 00:00:01 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING Note that i386 needs a PIE-related cleandir. Should avoid having PR 51174 2016-05-30 03:11:48 +00:00