CVSROOT: /cvs Module name: src Changes by: matt...@cvs.openbsd.org 2011/07/07 22:23:24
Modified files: sys/sys : fcntl.h sys/kern : vfs_syscalls.c Log message: Add support for the AT_EACCESS, AT_SYMLINK_NOFOLLOW, and AT_SYMLINK_FOLLOW flags. Refactor sys_lstat to call dofstatat() with AT_SYMLINK_NOFOLLOW. Fix sys_link() to use AT_SYMLINK_FOLLOW when calling dolinkat(). Additionally, fix a bug in VOP_ACCESS() where we might sleep while not holding a reference count on the ucred object we pass down. ok tedu@