git: 2df97575088d - main - kasan.9: Mention the loader tunable 'debug.kasan.disable'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Oct 2023 14:44:26 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=2df97575088d2efe71d6ee136a677cf50249f96d commit 2df97575088d2efe71d6ee136a677cf50249f96d Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2023-10-13 14:42:34 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2023-10-13 14:42:34 +0000 kasan.9: Mention the loader tunable 'debug.kasan.disable' Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42165 --- share/man/man9/kasan.9 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man9/kasan.9 b/share/man/man9/kasan.9 index 1db6e187da46..209fbb06506c 100644 --- a/share/man/man9/kasan.9 +++ b/share/man/man9/kasan.9 @@ -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.