git: Implement eaccess

John Marino marino at crater.dragonflybsd.org
Tue Oct 30 14:43:48 PDT 2012


commit 6eb83deb5d1907d991a357ce71ca0c27a697bcb9
Author: John Marino <netbsd at marino.st>
Date:   Tue Oct 30 20:42:07 2012 +0100

    Implement eaccess
    
    It's just like access, but uses AT_EACCESS to check effective user ID
    instead of the real user ID.

Summary of changes:
 include/unistd.h          |    3 +
 lib/libc/sys/Makefile.inc |    3 +-
 lib/libc/sys/access.2     |  215 +++++++++++++++++++++++++--------------------
 sys/kern/init_sysent.c    |    1 +
 sys/kern/syscalls.c       |    1 +
 sys/kern/syscalls.master  |    1 +
 sys/kern/vfs_syscalls.c   |   19 ++++
 sys/sys/param.h           |    3 +-
 sys/sys/syscall-hide.h    |    1 +
 sys/sys/syscall.h         |    3 +-
 sys/sys/syscall.mk        |    3 +-
 sys/sys/sysproto.h        |    8 ++
 sys/sys/sysunion.h        |    1 +
 13 files changed, 163 insertions(+), 99 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6eb83deb5d1907d991a357ce71ca0c27a697bcb9


-- 
DragonFly BSD source repository


More information about the Commits mailing list