aboutsummaryrefslogtreecommitdiff
path: root/lib/geom/part/gpart.8
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2021-12-06 13:08:39 +0000
committerAndrew Turner <andrew@FreeBSD.org>2021-12-07 15:42:18 +0000
commit38dbca724335fec679e79b72d91a8e36b2624fe1 (patch)
tree354e74eaf886a89ca909146f005a26af2dde3772 /lib/geom/part/gpart.8
parent03f0393477db4c11f8dc4166fadc2628b2c15ae9 (diff)
downloadsrc-main.tar.gz
src-main.zip
Teach vm.pmap.kernel_maps about both XN bitsHEADmain
The arm64 vm.pmap.kernel_maps sysctl would only check the kernel XN bit when printing the kernel mapping. It can also be useful to check none of the mappings allow userspace to execute from a given virtual address. To check for this add the user XN bit when getting the kernel maps. While here fix the ATTR_S1_AP_USER check to use ATTR_S1_AP to shift the value to the correct offset. Reviewed by: kib (earlier version), markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33304
Diffstat (limited to 'lib/geom/part/gpart.8')
0 files changed, 0 insertions, 0 deletions