kasan.9: Mention the loader tunable 'debug.kasan.disable'

Reviewed by:	markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42165
This commit is contained in:
Zhenlei Huang 2023-10-13 22:42:34 +08:00
parent 6aa641b71d
commit 2df9757508

View file

@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd March 23, 2023
.Dd October 13, 2023
.Dt KASAN 9
.Os
.Sh NAME
@ -90,6 +90,12 @@ sysctl/tunable.
.Pp
The
.Nm
runtime in a KASAN-configured kernel can be disabled by
setting the loader tunable
.Sy debug.kasan.disable=1 .
.Pp
The
.Nm
runtime works by maintaining a shadow map for the kernel map.
There exists a linear mapping between addresses in the kernel map and addresses
in the shadow map.