[lkml]   [2018]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCHv3 2/2] x86/vdso: Add build salt to the vDSO
On 05/23/2018 05:06 PM, Linus Torvalds wrote:
> On Wed, May 23, 2018, 17:01 Andy Lutomirski < <>> wrote:
> I don’t know whether I’m missing something obvious, but can’t this be in C?
> Yes, but I thought Laura wanted to limit it to linker file tricks (this thread has gone on for so long that I've forgotten the details of why).
>        Linus

So we have to update the kernel and every module and the easiest way
to do that was the linker script. I was assuming I'd just use the
same approach for the vDSO but you're right that there's no reason
we can't apply a different technique. I notice there's already a
vdso-note.S which adds LINUX_VERSION_CODE as a note. This doesn't
include the extra version so it doesn't quite meet our needs.
There's no reason why we can't throw something else in there for
good measure.


 \ /
  Last update: 2018-05-24 03:36    [W:0.043 / U:2.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site