lkml.org 
[lkml]   [2020]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC PATCH v2] x86/arch_prctl: Add ARCH_SET_XCR0 to set XCR0 per-thread
> Would it make matters easier if tasks with nonstandard XCR0 were not
> allowed to use ptrace() at all? And if ARCH_SET_XCR0 were disallowed
> if the caller is tracing anyone?

That would be fine by me (as long as you're still allowed to ptrace them of
course). I do think that using the kernel XCR0 is the best choice, but since
I don't really have a use case for it, I'm happy to disallow that and
let anybody who does have a use case come back here and
argue for it one way or the other.

\
 
 \ /
  Last update: 2020-04-16 03:18    [W:0.085 / U:3.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site