From nobody Sat Nov 25 18:47:54 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sd17b0FFcz52ZyC; Sat, 25 Nov 2023 18:47:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sd17Z6t0Vz4Fh5; Sat, 25 Nov 2023 18:47:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700938075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EEj9XMN7KjgXe5S9hVf+RsJo4jDL0JcciA69nIoFx1g=; b=Z2z9QHV7epuPjbKXCrpg1JIxo2TM5U2TkbtFHXO7mgKRA/aNNX41tGsImFwKnFmUOA9jrE bp5AiD5lJMd/mSlzT9K2n+f8OA+EWNMsztjVppR10pP0AP0MI3tyNJUJQYP0d04PLV+uVB /TVHrHKGG7/izobplhrv7yZFxY4QFfEfLlv3gc+BSuLQXFv9PqfGnhUUrgdYBqsj0yQdww SH4UNY6nQmY9loyIFieWftFadzi8ArJlBthNEA6MDbU/ZvJv4/63VXahaFMxtIBl92fnvC BlRpwN5ZPsAYYzQZ1vDKcwq86qfZd3aSaNXFhu1u87FGEFvMA0SalgMvd6cWDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700938075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EEj9XMN7KjgXe5S9hVf+RsJo4jDL0JcciA69nIoFx1g=; b=Sq5Jj/0wUuYyDf/5zDo/N8mUQnJA7ZsQJMHWzSt3TeGblJcby1oFVlqbT+Xc8cbmmM5Emr dxsBzaPcdqz/MjneAR3XP1I5LQS8of4NPinmJ2tyse5R/jgCpgR/9TawccGCDGcAEjL+a4 V0o5itWugGZ6PESDuK1LNeZdAsopXdZDuSK93vFGBJxZgJR8VNITkWISsTo4IGC4upTye7 BVoDz8gFu+Qh52fb4go0qTm1QZs8C+DzqoAwmDLcag27pd9fTKZEm2DBM8YfUYkE9/v8da 4ekLEjaqPjX+Zdw4qlwtev0SXtxVNi8CGfTXz/l8h/vgzjGNVl6RW8FBkVEQdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700938075; a=rsa-sha256; cv=none; b=XlC7GsWetOiCFsCHGV6TH44+Tq51Ya4lHkX3cm45gsuYRq8hGXq8IJqREQTFf29BTgryBn YJbAtchfd5eiBCQnhsBmBSAZz82/szg7OcYsPnJoUajnW5q5R8JqQ0O2U3hrSRCTSdulfr IU8hHHPsIhKj478UU8okXdveyFg6uhusrH+Oy5oU5HTHH3dwzNC37oSz5RahCDr6ywRU9x W7HQfnpUH0Z6KvBQ9VNJR93HESb6V3Ju405V+OwRriC3oGH7qCO9I73INpopp6c42ZuINE mSxSPtKbMiX/xQcwlUNz0974LRHxZ2jQ4FxlDlsMNcWhYEfo6GP1OhzcJmcE7w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sd17Z5WgDz8WQ; Sat, 25 Nov 2023 18:47:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3APIlsEu088922; Sat, 25 Nov 2023 18:47:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3APIlscO088919; Sat, 25 Nov 2023 18:47:54 GMT (envelope-from git) Date: Sat, 25 Nov 2023 18:47:54 GMT Message-Id: <202311251847.3APIlscO088919@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: d3849ec3c9e7 - main - Set installed kernel and driver files access modes using KMODMODE var List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d3849ec3c9e700956a8a1d03f7755d586934f225 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d3849ec3c9e700956a8a1d03f7755d586934f225 commit d3849ec3c9e700956a8a1d03f7755d586934f225 Author: Konstantin Belousov AuthorDate: 2023-11-25 13:28:34 +0000 Commit: Konstantin Belousov CommitDate: 2023-11-25 18:40:39 +0000 Set installed kernel and driver files access modes using KMODMODE var Reviewed by: emaste, imp Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D42768 --- sys/conf/kern.post.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index cb34ebc36295..d2968b42f5ef 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -426,22 +426,22 @@ kernel-install: .PHONY fi .endif mkdir -p ${DESTDIR}${KODIR} - ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR}/ + ${INSTALL} -p -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR}/ .if defined(DEBUG) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} != "no" mkdir -p ${DESTDIR}${KERN_DEBUGDIR}${KODIR} - ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.debug ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/ + ${INSTALL} -p -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.debug ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/ .endif .if defined(KERNEL_EXTRA_INSTALL) - ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_EXTRA_INSTALL} ${DESTDIR}${KODIR}/ + ${INSTALL} -p -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_EXTRA_INSTALL} ${DESTDIR}${KODIR}/ .endif kernel-reinstall: @-chflags -R noschg ${DESTDIR}${KODIR} - ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR}/ + ${INSTALL} -p -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO} ${DESTDIR}${KODIR}/ .if defined(DEBUG) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} != "no" - ${INSTALL} -p -m 555 -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.debug ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/ + ${INSTALL} -p -m ${KMODMODE} -o ${KMODOWN} -g ${KMODGRP} ${KERNEL_KO}.debug ${DESTDIR}${KERN_DEBUGDIR}${KODIR}/ .endif config.o env.o hints.o vers.o vnode_if.o: