Home
last modified time | relevance | path

Searched refs:VREAD (Results 1 – 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zut/
H A Dzut.c91 error = VOP_ACCESS(*dvn, VREAD, 0, cr, NULL); in zut_open_dir()
142 zr->zr_retcode = VOP_ACCESS(fvn, VREAD, 0, cr, NULL); in zut_readdir()
327 zl->zl_retcode = VOP_ACCESS(fvn, VREAD, 0, cr, NULL); in zut_lookup()
/illumos-gate/usr/src/uts/common/syscall/
H A Ducredsys.c166 err = priv_proc_cred_perm(CRED(), p, &pcr, VREAD); in ucred_get()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_open.c120 mode |= VREAD; in vn_open()
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c92 if (mode & (VEXEC | VREAD)) in ctfs_ctl_access()
/illumos-gate/usr/src/uts/common/fs/
H A Dlookup.c376 (error = VOP_ACCESS(vp, VREAD, 0, cr, NULL)) != 0) in lookuppnvp()
842 if ((error = VOP_ACCESS(dvp, VREAD, 0, cr, NULL)) != 0) in dirfindvp()
1241 vprivs = (flags & LOOKUP_CHECKREAD) ? VREAD | VEXEC : VEXEC; in dirtopath()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c1764 error = smb_vop_access(snode->vp, VREAD, in smb_fsop_access()
1811 access |= VREAD; in smb_fsop_access()
2764 if (access & VREAD) in smb_fsop_eaccess()
2774 if (access & (VREAD | VWRITE)) in smb_fsop_eaccess()
H A Dsmb_kshare.c545 rc = smb_vop_access(vp, VREAD, 0, NULL, user->u_cred); in smb_kshare_access()
H A Dsmb_vops.c1499 static const int unix_perms[] = { VREAD, VWRITE, VEXEC };
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c171 if (error = VOP_ACCESS(vpio, VREAD, 0, cr, NULL)) in ufs_fioio()
H A Dufs_vfsops.c316 aflag = VREAD; in ufs_mount()
319 aflag = VREAD | VWRITE; in ufs_mount()
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c963 if ((mode & VREAD) && priv_policy_va(cr, PRIV_FILE_DAC_READ, B_FALSE, in secpolicy_vnode_access()
1007 if ((wantmode & VREAD) && in secpolicy_vnode_access2()
1026 if ((mode & VREAD) && priv_policy_va(cr, PRIV_FILE_DAC_READ, B_FALSE, in secpolicy_vnode_access2()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c329 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in acl2_access()
H A Dnfs_acl_vnops.c291 if (mode & VREAD) in acl_access2()
H A Dnfs_srv.c847 error = VOP_ACCESS(vp, VREAD, 0, cr, &ct); in rfs_read()
1914 mode = (at.va_mode & S_IWUSR) ? VWRITE : VREAD; in rfs_create()
2675 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs_readdir()
H A Dnfs3_srv.c689 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs3_access()
1071 error = VOP_ACCESS(vp, VREAD, 0, cr, &ct); in rfs3_read()
3231 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs3_readdir()
3507 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs3_readdirplus()
H A Dnfs4_srv_readdir.c468 error = VOP_ACCESS(dvp, VREAD, 0, cs->cr, NULL); in rfs4_op_readdir()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c765 error = VOP_ACCESS(vp, VREAD|VWRITE, 0, CRED(), NULL); in swapctl()
1071 error = VOP_ACCESS(vp, VREAD|VWRITE, 0, CRED(), NULL); in swapctl32()
/illumos-gate/usr/src/uts/common/dtrace/
H A Dfasttrap.c2004 VREAD | VWRITE)) != 0) { in fasttrap_ioctl()
2044 VREAD)) != 0) { in fasttrap_ioctl()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c291 aflag = VREAD; in udf_mount()
294 aflag = VREAD | VWRITE; in udf_mount()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c409 aflag = VREAD; in pcfs_device_identify()
412 aflag = VREAD | VWRITE; in pcfs_device_identify()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c2500 needed_bits |= VREAD; in zfs_zaccess()
2542 checkmode |= VREAD; in zfs_zaccess()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c141 error = VOP_ACCESS(*vpp, VREAD, 0, cred, ct); in auto_open()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c149 m |= VREAD; in hs_access()
H A Dhsfs_vfsops.c1385 if ((error = VOP_ACCESS(svp, VREAD, 0, cr, NULL)) != 0) in hs_getmdev()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.c432 ((attr->va_mode & (VREAD>>6)) != 0) && in object_is_public()

12