search for: va_uid

Displaying 2 results from an estimated 2 matches for "va_uid".

Did you mean: ia_uid
2007 Sep 03
1
Code/comment mismatch in delegated administration code.
...hose two (is the owner or can write) is true, we should allow the mount. Am I right? If I am right, the patch below implements my thinking. --- uts/common/fs/zfs/zfs_vfsops.c +++ uts/common/fs/zfs/zfs_vfsops.c @@ -608,11 +608,9 @@ goto out; } - if (error = secpolicy_vnode_owner(cr, vattr.va_uid)) { - goto out; - } - - if (error = VOP_ACCESS(mvp, VWRITE, cr, td)) { + if (secpolicy_vnode_owner(cr, vattr.va_uid) != 0 && + VOP_ACCESS(mvp, VWRITE, cr, td) != 0) { + error = EPERM; goto out; } -- Pawel Jakub Dawidek http://www.wheel.pl pjd...
2013 Sep 12
1
9.2-RC1 panic at shutdown
.../usr/src/sys/kern/vfs_subr.c:2687 _rc = <value optimized out> vp = (struct vnode *) 0xfffffe0035273000 mvp = (struct vnode *) 0xfffffe008bc36800 rootvp = (struct vnode *) 0xfffffe0035273000 vattr = {va_type = 2175779674, va_mode = 65535, va_nlink = -1, va_uid = 689, va_gid = 0, va_fsid = 3889432544, va_fileid = -2133215974, va_size = 4, va_blocksize = 525312, va_atime = {tv_sec = -2198131494912, tv_nsec = 689}, va_mtime = {tv_sec = -545866381232, tv_nsec = -2137280809}, va_ctime = {tv_sec = -2127027808, tv_nsec = -2198131494912}, va_birthtime = {tv_...