RELNOTES: correct sense and name for allow_wx sysctl

The sysctl is kern.elf64.allow_wx and defaults to 1, allow W+X mappings.

Reported by:	alc
This commit is contained in:
Ed Maste 2021-01-19 08:53:07 -05:00
parent 2c98edd6d6
commit 5290493a20

View File

@ -18,7 +18,7 @@ Changes to this file should not be MFCed.
Add support for enforcing W^X mapping policy for user Add support for enforcing W^X mapping policy for user
processes. The policy is not enforced by default but can be processes. The policy is not enforced by default but can be
enabled by setting the kern.elf32.allow_wx and enabled by setting the kern.elf32.allow_wx and
kern.elf64_allow_wx sysctls to 1. Individual binaries can be kern.elf64.allow_wx sysctls to 0. Individual binaries can be
exempted from the policy by elfctl(1) via the wxneeded exempted from the policy by elfctl(1) via the wxneeded
feature. feature.