summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_rl_pci.c
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2014-12-21 16:27:07 +0000
committermlarkin <mlarkin@openbsd.org>2014-12-21 16:27:07 +0000
commitc7636a68831104520cbf866b4b8d6bf887102168 (patch)
tree7e5170045c24394e7bb19d05abd7943edaee72e7 /sys/dev/pci/if_rl_pci.c
parentUse -m for macro set selection in mandoc(1) mode only, not in man(1) (diff)
downloadwireguard-openbsd-c7636a68831104520cbf866b4b8d6bf887102168.tar.xz
wireguard-openbsd-c7636a68831104520cbf866b4b8d6bf887102168.zip
Prevent writing to the kernel area via the direct map. We do this by padding
the end of the kernel area to 2MB, so that the direct map pages can then have the W permission removed (X permission was already removed in a previous diff). This creates a VA hole at the end of bss, so adjust for that since that's where symbols get loaded by the bootloader (for now, map that region RO until the boot loader can be updated to place the symbols at "end" instead of "end of bss"). with help from and ok deraadt@
Diffstat (limited to 'sys/dev/pci/if_rl_pci.c')
0 files changed, 0 insertions, 0 deletions