Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp41721lqp; Sun, 9 Jun 2024 15:42:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhA88P5QEWGqJYGW8Rc9H96SLAD00Kx80TPsZbcK3SryPRVDr/VZPlAnkT2eeOTF9boL+iH2gFce8gaRHREwCdDF+x1bNjS66IyUmFoQ== X-Google-Smtp-Source: AGHT+IFj1GNuAQC77TPEYHY3bMrzpcTNOySigtBmYXJB8Oo3jfcL2PtuhK+Gb6RMOt5a9mpdSdZ7 X-Received: by 2002:a17:902:e88e:b0:1f6:80cd:ec7a with SMTP id d9443c01a7336-1f6d03c0e2amr84386925ad.45.1717972928576; Sun, 09 Jun 2024 15:42:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717972928; cv=pass; d=google.com; s=arc-20160816; b=rmn/p3y9QEe9/4osnaVikuXILG1r35r6t4l+FXfFLZrQPoY5hSwM7zC6Y69RD6bVUM b1LJ6C5D5ItQ+3MmcFxvATSYnz+Ky7rNL49prd2ReH8F26LnDvKGmPLxI2zBmqMu492D efdiAGo3rvnOyKbhpSHPaZG/Ge6iQzmT/AObl9dIxcBb+Bz/JqoDknOXDXbTQzt3wg0A 3eiCqihqCvcO9EuadcNMtlyAkXwJGoO5Telmvfo2zn2PgCD4lsr7m8HolMAdKh8V+V0S TmaPO+lG3xgldQU9aEPpZb6/Fk0hRYFDfL/EIRiZn5mLG64I/RP8OMaKbhyrfLGTynCE 0yHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:dkim-signature:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=VOsJoUk1Idd/Aw5fa+RF0sYFGjSifEJG/O5labZ97qk=; fh=rofpe9OG8ITZEW2VpzL+8C78+gxzuBwOuLkELGV+EB4=; b=uFTsqzBoGQhjdb4koL/PaGcH7Ob4w+nnncQ/EIjrny2guJkTGC9kT20mVSdi02bNKU sYqTCX98izzCevqT0VmtlWxV2Hrax28u9cwyEQHAN7sOBwCuHGGPZQZGnBFF20XsxIZK wts4imky+BjHIqhdtxIK5JfV7LymP6Wm80cynLOcAuAl/Ye1F3BBdiLt5+QPPIZLLYMa DEg6lSMZwe0L7NpUJQw8Z2D+NXvoG5CZBfu79cBOsGG4q+w15FxNIAxQd2uwAiuuA+TV HUQSX1CMvuej/t0i+hXbrfh2vo4uS9fqEaMrCSKtzoNmDOEkbJSlVFp985O3BHlQ/9Z7 RORw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=LOgUlPym; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-207533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f705181618si17214055ad.352.2024.06.09.15.42.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 15:42:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b=LOgUlPym; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-207533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 24515281140 for ; Sun, 9 Jun 2024 22:42:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F32A6224F6; Sun, 9 Jun 2024 22:42:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="LOgUlPym" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29646208D7; Sun, 9 Jun 2024 22:41:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717972921; cv=none; b=HjuPRorh6GejnD2HGJ4a4nzik2/qYPx9vooFKMg34f1sM/5SbNC6FM0FrMK/qr69KGlRXQUYMfK103mDl1d1GLvmSYuIUyz5fVrnb6VAC6WUdODx5Px2mF42uAhx97BwIBXz1cfmN6iJBrQKMhbB8fPwMV7Lv8SSBJNORhKum9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717972921; c=relaxed/simple; bh=O3jcGf7YqV295x8XrhOprZJCgKIfIVQ0ONX7Lw+rFqA=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=F2TgLWRUbPwxobNw5bAb6qSAv5Ws5yQEL/+y0fl2oLySRQ6VYVVFKqTNzbzfvyK/WOKGex2ExYzHyfiSI4aKMfn1STmpY+Xrv55Qco6YbYlTp6yrpFguTknnSNgqD1A5+Ddg2em9wj+yf05DFOqVAvy7R6eqfVkR5joqaeWghzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=LOgUlPym; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1717972915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VOsJoUk1Idd/Aw5fa+RF0sYFGjSifEJG/O5labZ97qk=; b=LOgUlPymSEZ9fRe0Cu9TDi026UCo4RxldSonIbhxVmNI1TIddyYwGx/bgr3/Oy/QcknYDe UXxI0mGkgjlXQrrxPUQiCGmxecxCZN/EgeH1ZYJZyLNEoBYPTIPuLBqR242B3BoarGtvqc 3a/Vyq01qEei8fVbuNciFBUTMvff8gnbCWsKD8BVQe+XchctQyOTS8GKh9r8qinoeLUAJ6 j8dlXEnsVEZl44ZnFB2e7Xxprjvlonsf/l7kEIyhK5YlJEfztOZdO/YxZKeqbjGWhxiE+l i8LlWJR9G7zc/GJK0nnF/16Xrtlw1LU05SbA6d+44oZAHlucz8DiiJnhrqF/DA== Date: Mon, 10 Jun 2024 00:41:54 +0200 From: Dragan Simic To: linux-kbuild@vger.kernel.org Cc: masahiroy@kernel.org, nathan@kernel.org, nicolas@fjasle.eu, linux-kernel@vger.kernel.org, stable@vger.kernel.org, didi.debian@cknow.org Subject: Re: [PATCH] kbuild: Install dtb files as 0644 in Makefile.dtbinst In-Reply-To: References: Message-ID: <10bef38ea944a42d591435e024f70326@manjaro.org> X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org +Cc: stable@vger.kernel.org +Cc: didi.debian@cknow.org On 2024-06-09 21:32, Dragan Simic wrote: > The compiled dtb files aren't executable, so install them with 0644 as > their > permission mode, instead of defaulting to 0755 as the mode. > > Signed-off-by: Dragan Simic Actually, some Linux distributions, including Debian, [1][2] already include fixes in their kernel package builds to change the file permissions to 0644. Thus, let's have this fix propagated into the stable kernels, to allow such distributions to remove their downstream fixes. Fixes: aefd80307a05 ("kbuild: refactor Makefile.dtbinst more") [1] https://salsa.debian.org/kernel-team/linux/-/merge_requests/642 [2] https://salsa.debian.org/kernel-team/linux/-/merge_requests/749 > --- > scripts/Makefile.dtbinst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst > index 67956f6496a5..9d920419a62c 100644 > --- a/scripts/Makefile.dtbinst > +++ b/scripts/Makefile.dtbinst > @@ -17,7 +17,7 @@ include $(srctree)/scripts/Kbuild.include > dst := $(INSTALL_DTBS_PATH) > > quiet_cmd_dtb_install = INSTALL $@ > - cmd_dtb_install = install -D $< $@ > + cmd_dtb_install = install -D -m 0644 $< $@ > > $(dst)/%: $(obj)/% > $(call cmd,dtb_install)