git: vfs: add support for incoming faccessat(2) syscall

看板DFBSD_commit作者時間16年前 (2009/08/23 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b2aed953647428149e24f2497ae39e417c6c0ea5 Author: Nicolas Thery <nthery@gmail.com> Date: Sun Aug 23 00:37:44 2009 +0200 vfs: add support for incoming faccessat(2) syscall Add flags argument to vop_access and change vop_helper_access() to check access against real or effective uid/gid depending on AT_EACCESS presence in flags. NOTE: nfs_access() may need to be changed too but I haven't yet managed to figure out whether if should use real or effective uid depending on AT_EACCESS. Approved-by: dillon@, corecode@ Summary of changes: sys/kern/vfs_helper.c | 20 +++++++++++++++----- sys/kern/vfs_vopops.c | 4 +++- sys/sys/fcntl.h | 1 + sys/sys/vfsops.h | 9 ++++++--- 4 files changed, 25 insertions(+), 9 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2aed953647428149e24f2497ae39e417c6c0ea5 -- DragonFly BSD source repository
文章代碼(AID): #1AaF1uM7 (DFBSD_commit)