Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
What keeps somebody from writing Java code that un-taints the kernel? Cooperativeness?
Tainting from user space
Posted May 25, 2006 10:35 UTC (Thu) by remijnj (subscriber, #5838)
Posted May 25, 2006 11:40 UTC (Thu) by schabi (subscriber, #14079)
Posted May 25, 2006 12:52 UTC (Thu) by remijnj (subscriber, #5838)
Posted May 25, 2006 14:12 UTC (Thu) by elanthis (guest, #6227)
Second, setting that flag by poking around memory probably isn't that easy. Where in memory is the flag, exactly? With how every kernel release (and almost every kernel compilation) can end up with pretty drastically different memory layouts, it's not possible to just write some data to some specific memory location. You would have to write an awful lot of very complex code just to figure out where to write the change. And if the code isn't absolutely right, you probably just end up crashing the machine. (And, hence, if you do a bug report of the oops message, it shows developers the kernel was tainted.)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds