* hurd/hurd/lookup.h: New file.
authorRoland McGrath <roland@gnu.org>
Mon, 16 Oct 1995 02:51:06 +0000 (02:51 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 16 Oct 1995 02:51:06 +0000 (02:51 +0000)
commit2948fc64a6dd7aa23757daf2c5256dfe07f4c61a
tree972fdf14f283ebcd6f8fd3811c540ae3cf059a16
parent6cab5056c4b54a9bc92fe960e399b970ff2357ff
* hurd/hurd/lookup.h: New file.

* hurd/hurdlookup.c (__file_name_lookup_under): New function.
(__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
__hurd_file_name_split): Rewritten to take callback functions for
using any needed init or dtable port, instead of passing in crdir
and cwdir ports.
(__file_name_lookup, __file_name_split): Use new calling
convention; pass _hurd_ports_use and __getdport as the callback
functions.

* sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
of __hurd_file_name_lookup.
* sysdeps/mach/hurd/chdir.c: Likewise.
* sysdeps/mach/hurd/fchdir.c: Likewise.
* hurd/fchroot.c: Likewise.
ChangeLog
configure
hurd/fchroot.c
hurd/hurd/lookup.h [new file with mode: 0644]
hurd/hurdlookup.c
sysdeps/mach/hurd/chdir.c
sysdeps/mach/hurd/chroot.c
sysdeps/mach/hurd/fchdir.c