lkml.org 
[lkml]   [2013]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MODSIGN: Add TAINT_NOKEY_MODULE
On Thu, Jan 17, 2013 at 11:27:27AM +1030, Rusty Russell wrote:

> taint: add explicit flag to show whether lock dep is still OK.
>
> Fix up all callers as they were before, with make one change: an
> unsigned module taints the kernel, but doesn't turn off lockdep.
>
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

This made my brain itch a little until I got to the bottom of the
patch and saw the new definition of add_taint. Perhaps instead of
false/true, we have LOCKDEP_LIVES/LOCKDEP_DIES or similar defines
to make it clearer what's actually happening without having to
go read the function ?

> + * If something bad has gone wrong, you'll want @lockdebug_ok = false, but for
> + * some notewortht-but-not-corrupting cases, it can be set to true.
> + */

'noteworthy'

Dave



\
 
 \ /
  Last update: 2013-01-17 16:44    [W:0.169 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site