From owner-freebsd-hackers Mon Jul 6 01:02:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25603 for freebsd-hackers-outgoing; Mon, 6 Jul 1998 01:02:13 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from IAEhv.nl (root@iaehv.IAEhv.nl [194.151.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25517 for ; Mon, 6 Jul 1998 01:01:35 -0700 (PDT) (envelope-from wjw@surf.IAE.nl) Received: from surf.IAE.nl (root@surf.IAEhv.nl [194.151.66.2]) by IAEhv.nl (8.8.7/8.8.7) with ESMTP id KAA13430; Mon, 6 Jul 1998 10:01:19 +0200 (CEST) Received: (from wjw@localhost) by surf.IAE.nl (8.8.7/8.8.7) id KAA16227; Mon, 6 Jul 1998 10:01:18 +0200 (MET DST) Date: Mon, 6 Jul 1998 10:01:18 +0200 (MET DST) From: Willem Jan Withagen Message-Id: <199807060801.KAA16227@surf.IAE.nl> To: rkw@dataplex.net Subject: Re: A really hoopy idea for variant symlinks. X-Newsgroups: list.freebsd.hackers In-Reply-To: References: <199807051826.NAA10291@bonkers.taronga.com> Organization: Internet Access Eindhoven, the Netherlands Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article you write: >At 1:26 PM -0500 7/5/98, Peter da Silva wrote: >>So yours would be under /proc/curproc/syms. and if you had permission you >>could browse other processes you own and examine them under /proc/pid/syms. >> >>AND, because you're exposing them as symlinks, you don't have to change >>how symlinks work. >> >>Instead of going through .../${USER}/... you'd just set up a symlink in >>the proper place to /proc/curproc/syms/user. >> >>And instead of creating new system calls, you could examine the buggers >>using "ls". >> >>Or diddle them from scripts. > >As for the mechanism to interogate and set them, this proposal seems OK to me. >However, to have appropriate value, we need to have A SINGLE VALUE (eg: >osversion) >that can be referenced from multiple places. Thus changing a single value would >change a number of links at the same time. Also, an hierarchy in the name-space will be much more difficult. Your favorite link will be either in /proc/pid/syms, or not..... In which case access will just fail. And then we'de have to start doing special things anyway, next to the thing that I'm not so into /proc-items But then as it goes with code here, I you like it this way... feel free --WjW -- Internet Access Eindhoven BV., voice: +31-40-2 393 393, data: +31-40-2 606 606 P.O. 928, 5600 AX Eindhoven, The Netherlands Full Internet connectivity for only fl 12.95 a month. Call now, and login as 'new'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message