lkml.org 
[lkml]   [1997]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: TTY changes to 2.1.65
On Thu, 27 Nov 1997, Rik van Riel wrote:
[snip]
> We could implement /dev in the same way we implement /proc...
> Device drivers can register/unregister their device files in
> /dev and they get assigned a 'device number' for each device
> they allocate (no need for major/minor numbers)
>
> For devices that are compiled-in some script in /etc/rc.d
> could change the permissions to the wanted ones.
> Loadable modules could get the dev_perm=0600 or whatever
> as a command-line option (from /etc/conf.modules).
>
> This would probably cost us 10 to 20 k of kernel-mem, but
> that's a small price to pay (even on a 4M machine) for
> making things _work_ in all circumstances...
>
> No need to ever assign major/minor numbers again would
> also help people who built a custom device driver or
> made a kernel-patch for some driver (without registering
> a major with Linus).
>
> comments wanted,
>
> Rik.
How would this keep track of permissions? On my system I have some
devices that I allow only certain users on.

Gerhard


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.042 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site