From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0CDC385BF86; Tue, 31 Mar 2020 05:02:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0CDC385BF86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585630966; bh=gK+PvbbZC5SqGVv7cAVTqrtGwVuJoaIoc7i1gTku2uQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aokWH6tC9/7odAl+zxIqb4YIt9kHMio65R+Frw2Tb09+WH90lWUOFRAjuFy9hXBk9 On8RERKZiWiXL2z84IXuMB8ejhuaRiur1aN3A52Z/PnT3Hs0J2evovSUeqyMEOQ02C HmX2Wf6OKTg6YwzOpQXFrMtVvrXQqHlndokYLwsg= From: "kees at outflux dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/94307] Provide a way to declare the *SAN exception handler -fsanitize-undefined-trap-on-error Date: Tue, 31 Mar 2020 05:02:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kees at outflux dot net X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 05:02:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94307 --- Comment #5 from Kees Cook --- Hi! I recently learned that Clang has -fsanitizer-minimal-runtime that is v= ery close to what I was expecting to use: https://bugs.llvm.org/show_bug.cgi?id=3D45295 That is close to what you're already suggesting. Would it be possible to do= the same thing? That way the kernel can have just one "not the full debug detai= ls" handler. Thanks for looking at this!=