git: e45074b6b8e0 - stable/13 - Do not install kernel and modules with executable access bit set

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 01:15:50 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=e45074b6b8e0609f80aaa72c36c6c051d3717e10

commit e45074b6b8e0609f80aaa72c36c6c051d3717e10
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-11-25 13:30:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-12-02 01:15:25 +0000

    Do not install kernel and modules with executable access bit set
    
    (cherry picked from commit a9758e46473babc03bfe06edfec35e0c71fa7780)
---
 share/mk/bsd.own.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 239c8b71e175..f1b5bebca257 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -171,7 +171,7 @@ NOBINMODE?=	444
 KMODDIR?=	/boot/modules
 KMODOWN?=	${BINOWN}
 KMODGRP?=	${BINGRP}
-KMODMODE?=	${BINMODE}
+KMODMODE?=	${NOBINMODE}
 DTBDIR?=	/boot/dtb
 DTBODIR?=	/boot/dtb/overlays
 DTBOWN?=	root