Linux: Tainting the Kernel From Userland
In fact, the RTSJ compliance test explicitly checks for this; it requires that you give the compliance test the address of a few hundred megs of physical memory for the test.". He went on to add, "I was so unhappy about being forced by the RTSJ specification to do this insane thing that I wanted to make sure that if it were ever used, it would set a TAINT flag to warn people that just about anything unsane could have happened, and the system's stability was at the mercy of the competence of Java application programmers.". The conversation that followed proposed having the tainting happen automatically when a process opens |
|
|
Comments (4)
This is a spec for java that would be used for real time stuff like as a timing system in a laboratory. Waiting for the OS to get around to allocating resources to a program is not an option in real-time systems.
Of course in Real-Life there are very few systems that need Real-Time. For those, running in user-space (and consequently user-time) is just fine.
This is a red flag, but real-time systems are only used when the benefits of quick memory access outweigh the drawbacks of trashing memory. Regular Java runs in a memory protected 'sandbox'
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Sign up and post (it is free) or Log in and post

Now, I'm not a programmer, but I am an Engineer, and this puts up all sorts of red flags for me. TAINT flag be damned, why was this ever a part of Java, and since it is, why do we want to use Java? Java is beginning to sound like less and less of a deal.