All of
 help / color / mirror / Atom feed
From: Jann Horn <>
To: Andy Lutomirski <>,
	Thomas Gleixner <>,
	Ingo Molnar <>, Borislav Petkov <>,,
Cc: "H. Peter Anvin" <>,
Subject: [PATCH] x86/vdso: Enable sanitizers for vma.o
Date: Mon,  6 Jan 2020 21:02:04 +0100	[thread overview]
Message-ID: <> (raw)

The vDSO makefile opts out of all sanitizers (and objtool validation);
however, vma.o is a normal kernel object file (and already has objtool
validation selectively enabled), so turn the sanitizers back on for that

Signed-off-by: Jann Horn <>

    This should probably go on top of the locking/kcsan branch?

 arch/x86/entry/vdso/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile
index 0f46273b4556..50a1c9008864 100644
--- a/arch/x86/entry/vdso/Makefile
+++ b/arch/x86/entry/vdso/Makefile
@@ -30,6 +30,9 @@ vobjs-y := vdso-note.o vclock_gettime.o vgetcpu.o
 # files to link into kernel
 obj-y				+= vma.o
+KASAN_SANITIZE_vma.o		:= y
+UBSAN_SANITIZE_vma.o		:= y
+KCSAN_SANITIZE_vma.o		:= y
 # vDSO images to build

             reply	other threads:[~2020-01-06 20:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06 20:02 Jann Horn [this message]
2020-01-10 15:49 ` [tip: locking/kcsan] " tip-bot2 for Jann Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] x86/vdso: Enable sanitizers for vma.o' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.