[lkml]   [2020]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Re: [PATCH v12 00/18] Enable FSGSBASE instructions
On May 24, 2020 2:19:45 PM PDT, Sasha Levin <> wrote:
>On Sun, May 24, 2020 at 12:45:18PM -0700, wrote:
>>There are legitimate reasons to write a root-hole module, the main one
>being able to test security features like SMAP. I have requested before
>a TAINT flag specifically for this purpose, because TAINT_CRAP is
>nowhere near explicit enough, and is also used for staging drivers.
>Call it TAINT_TOXIC or TAINT_ROOTHOLE; it should always be accompanied
>with a CRIT level alert.
>What I don't like about our current system of TAINT_* flags is that
>while we can improve it as much as we want, no one outside of the
>tree seems to be using it. While Thomas may have been commenting on
>Graphene's behaviour, look at any other code that did the same thing:
>- Graphene:
>- Occlum:
>None of which set even the CRAP flag.

That's a separate problem, but I would personally want to have it for my own test modules in case one ever escapes.
Sent from my Android device with K-9 Mail. Please excuse my brevity.

 \ /
  Last update: 2020-05-25 01:45    [W:0.167 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site