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
This commit is contained in:
Konstantin Belousov 2023-11-25 15:30:06 +02:00
parent d3849ec3c9
commit a9758e4647

View file

@ -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