Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2023 18:47:55 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a9758e46473b - main - Do not install kernel and modules with executable access bit set
Message-ID:  <202311251847.3APIltD3088979@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311251847.3APIltD3088979>