From owner-freebsd-hackers Sun Nov 7 10: 5:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from green.myip.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 6382D150A8 for ; Sun, 7 Nov 1999 10:05:49 -0800 (PST) (envelope-from green@FreeBSD.org) Received: from localhost ([127.0.0.1] ident=green) by green.myip.org with esmtp (Exim 3.02 #1) id 11kU2h-0001G3-00 for hackers@freebsd.org; Sun, 07 Nov 1999 10:15:43 -0500 Date: Sun, 7 Nov 1999 10:15:42 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.myip.org To: hackers@freebsd.org Subject: Re: Procfs' pointers to files. In-Reply-To: <199911070807.AAA01199@kithrup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 7 Nov 1999, Sean Eric Fagan wrote: > I don't, but what I like doesn't matter, it seems -- Warner knows everything. > So I'm sure he knows better than I do the overhead this will impose, and the > impracticality in a general system. > > Unix really isn't set up to carry around 'official pathnames,' due to the > existence of symlinks and other fun stuff. Other systems are set up for this > -- my favourite was EMBOS, by ELXSI -- and there are some _really_ nifty > things you can do, if you have it. (Watchdogs and program-based-access-lists > are my two favourite, the latter allowing you to get rid of SUID/SGID in many > cases. There is a paper available on implementing watchdogs under unix > [4.2bsd, I believe] that discusses some of this. If you're willing to cover > 60-80% of the cases, instead of 95-100%, it's considerably easier.) > The _REALLY_ obvious solution to this is to find the real path on exec() and store the pointer in proc. How is this full of "overhead" and "impractical"? -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message