Idea related to UNIX directories

Peter Pentchev roam at ringlet.net
Tue Apr 8 01:22:20 PDT 2003


On Tue, Apr 08, 2003 at 09:26:22AM +0200, Steffen Mazanek wrote:
> Hello,
> 
> at first I have to say, that I am new to this
> mailing list and if my proposal is absurde please
> don't plonk me :-) I am no kernel freak and so
> I can not implement the following idea.
> 
> I think it would be quit useful to allow some 
> code to be related to e.g. the i-nodes of directories.
> Consider therefore an example. At first, all
> directories have a default assignment to save
> memory. This default assignment may realize
> permission related stuff. Now some privileged users
> have the permission to add their own code, which
> must implement an interface and some standard 
> functions and in addition they are able to trigger
> some events, e.g. write something to a log-file
> whenever a user enters the directory or start 
> an application.
> 
> What do you think about this idea? Is it feasible
> at all?

If you are only interested in specific directories, you might want to
take a look at the kqueue interface (man 2 kqueue) in FreeBSD 4.1 and
later.  If you want something system-wide, then I believe that the ACL
work done in FreeBSD 5.x (available for preview in FreeBSD 5.0-RELEASE,
but still undergoing development and enhancements in -CURRENT, I think)
might be what you mean.

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
You have, of course, just begun reading the sentence that you have just finished reading.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030408/db35f729/attachment.bin


More information about the freebsd-hackers mailing list