* [PATCH] riscv: Add build salt to the vDSO
@ 2026-06-18 16:12 ` Bastian Blank
0 siblings, 0 replies; 3+ messages in thread
From: Bastian Blank @ 2026-06-18 16:12 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-riscv,
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/riscv/kernel/vdso/note.S | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/riscv/kernel/vdso/note.S b/arch/riscv/kernel/vdso/note.S
index 3d92cc956b95..69bfe48be037 100644
--- a/arch/riscv/kernel/vdso/note.S
+++ b/arch/riscv/kernel/vdso/note.S
@@ -4,6 +4,7 @@
* Here we can supply some information useful to userland.
*/
+#include <linux/build-salt.h>
#include <linux/elfnote.h>
#include <linux/version.h>
#include <asm/assembler.h>
@@ -12,4 +13,6 @@ ELFNOTE_START(Linux, 0, "a")
.long LINUX_VERSION_CODE
ELFNOTE_END
+BUILD_SALT
+
emit_riscv_feature_1_and
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] riscv: Add build salt to the vDSO
@ 2026-06-18 16:12 ` Bastian Blank
0 siblings, 0 replies; 3+ messages in thread
From: Bastian Blank @ 2026-06-18 16:12 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-riscv,
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/riscv/kernel/vdso/note.S | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/riscv/kernel/vdso/note.S b/arch/riscv/kernel/vdso/note.S
index 3d92cc956b95..69bfe48be037 100644
--- a/arch/riscv/kernel/vdso/note.S
+++ b/arch/riscv/kernel/vdso/note.S
@@ -4,6 +4,7 @@
* Here we can supply some information useful to userland.
*/
+#include <linux/build-salt.h>
#include <linux/elfnote.h>
#include <linux/version.h>
#include <asm/assembler.h>
@@ -12,4 +13,6 @@ ELFNOTE_START(Linux, 0, "a")
.long LINUX_VERSION_CODE
ELFNOTE_END
+BUILD_SALT
+
emit_riscv_feature_1_and
--
2.53.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: Add build salt to the vDSO
2026-06-18 16:12 ` Bastian Blank
(?)
@ 2026-06-19 10:23 ` Nam Cao
-1 siblings, 0 replies; 3+ messages in thread
From: Nam Cao @ 2026-06-19 10:23 UTC (permalink / raw)
To: Bastian Blank, Paul Walmsley, Palmer Dabbelt, Albert Ou,
linux-riscv, linux-kernel
Bastian Blank <waldi@debian.org> writes:
> 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>
Reviewed-by: Nam Cao <namcao@linutronix.de>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-06-19 10:23 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] riscv: Add build salt to the vDSO Bastian Blank
2026-06-18 16:12 ` Bastian Blank
2026-06-19 10:23 ` Nam Cao
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.