Re: What does tainting actually mean?

From: Nigel Cunningham (ncunningham_at_linuxmail.org)
Date: 04/28/04

  • Next message: Christoph Hellwig: "Re: 2.6.6-rc{1,2} bad VM/NFS interaction in case of dirty page writeback"
    Date:	Wed, 28 Apr 2004 15:18:35 +1000
    To: "Chris Friesen" <cfriesen@nortelnetworks.com>
    
    

    Hi.

    On Wed, 28 Apr 2004 01:19:32 -0400, Chris Friesen
    <cfriesen@nortelnetworks.com> wrote:
    > If only it were that easy.
    >
    > There has already been a case mentioned of a binary module that messed
    > up something that was only visible once that module was unloaded and
    > another one loaded. It all depends totally on usage patterns.

    I don't know what module you're talking about, but surely there must be
    something that could be done kernel-side to protect against such problems.
    Reference counting or such like? I guess if it was a hardware issue, but
    then again that might be an issue with too many assumptions being made
    about prior state? Maybe I am being too naive :>

    > Binary modules, on the other hand, are often loaded up by users that
    > know just barely enough to download them and run an install script. In
    > this case, it can be helpful to know up front that there has been
    > proprietary code running in kernel space, and aside from calls to kernel
    > APIs, we have no clue what else it was doing, what memory was being
    > trampled, what cpu registers were whacked, etc.

    Now I see your point. Of course my previous point about patches is still
    valid though: the tainted flag only gives part of the picture. The person
    reporting the bug might create just as much of a black box for us by
    forgetting to mention that they applied patch foobar.

    Regards,

    Nigel

    -- 
    Nigel Cunningham
    C/- Westminster Presbyterian Church Belconnen
    61 Templeton Street, Cook, ACT 2614, Australia.
    +61 (2) 6251 7727 (wk)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Christoph Hellwig: "Re: 2.6.6-rc{1,2} bad VM/NFS interaction in case of dirty page writeback"

    Relevant Pages

    • Re: 2.4.22 hangs with pcmcia and linux-wlan
      ... If I use the kernel tree's code, I can insmod okay, but my ... >> Regards, ... Nigel Cunningham ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: What does tainting actually mean?
      ... If it's in the kernel itself, ... We could check all the calls the module makes to open source ... Nigel Cunningham ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Swsusp-devel] Re: swsusp problems [was Re: Your opinion on the merge?]
      ... On Wed, 24 Mar 2004, Nigel Cunningham wrote: ... > I think it's really important that we have some eye candy. ... > bounds, a small increase in kernel size is worth it, in my opinion. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: swsusp: allow resume from initramfs
      ... a little more closely - perhaps we can get some shared code going that ... Nigel Cunningham ... Maintainer of Suspend2 Kernel Patches http://suspend2.net ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: What does tainting actually mean?
      ... There has already been a case mentioned of a binary module that messed up something that was only ... Generally speaking, if a user is technical enough to patch their kernel, they're aware of the ... there has been proprietary code running in kernel space, and aside from calls to kernel APIs, we ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)