[lkml]   [2006]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Who wants to test cracklinux??
Pavel Machek <> writes:

> Hi!
>> I've written a small kernel module & shared object for kernel 2.6 to
>> enable the following for normal users:
>> - inb()/outb()... via a wrapper function
> ioperm() does that already, no? You mean, you enable it for non-root,
> too? That's security hole.
>> - enable direct IO access (like ioperm())
>> - direct access on physical memory addresses
> read/write on /dev/mem. chmod 666 /dev/mem if you want to allow normal
> users to access physical memory (security hole, again).

It's a security risk, but one that you might sometimes take to gain
some performance on a non-critical machine. I've done this in the
past to be able to play videos smoothly on a slow machine.

>> - installation of user space ISR
> That seems nice. Does it work with PCI shared interrupts?

I obviously can't comment on this case, but I've successfully done it
previously, so it's demonstrably possible. The code is all available
from, although it's not updated to the latest ways of
doing things.

Måns Rullgård

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-03-29 01:52    [W:0.092 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site