Date: Tue, 8 Apr 2003 11:20:17 +0300 From: Peter Pentchev <roam@ringlet.net> To: Steffen Mazanek <Steffen.Mazanek@unibw-muenchen.de> Cc: freebsd-hackers@freebsd.org Subject: Re: Idea related to UNIX directories Message-ID: <20030408082017.GG559@straylight.oblivion.bg> In-Reply-To: <86vfxpmov5.fsf@pseiko.studfb.unibw-muenchen.de> References: <86vfxpmov5.fsf@pseiko.studfb.unibw-muenchen.de>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@ringlet.net roam@sbnd.net roam@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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+koZB7Ri2jRYZRVMRAp3NAKC/XFKXuxM8cjkyrrP1hbzppfVCQACgxEAj zaVNh4AbQtl9exYEoquLO+g= =gdYr -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408082017.GG559>
