From: Keith Owens <kaos@ocs.com.au>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: laughing@shared-source.org (Alan Cox), linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.9-ac5
Date: Fri, 31 Aug 2001 11:48:34 +1000 [thread overview]
Message-ID: <9293.999222514@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Fri, 31 Aug 2001 02:26:09 +0100." <E15cd4T-0002Hm-00@the-village.bc.nu>
On Fri, 31 Aug 2001 02:26:09 +0100 (BST),
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>> What do you need for licence support in modutils? Obviously modinfo
>> needs to print it, but what about insmod? Should insmod issue warning
>> messages for proprietary modules? What about ksymoops? IOW, what was
>> the reason for adding MODULE_LICENSE?
>
>My goal is to eventually include the info tucked away on oops report lines
>so that I can automatically dump bug reports with binary drivers, including
>the growing number of people who lie about nvdriver and think that this will
>get their bug cured.
Then we have a problem. The modinfo and modstring sections are not
loaded into kernel space, they are processed by insmod then discarded.
Solution: /proc/sys/kernel/tainted. Set to 0 on boot, set to 1 by
insmod when it finds a non-GPL module, printed by panic, extracted by
ksymoops. Any load of a proprietary module taints the kernel, even if
it is later removed. The kernel code for that sysctl only allows taint
to be set, not to be cleared.
Not perfect, really malicious users can hack the kernel. Or they can
simply edit the taint flag in the oops report. But it will catch 90%+
of the problem case.
next prev parent reply other threads:[~2001-08-31 1:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-31 0:33 Linux 2.4.9-ac5 Alan Cox
2001-08-31 1:11 ` Keith Owens
2001-08-31 1:26 ` Alan Cox
2001-08-31 1:48 ` Keith Owens [this message]
2001-08-31 5:43 ` Albert D. Cahalan
2001-08-31 14:05 ` Alan Cox
2001-08-31 17:07 ` Jamie Lokier
2001-08-31 13:52 ` Alan Cox
2001-08-31 3:58 ` Robert Love
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9293.999222514@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=laughing@shared-source.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox