Subject: Re: an emulation environment dilema...
To: NetBSD-current Discussion List <>
From: David Maxwell <>
List: current-users
Date: 10/23/1998 10:28:29
On Thu, Oct 22, 1998 at 08:37:52PM -0400, Greg A. Woods wrote:
> However this raises the question of what to do when you have an emulated
> binary that execs a conflicting program *and* depends on the behaviour
> of the emulated OS' version of the program.
> Is this beyond even the theoretical limits of the /emul system, or might
> it be possible to make the exec() wrapper slightly smarter so that it
> first tries prefixing the path with "/emul/$os/" first?

You know that most of the calls do that already right?

  4234 typhoond CALL  readlink(0x10108aea,0xf7bfda40,0x3f)
  4234 typhoond NAMI  "/emul/freebsd/etc/malloc.conf"
  4234 typhoond NAMI  "/etc/malloc.conf"

Is exec() the exception?

David Maxwell,| --> Mastery of UNIX, like
mastery of language, offers real freedom. The price of freedom is always dear,
but there's no substitute. Personally, I'd rather pay for my freedom than live
in a bitmapped, pop-up-happy dungeon like NT. - Thomas Scoville