Mornin' guys

.
*hands coffee pot around the room*
Hope you're all having a nice day.

Oh, today is going to be a bleak, grey day...
a bleak, grey day indeed.
In any case, I was thinking of the driver situation.
JAAMan, you make a decent point. Brendan, you make a good point.
Me, I make a slightly okay point.
BUT... I think SOLAR makes the best point!

even though like, it was about encryption almost a year ago ...
Security through obscurity isnt security?
Problem is, if someone is truly dedicated to write a driver for an operating system that will cause grevious harm, itll happen. We can design around it all we like, but we CANT stop it. We can make it harder, we can warn the user, whatever, but at the end of the day- who loads the driver? The user...
Who compiles it in?
Who loads the module?
Who starts the application?
And with Microkernels. I think people fail to make a small line of distinction with Driver applications and say, XMMS.
Drivers are still system software, they are seperate in that they are external from the kernel. So, they use the userspace API, sure. The point is, a driver is still crucical system software that will have to act on specific protocols defined by the kernel.
I mean, I wouldnt have Emacs acting as the audio driver to.
For the most part, I hate to ... hold someones hands. I hate to slow down the entire process, I hate to complicate it all. (The kernel, its god, dontcherknow?)
If a driver is still external and follows some specified protocol, its integrity (or atleast that it is a driver) can be verified. If it claims these ports, or... is USED on ports assigned by some drive manager... there must be a way we can verify what it is doing is SAFE.
Within reason.

I mean, how can you stop someone downloading a Hard drive disk driver, that secretly stamps over the MBR of any hard drive you have? or like, USB Flash disk (windows actually did this to my flashdrive yesterday... a bunch of crap about NTLDR is where the partition table should be...)
Point is, really... that this is a lot like everything that humans have access to... or that humans are involved in.
People will always vandalize things, people will always break things.
When I go for a walk, I be careful not to get beat up (Im gothicish, so people like to jump on me ...).
If my sister leaves her car in public, she makes sure to lock it. When she slows at a Traffic light, she locks her doors - because people have and do try to get into her vehicle ...
We have to place some responsibility on the user. We have to make sure that they know when they are downloading a driver, to make sure that they understand what that software is doing, why it is important.
And... implied in that responsibility comes like, yknow, making sure you havent downloaded your driver from CRACKSRUS or WAREZNET or whatever...
The only real way I can see how to protect hardware... is to have some kind of authentication protocol in place, or some like ... unit test the kernel does communicating with the driver.
Like, it runs the driver on a virtual test device. But that is slow and it would never catch everything. For a microkernel, that is just... crap. The overhead would be insane, it would make it pointless to BE a microkernel.
Id be curious to see what would happen if someone deliberately wrote driver software for Minix or QNX that was designed to **** IT SERIOUSLY. Id like to see how either of those systems deal with it.

I mean to AST. Like, Sure - Microkernels are cool because if a driver crashes, it can die.. and the system can do without it for a small time while the kernel restarts it, or something.
But what happens with the driver doesnt crash? Instead it is acting completely like a driver should, except it is doing evil in its spare time? Or, doing evil full stop?
What do you guys think?
What is your take?
The point I am trying to make is, yes, we can try to be secure.
But we can only ever be SO secure.
And like everything in life, judged to be safe... it isnt
COdes in encryption will always be broken.
Big red buttons with 'DO NOT PRESS' signs will ALWAYS be pressed.
Tombstones will always be smashed and,
Viruses will always be written?
~Z