Re: devfs - why not ?

From: Ricky Beam (jfbeam@bluetopia.net)
Date: Thu Apr 13 2000 - 11:21:56 EST


On Wed, 12 Apr 2000, Horst von Brand wrote:
>But they do! Device identity, owner, group, permissions; soon ACLs and

No, they take _inode_ space NOT _data_ space. (I hate that facet of UNIX.)

>> If you define "clean solution" as '/usr/bin/vi'... either alter the

(read: edit the kernel source to redefine "default")

>I wouldn't want to have to set permissions on my files by editing a file,
>which can (and Murphy assures us, _will_) get lost or corrupted. And reset
>it to what, by whom? What if the machine is running low on space, so the
>chown/chmod can't run (or is plain overloaded, so it runs slowly), and some
>attacker has a field day with leftover default permissions?

That is a problem that will forever exist in userspace. I always try to
avoid making kernel internals dependant on userspace crap -- it's a mess
in progress. (unavoidable in some cases, tho')

--Ricky

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:21 EST