Re: [PATCH] s390: Add build salt to the vDSO

From: Alexander Gordeev

Date: Fri Jun 19 2026 - 09:52:04 EST


On Thu, Jun 18, 2026 at 06:12:42PM +0200, Bastian Blank wrote:
> The vDSO needs to have a unique build id in a similar manner
> to the kernel and modules. Use the build salt macro.
>
> Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>
> ---
> arch/s390/kernel/vdso/note.S | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/s390/kernel/vdso/note.S b/arch/s390/kernel/vdso/note.S
> index db19d0680a0a..d215781f26b5 100644
> --- a/arch/s390/kernel/vdso/note.S
> +++ b/arch/s390/kernel/vdso/note.S
> @@ -4,6 +4,7 @@
> * Here we can supply some information useful to userland.
> */
>
> +#include <linux/build-salt.h>
> #include <linux/uts.h>
> #include <linux/version.h>
> #include <linux/elfnote.h>
> @@ -11,3 +12,5 @@
> ELFNOTE_START(Linux, 0, "a")
> .long LINUX_VERSION_CODE
> ELFNOTE_END
> +
> +BUILD_SALT

Applied, thanks!