From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 8 01:22:19 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC3437B401 for ; Tue, 8 Apr 2003 01:22:19 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 75B6143F3F for ; Tue, 8 Apr 2003 01:22:17 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 2774 invoked from network); 8 Apr 2003 08:17:09 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 8 Apr 2003 08:17:08 -0000 Received: (qmail 22553 invoked by uid 1000); 8 Apr 2003 08:20:17 -0000 Date: Tue, 8 Apr 2003 11:20:17 +0300 From: Peter Pentchev To: Steffen Mazanek Message-ID: <20030408082017.GG559@straylight.oblivion.bg> Mail-Followup-To: Steffen Mazanek , freebsd-hackers@freebsd.org References: <86vfxpmov5.fsf@pseiko.studfb.unibw-muenchen.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyqLL/JqMvClXZi1" Content-Disposition: inline In-Reply-To: <86vfxpmov5.fsf@pseiko.studfb.unibw-muenchen.de> User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: Idea related to UNIX directories X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 08:22:20 -0000 --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--