Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH] s390: Add build salt to the vDSO
@ 2026-06-18 16:12 Bastian Blank
  2026-06-19  8:04 ` Heiko Carstens
  2026-06-19 13:51 ` Alexander Gordeev
  0 siblings, 2 replies; 3+ messages in thread
From: Bastian Blank @ 2026-06-18 16:12 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, linux-s390, linux-kernel

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@debian.org>
---
 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
-- 
2.53.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390: Add build salt to the vDSO
  2026-06-18 16:12 [PATCH] s390: Add build salt to the vDSO Bastian Blank
@ 2026-06-19  8:04 ` Heiko Carstens
  2026-06-19 13:51 ` Alexander Gordeev
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2026-06-19  8:04 UTC (permalink / raw)
  To: Bastian Blank, Vasily Gorbik, linux-s390, linux-kernel

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@debian.org>
> ---
>  arch/s390/kernel/vdso/note.S | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390: Add build salt to the vDSO
  2026-06-18 16:12 [PATCH] s390: Add build salt to the vDSO Bastian Blank
  2026-06-19  8:04 ` Heiko Carstens
@ 2026-06-19 13:51 ` Alexander Gordeev
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Gordeev @ 2026-06-19 13:51 UTC (permalink / raw)
  To: Bastian Blank, Heiko Carstens, Vasily Gorbik, linux-s390,
	linux-kernel

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@debian.org>
> ---
>  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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-19 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18 16:12 [PATCH] s390: Add build salt to the vDSO Bastian Blank
2026-06-19  8:04 ` Heiko Carstens
2026-06-19 13:51 ` Alexander Gordeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox