git: a9758e46473b - main - Do not install kernel and modules with executable access bit set

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 25 Nov 2023 18:47:55 UTC
The branch main has been updated by kib:

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

commit a9758e46473babc03bfe06edfec35e0c71fa7780
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-11-25 13:30:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-11-25 18:47:42 +0000

    Do not install kernel and modules with executable access bit set
    
    They are not executables and cannot be activated by kernel.
    
    Reviewed by:    emaste, imp
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D42768
---
 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 6205faf61a2f..aec88d64850f 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