Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3794425yba; Mon, 29 Apr 2019 08:37:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/F0Ryc/joLRxGHkuvsIagpLyl9Q4BhCpTf+tef0Utn4n6c4tLkCv748FuIfT2MW+g/dhM X-Received: by 2002:a65:5046:: with SMTP id k6mr25900140pgo.325.1556552245060; Mon, 29 Apr 2019 08:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556552245; cv=none; d=google.com; s=arc-20160816; b=Sr/tOpi9rclGsOQx/O4OSozPUlJ0PB8JnF9RH6flpshxwaKnJTwccOUFX9Iz3z6UVR wGn4E3srPVHnqWSlwD0vidmKBelRXEpLDZY7YqKlG9zpMHtkc4oNPJhvm39jNq1NZx3O tGm0jZ9/bZnnX2xCBwLQy0PKIfjL9MWoxsTXsV3RPAVvfnAr4Qq8gm28g2d19mwK2GZV b94u90YBJHpJhkBErx4yhaNjto3ay17cq+BFkWVVi8HwKr4mUL53wTfypCpuv/64WYsB tfQrPiMj271FZd5coiCAa1AKIJpuJSt0VOVAa4I1Dlv828uTyT1gU5/x91OmUsSdp8Qj hkCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=N/Yv6PDsjNpfNT6GIMdeq1MI2EXuega1Ncrapb8Rqvs=; b=j6wQRoVnhi2HtFEGP/7Yn/4FVxUUlCKk26m+/jTRQGrv2BZIMR95pLhw1IGj2Ws+FO M2rq3O4F/nf+QL+x8ZbNBqWJG4U9Tue9PmYsUJualfkq7fy8eWtShOUVTdKfgYizKc40 UEZmYVQRubcTKaau4Chv6LZm/kOh9FO3Oy9mJO0J5Lrdc4RD90/hILA1FxMUmB9uc6S4 q5RAnKouSQm/gEkq+FTm27RCxQ2l0Eokd8zylw0BMwQD+wdsB5G+VNC+tK3LjuV3CR86 PAJos7HtOKxMfSxd1pUZRn1rWLFKfRjRnjc6rdhoZQNc/8N2hN6qQBCcP+KyuxeZEnru TwBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w125si35959072pfw.137.2019.04.29.08.37.09; Mon, 29 Apr 2019 08:37:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728723AbfD2PgC (ORCPT + 99 others); Mon, 29 Apr 2019 11:36:02 -0400 Received: from monster.unsafe.ru ([5.9.28.80]:44264 "EHLO mail.unsafe.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728501AbfD2PgB (ORCPT ); Mon, 29 Apr 2019 11:36:01 -0400 Received: from dhcp129-178.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.unsafe.ru (Postfix) with ESMTPSA id CDA5EC61824; Mon, 29 Apr 2019 15:35:57 +0000 (UTC) Date: Mon, 29 Apr 2019 17:35:55 +0200 From: Alexey Gladkov To: Masahiro Yamada Cc: Linux Kernel Mailing List , Linux Kbuild mailing list , linux-api@vger.kernel.org, linux-modules@vger.kernel.org, "Kirill A . Shutemov" , Gleb Fotengauer-Malinovskiy , "Dmitry V. Levin" , Michal Marek , Dmitry Torokhov , Rusty Russell , Jessica Yu , Lucas De Marchi Subject: Re: [PATCH v3] moduleparam: Save information about built-in modules in separate file Message-ID: <20190429153555.GX9023@dhcp129-178.brq.redhat.com> References: <20190429090854.GU9023@dhcp129-178.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 30, 2019 at 12:08:44AM +0900, Masahiro Yamada wrote: > > modules.builtin > > +modules.builtin.modinfo > > > > # > > # Top-level generic files > > > Let me repeat the same comments as in v2 > (https://patchwork.kernel.org/patch/10888207/#22595563) > as you ignored them. I miss it. Sorry about that. > > diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh > > index c8cf45362bd6..41ef7cb043c1 100755 > > --- a/scripts/link-vmlinux.sh > > +++ b/scripts/link-vmlinux.sh > > @@ -226,6 +226,10 @@ modpost_link vmlinux.o > > # modpost vmlinux.o to check for section mismatches > > ${MAKE} -f "${srctree}/scripts/Makefile.modpost" vmlinux.o > > > > +info MODINFO modules.builtin.modinfo > > +"${OBJCOPY}" -j .modinfo -O binary vmlinux.o modules.builtin.modinfo > > +chmod 444 modules.builtin.modinfo > > > Why is this 'chmod 444' necessary? I just wanted to show that this file will never change. I will remove this line. -- Rgrds, legion