Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Add KASAN and KLEAK.



details:   https://anonhg.NetBSD.org/src/rev/b3f9c28c26ca
branches:  trunk
changeset: 446710:b3f9c28c26ca
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Dec 15 12:08:18 2018 +0000

description:
Add KASAN and KLEAK.

diffstat:

 share/man/man4/options.4 |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r e071df4ba5e9 -r b3f9c28c26ca share/man/man4/options.4
--- a/share/man/man4/options.4  Sat Dec 15 10:30:58 2018 +0000
+++ b/share/man/man4/options.4  Sat Dec 15 12:08:18 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index