lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNATMauHO_vqr+3LKyLWw9AZ2Y=dxhbgaaVNjdz_qm5Xm=w@mail.gmail.com>
Date: Sun, 28 Jul 2024 17:08:35 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Jose Ignacio Tornos Martinez <jtornosm@...hat.com>
Cc: nathan@...nel.org, nicolas@...sle.eu, linux-kbuild@...r.kernel.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild: rpm-pkg: ghost modules.weakdep file

On Fri, Jul 26, 2024 at 6:00 PM Jose Ignacio Tornos Martinez
<jtornosm@...hat.com> wrote:
>
> In the same way as for other similar files, mark as ghost the new file
> generated by depmod for configured weak dependencies for modules,
> modules.weakdep, so that although it is not included in the package,
> claim the ownership on it.
>
> Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@...hat.com>
> ---


The usage in another thread seems to be kind of controversial,
but modules.weakdep already landed in kmod.
So, I applied this to linux-kbuild/fixes.
Thanks!


>  scripts/package/kernel.spec | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec
> index 74355ff0e106..d558d39c01b6 100644
> --- a/scripts/package/kernel.spec
> +++ b/scripts/package/kernel.spec
> @@ -74,7 +74,7 @@ ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEA
>         echo "/lib/modules/%{KERNELRELEASE}"
>
>         for x in alias alias.bin builtin.alias.bin builtin.bin dep dep.bin \
> -                                       devname softdep symbols symbols.bin; do
> +                               devname softdep weakdep symbols symbols.bin; do
>                 echo "%ghost /lib/modules/%{KERNELRELEASE}/modules.${x}"
>         done
>
> --
> 2.45.2
>
>


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ