glibc/hurd
Samuel Thibault 09085ede12 hurd: Implement faccessat without AT_EACCESS flag
* hurd/hurd/fd.h: Include <fcntl.h>
(__hurd_at_flags): New function.
* hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
with call to __hurd_at_flags.
* include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
* sysdeps/mach/hurd/access.c (access_common): Move implementation to
__faccessat
(hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
(__access_noerrno): Use __faccessat_common instead of access_common.
(__access): Likewise.
* sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
with a call to __faccessat.
* sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
(__faccessat_common): ... this. Move implementation of __access into it when
AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
reauthenticate_cwdir_at helper to implement AT mechanism.
(__faccessat_noerrno): New function, just calls __faccessat_common.
(__faccessat): New function, just calls __faccessat_common.
(faccessat): Define weak alias.
2018-01-10 02:03:28 +01:00
..
hurd hurd: Implement faccessat without AT_EACCESS flag 2018-01-10 02:03:28 +01:00
alloc-fd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
catch-exc.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
catch-signal.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
compat-20.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctty-input.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ctty-output.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Depend
dtable.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
exc2signal.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
faultexc.defs
fchroot.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fd-close.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fd-read.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fd-write.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fopenport.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
get-host.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getdport.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
geteuids.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getumask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurd-raise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurd.h hurd: Use the new file_exec_paths RPC 2018-01-09 01:37:34 +01:00
hurdauth.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdchdir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdexec.c hurd: Use the new file_exec_paths RPC 2018-01-09 01:37:34 +01:00
hurdfault.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdfault.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdfchdir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdhost.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdinit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdioctl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdkill.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdlookup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdmalloc.c
hurdmalloc.h
hurdmsg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdpid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdports.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdprio.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdrlimit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdselect.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdsig.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdsock.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdsocket.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdstartup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurdstartup.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
intern-fd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
intr-msg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
intr-rpc.defs Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
intr-rpc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
longjmp-ts.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lookup-at.c hurd: Implement faccessat without AT_EACCESS flag 2018-01-10 02:03:28 +01:00
lookup-retry.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
msgportdemux.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
new-fd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Notes
openport.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
path-lookup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pid2task.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
port2fd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
port-cleanup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ports-get.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ports-set.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
preempt-sig.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
privports.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
report-wait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
set-host.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setauth.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
seteuids.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
siginfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigunwind.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
stack_chk_fail_local.c hurd: fix build with -fstack-protector-strong 2017-08-27 22:10:17 +02:00
task2pid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
thread-cancel.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
thread-self.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
trampoline.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions hurd: Use the new file_exec_paths RPC 2018-01-09 01:37:34 +01:00
vpprintf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xattr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00