1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
authorroland <roland>
Wed, 3 Mar 1999 00:31:04 +0000 (00:31 +0000)
committerroland <roland>
Wed, 3 Mar 1999 00:31:04 +0000 (00:31 +0000)
commitb562c365851d120ce41cf0353d6ac10e1ef72d97
tree6563423bc6f532306b5b0ea405cede4c378cdc6f
parent2d9b0ab6a0699bea9b24e4efde644bd7fdace90f
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