Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--oyqLL/JqMvClXZi1
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 08, 2003 at 09:26:22AM +0200, Steffen Mazanek wrote:
> Hello,
>=20
> 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.
>=20
> I think it would be quit useful to allow some=20
> 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=20
> 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=20
> an application.
>=20
> 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

--=20
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 fin=
ished reading.

--oyqLL/JqMvClXZi1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+koZB7Ri2jRYZRVMRAp3NAKC/XFKXuxM8cjkyrrP1hbzppfVCQACgxEAj
zaVNh4AbQtl9exYEoquLO+g=
=gdYr
-----END PGP SIGNATURE-----

--oyqLL/JqMvClXZi1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408082017.GG559>