[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1801050906140.4515@hadrien>
Date: Fri, 5 Jan 2018 09:11:59 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: Pavel Machek <pavel@....cz>
cc: Dan Williams <dan.j.williams@...el.com>,
Julia Lawall <julia.lawall@...6.fr>,
Alan Cox <gnomes@...rguk.ukuu.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>,
linux-arch@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>,
Greg KH <gregkh@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Elena Reshetova <elena.reshetova@...el.com>,
Alan Cox <alan@...ux.intel.com>,
Dan Carpenter <dan.carpenter@...cle.com>
Subject: Re: [RFC PATCH] asm/generic: introduce if_nospec and
nospec_barrier
It looks like the problem in terms of detection is to find values that
should be annotated as __user. Poking around a bit, it seems like this
tool is doing just that:
http://www.cs.umd.edu/~jfoster/cqual/
It dates from 2004, but perhaps the developer could be motivated to pick
it up again.
I don't think Coccinelle would be good for doing this (ie implementing
taint analysis) because the dataflow is too complicated.
julia
Powered by blists - more mailing lists