Module Name: src
Committed By: maxv
Date: Sat Dec 15 12:08:18 UTC 2018
Modified Files:
src/share/man/man4: options.4
Log Message:
Add KASAN and KLEAK.
To generate a diff of this commit:
cvs rdiff -u -r1.491 -r1.492 src/share/man/man4/options.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/options.4
diff -u src/share/man/man4/options.4:1.491 src/share/man/man4/options.4:1.492
--- src/share/man/man4/options.4:1.491 Wed Aug 1 16:50:24 2018
+++ src/share/man/man4/options.4 Sat Dec 15 12:08:18 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: options.4,v 1.491 2018/08/01 16:50:24 sevan Exp $
+.\" $NetBSD: options.4,v 1.492 2018/12/15 12:08:18 maxv Exp $
.\"
.\" Copyright (c) 1996
.\" Perry E. Metzger. All rights reserved.
@@ -30,7 +30,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd August 1, 2018
+.Dd December 15, 2018
.Dt OPTIONS 4
.Os
.Sh NAME
@@ -2353,11 +2353,21 @@ Sets the initial value of the flag which
can map virtual address 0.
The flag can be changed at runtime by
.Xr sysctl 3 .
+.It Cd options KASAN
+Enables Kernel Address Sanitizer.
+Should not be used in conjunction with KLEAK.
+.Em NOTE :
+not available on all architectures.
.It Cd options KASLR
Enables Kernel ASLR.
This randomizes the location of the kernel image in memory.
.Em NOTE :
not available on all architectures.
+.It Cd options KLEAK
+Enables the KLEAK feature, that allows to detect kernel information leaks.
+Should not be used in conjunction with KASAN.
+.Em NOTE :
+not available on all architectures.
.It Cd options SVS
Enables Separate Virtual Space.
On architectures that are designed to function with a shared address