Re: /dev/port BUG and possible workaround

From: Nick Kurshev (nickols_k@mail.ru)
Date: Wed May 22 2002 - 04:12:10 EST


Hello, Martin!

On Wed, 22 May 2002 09:52:35 +0200 you wrote:

> Uz.ytkownik Nick Kurshev napisa?:
>
> ...
>
> > 800=inl(CFC)
> > 2. Wrong log with using of /dev/port:
>
> ...
>
> > But it seems that nobody uses this device. Then what is goal
> > of implementing of this device?
>
> Basically the goal is that contrary to some silly /proc
> stuff which is "en vouge" nowadays you have the ability to
> controll port access by using normal user permission control
> semantics of unix file access permissions, by giving /dev/port
> a proper group and so on. This is legacy crap of course, since
But this device is unworking in general. It simply unusable for
programs which require 4-byte operations with ports.
As I wrote: outl() != 4*outb() same as inl() != 4*inb()
> the above goal can be reached by using a apache-suexec alike wrapper
> as well... even with more fine grained resolution of access controll.
>
Maybe after fixing these flaws it will be usable but not for now.

Best regards! Nick



-
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/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:24 EST