1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Wed, 3 Mar 1999 00:31:05 +0000 (00:31 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 3 Mar 1999 00:31:05 +0000 (00:31 +0000)
commit791cfdb7268e0bcb4efb5d85c8117fca5009572c
tree3dea277369cd5a8f1ccad41bb8a0576888b66710
parent9af2e76f296235601789d826a4a65ce0ec4eda9e
1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/bits/fcntl.h
[__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
* hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
set O_NOTRANS as well.
(__hurd_file_name_lookup_retry): At successful end of lookup,
if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
it is a translated node not owned by root.
(__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
on the file name passed to LOOKUP.
hurd/hurdlookup.c
sysdeps/mach/hurd/bits/fcntl.h