NetBSD/sys/lkm/compat
dsl b8fbaf8c4b Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
2007-04-22 08:29:55 +00:00
..
aoutm68k merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
freebsd Change the way that emulations locate files within the emulation root to 2007-04-22 08:29:55 +00:00
hpux merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ibcs2 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
irix merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
linux Change the way that emulations locate files within the emulation root to 2007-04-22 08:29:55 +00:00
netbsd32 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
osf1 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
pecoff Change the way that emulations locate files within the emulation root to 2007-04-22 08:29:55 +00:00
sunos merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
sunos32 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
svr4 Change the way that emulations locate files within the emulation root to 2007-04-22 08:29:55 +00:00
svr4_32 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
ultrix merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
Makefile merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
Makefile.inc Change the way that emulations locate files within the emulation root to 2007-04-22 08:29:55 +00:00