![]() | |||||||||||
Messages in this thread |
On Mon, May 22, 2006 at 03:36:44AM -0700, Andrew Morton wrote: > "Theodore Ts'o" <tytso@mit.edu> wrote: > > > > Allow taint flags to be set from userspace by writing to > > /proc/sys/kernel/tainted, and add a new taint flag, TAINT_USER, to be > > used when userspace is potentially doing something naughty that might > > compromise the kernel. > > What sort of userspace actions are you thinking of here? I also thought about tainting the kernel from a userspace program that messes with runtime power management - switch off and on various devices at runtime (which is not recommended by anyone) - and you are clearly in Unsupportedland. So yes, this is a good idea (although i just would have written a module without MODULE_LICENSE that just printk'ed "Tainting kernel, we will use runtime power management" on load.) -- Stefan Seyfried \ "I didn't want to write for pay. I QA / R&D Team Mobile Devices \ wanted to be paid for what I write." SUSE LINUX Products GmbH, Nürnberg \ -- Leonard Cohen - 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/ | ||||||||||
| Last update: 2006-05-24 15:52 [from the cache] ©2003-2008 | |||||||||||