Implement eaccess
authorJohn Marino <netbsd@marino.st>
Tue, 30 Oct 2012 19:42:07 +0000 (20:42 +0100)
committerJohn Marino <draco@marino.st>
Tue, 30 Oct 2012 21:43:04 +0000 (22:43 +0100)
commit6eb83deb5d1907d991a357ce71ca0c27a697bcb9
treed87e9a03a880d6a16eb186864096d7860869983c
parent9c9078b1c22ba5b3b33389aecc1b70d4706c4002
Implement eaccess

It's just like access, but uses AT_EACCESS to check effective user ID
instead of the real user ID.
13 files changed:
include/unistd.h
lib/libc/sys/Makefile.inc
lib/libc/sys/access.2
sys/kern/init_sysent.c
sys/kern/syscalls.c
sys/kern/syscalls.master
sys/kern/vfs_syscalls.c
sys/sys/param.h
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h