freebsd-skq/sys/cddl
jh c2cb836190 execve(2) has a special check for file permissions: a file must have at
least one execute bit set, otherwise execve(2) will return EACCES even
for an user with PRIV_VFS_EXEC privilege.

Add the check also to vaccess(9), vaccess_acl_nfs4(9) and
vaccess_acl_posix1e(9). This makes access(2) to better agree with
execve(2). Because ZFS doesn't use vaccess(9) for VEXEC, add the check
to zfs_freebsd_access() too. There may be other file systems which are
not using vaccess*() functions and need to be handled separately.

PR:		kern/125009
Reviewed by:	bde, trasz
Approved by:	pjd (ZFS part)
2010-08-30 16:30:18 +00:00
..
boot/zfs Merge ZFS version 15 and almost all OpenSolaris bugfixes referenced 2010-07-12 23:49:04 +00:00
compat/opensolaris Import changes from OpenSolaris that provide 2010-08-28 09:24:11 +00:00
contrib/opensolaris execve(2) has a special check for file permissions: a file must have at 2010-08-30 16:30:18 +00:00
dev Destroy the helper device when unloading. 2010-08-22 11:05:37 +00:00