Subject: Re: kern/6062: bind() to unix domain socket doesn't use emul path
To: matthew green <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 08/30/1998 20:46:18
On Mon, 31 Aug 1998 13:58:23 +1000
matthew green <email@example.com> wrote:
> there is inconsistency between which syscalls in each emulation
> check the alternative path. IMO, creat(2) should not be checked,
> as it is creating new files, not reading pre-existing ones.
> emulations shouldn't write to their alternative path unless
> explicitely given.
No, this is totally bogus... What if it wants to create a temp file
in /usr/adm/fooprog/...? You want to put a /usr/adm on your NetBSD
The Correct thing happens if the emul shadow dir doesn't exist for the
created file (i.e. it falls back on the real /-rooted path).
Jason R. Thorpe firstname.lastname@example.org
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942