lkml.org 
[lkml]   [1998]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PROPOSAL: /proc/dev
From
Date
Hi,

>>>>> On Fri, 2 Jan 1998 13:17:58 +1100
>>>>> Richard Gooch <rgooch@atnf.CSIRO.AU> said:

Richard> The system boot script checks it's /dev protections database
Richard> and uses chown(2) and chmod(2) to modify permissions. If an
Richard> entry does not exist, the script must first call mknod(2)
Richard> which will create a "placeholder" entry.

This should be unnecessary, if ch{own,mod}() is made to create the
placeholder. Might be easy to do (from what little I gleaned by
staring at open.c & namei.c): Just make namei() succeed always for
root, installing a placeholder if the real thing does not exist.

Robbe

--
Robert Bihlmeyer reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at> <http://stud2.tuwien.ac.at/~e9426626/sig.html>

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