Subject: Re: bin/19377 (updated)
To: David Laight <david@l8s.co.uk>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-userlevel
Date: 12/19/2002 19:33:48
> I would be tempted to validate 'cached path' in cwd(),
> eg wd=3Dopen(".",...) fstat(wd), open(cached_path), fstat()
> and compare device and inode...

I will do that. But if we get that far away, it would make sense to
integrate this back into libc, so that the behavior would be fixed in
any program. /bin/sh suffers the same problem than ftpd.

But is it POSIX-safe?=20

--=20
Emmanuel Dreyfus.                                        manu@netbsd.org
X Window, c'est un millefeuille avec une couche de cr=E8me patissi=E8re, un=
e
de ketchup, et une d'anchois. Faut aimer. Mais c'est vrai que c'est un=20
systeme ouvert: on peut ajouter des pepites de chocolat et des c=E2pres