From owner-freebsd-current Fri Jun 15 19:53:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 6FE7637B406 for ; Fri, 15 Jun 2001 19:53:39 -0700 (PDT) (envelope-from sethk@meow.osd.bsdi.com) Received: (from sethk@localhost) by meow.osd.bsdi.com (8.11.3/8.11.2) id f5G2qCD96562; Fri, 15 Jun 2001 19:52:12 -0700 (PDT) (envelope-from sethk) Date: Fri, 15 Jun 2001 19:52:12 -0700 From: Seth Kingsley To: Richard Tobin Cc: Bruce Evans , "Andrey A. Chernov" , Adrian Browne , freebsd-current@FreeBSD.ORG Subject: Re: tcsh.cat Message-ID: <20010615195212.B95977@meow.osd.bsdi.com> References: <200106151308.OAA07742@rhymer.cogsci.ed.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106151308.OAA07742@rhymer.cogsci.ed.ac.uk>; from richard@cogsci.ed.ac.uk on Fri, Jun 15, 2001 at 02:08:03PM +0100 Organization: Wind River Systems X-Operating-System: FreeBSD 4.3-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 15, 2001 at 02:08:03PM +0100, Richard Tobin wrote: > > P> The string pointed to by path1 shall be treated only as a charact= er > > P> string and shall not be validated as a pathname. >=20 > I have heard on several occasions of peope using symlink(2) to > atomically store some small piece of information for locking purposes. Netscape for instance, uses ~/.netscape/lock as a symlink to the IP and PID that it's running on: uniq{sethk}254% ll ~/.netscape/lock lrwxr-xr-x 1 sethk wheel 20 Jun 15 15:34 /home/sethk/.netscape/lock -> 204.216.28.154:27906 --=20 || Seth Kingsley || Platforms Lab Opps || seth.kingsley@windriver.com || --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7KsnaD1AymFxBOwgRAt5JAJ0V610Fgi0W0jUtxFZ6NY7ArBM8UQCfWUC7 kIYE88jZIgKTJZUoBr70fy4= =ALdS -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message