Home
last modified time | relevance | path

Searched refs:VOP_ACCESS (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c589 ret = VOP_ACCESS(dv->sdev_attrvp, mode, flags, cr, ct); in sdev_self_access()
629 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_lookup()
701 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_create()
717 error = VOP_ACCESS(vp, mode, 0, cred, ct); in sdev_create()
1027 error = VOP_ACCESS(odvp, VWRITE, 0, cred, ct); in sdev_rename()
1039 error = VOP_ACCESS(ndvp, VEXEC|VWRITE, 0, cred, ct); in sdev_rename()
1181 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_symlink()
1197 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) in sdev_symlink()
1255 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) { in sdev_mkdir()
1270 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) { in sdev_mkdir()
[all …]
H A Dsdev_ptsops.c343 error = VOP_ACCESS(vp, mode, 0, cred, ct); in devpts_create()
H A Dsdev_zvolops.c706 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in devzvol_lookup()
832 error = VOP_ACCESS(vp, mode, 0, cred, ct); in devzvol_create()
H A Dsdev_vtops.c467 error = VOP_ACCESS(vp, mode, 0, cred, ct); in devvt_create()
H A Dsdev_plugin.c429 if ((ret = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_plugin_vop_lookup()
/illumos-gate/usr/src/uts/common/fs/zut/
H A Dzut.c88 error = VOP_ACCESS(*dvn, ACE_LIST_DIRECTORY, in zut_open_dir()
91 error = VOP_ACCESS(*dvn, VREAD, 0, cr, NULL); in zut_open_dir()
139 zr->zr_retcode = VOP_ACCESS(fvn, ACE_READ_NAMED_ATTRS, in zut_readdir()
142 zr->zr_retcode = VOP_ACCESS(fvn, VREAD, 0, cr, NULL); in zut_readdir()
324 zl->zl_retcode = VOP_ACCESS(fvn, ACE_READ_NAMED_ATTRS, in zut_lookup()
327 zl->zl_retcode = VOP_ACCESS(fvn, VREAD, 0, cr, NULL); in zut_lookup()
/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()
334 error = VOP_ACCESS(vp, VEXEC, 0, cr, NULL); in acl2_access()
340 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in acl2_access()
347 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in acl2_access()
352 error = VOP_ACCESS(vp, VEXEC, 0, cr, NULL); in acl2_access()
H A Dnfs3_srv.c689 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs3_access()
699 error = VOP_ACCESS(vp, VEXEC, 0, cr, NULL); in rfs3_access()
709 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in rfs3_access()
721 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in rfs3_access()
730 error = VOP_ACCESS(vp, VEXEC, 0, cr, NULL); in rfs3_access()
1071 error = VOP_ACCESS(vp, VREAD, 0, cr, &ct); in rfs3_read()
1075 error = VOP_ACCESS(vp, VEXEC, 0, cr, &ct); in rfs3_read()
1417 (error = VOP_ACCESS(vp, VWRITE, 0, cr, &ct))) in rfs3_write()
3231 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs3_readdir()
3507 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs3_readdirplus()
[all …]
H A Dnfs_srv.c847 error = VOP_ACCESS(vp, VREAD, 0, cr, &ct); in rfs_read()
854 error = VOP_ACCESS(vp, VEXEC, 0, cr, &ct); in rfs_read()
1104 error = VOP_ACCESS(vp, VWRITE, 0, cr, &ct); in rfs_write_sync()
1568 error = VOP_ACCESS(vp, VWRITE, 0, rp->cr, &ct); in rfs_write()
2675 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs_readdir()
H A Dnfs4_srv.c1565 error = VOP_ACCESS(vp, VREAD, 0, cr, NULL); in rfs4_op_access()
1573 error = VOP_ACCESS(vp, VEXEC, 0, cr, NULL); in rfs4_op_access()
1581 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in rfs4_op_access()
1593 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in rfs4_op_access()
1600 error = VOP_ACCESS(vp, VEXEC, 0, cr, NULL); in rfs4_op_access()
3284 error = VOP_ACCESS(cs->vp, ACE_READ_NAMED_ATTRS, in rfs4_op_openattr()
3482 (error = VOP_ACCESS(vp, VREAD, 0, cs->cr, &ct)) && in rfs4_op_read()
5846 (error = VOP_ACCESS(vp, VWRITE, 0, cr, &ct))) { in rfs4_op_write()
6505 if ((VOP_ACCESS(vp, VREAD, 0, cr, NULL) != 0) && in check_open_access()
6506 (VOP_ACCESS(vp, VEXEC, 0, cr, NULL) != 0)) { in check_open_access()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Daccess.c103 error = VOP_ACCESS(vp, mode, 0, tmpcr, NULL); in caccess()
H A Dchdir.c175 if (error = VOP_ACCESS(vp, VEXEC, 0, CRED(), NULL)) in chdirec()
/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()
1242 if ((err = VOP_ACCESS(pvp, vprivs, 0, cr, NULL)) != 0) { in dirtopath()
1487 if ((ret = VOP_ACCESS(vp, VEXEC, 0, CRED(), NULL)) != 0) { in dogetcwd()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_open.c191 if (error = VOP_ACCESS(vp, mode, accessflags, CRED(), NULL)) in vn_open()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c651 error = VOP_ACCESS(vp, mode, flags, cr, NULL); in smb_vop_access()
661 error = VOP_ACCESS(dir_vp, ACE_DELETE_CHILD, flags, in smb_vop_access()
668 error = VOP_ACCESS(dir_vp, ACE_LIST_DIRECTORY, flags, in smb_vop_access()
676 error = VOP_ACCESS(vp, mode, flags, cr, NULL); in smb_vop_access()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c141 error = VOP_ACCESS(*vpp, VREAD, 0, cred, ct); in auto_open()
329 error = VOP_ACCESS(newvp, mode, 0, cred, ct); in auto_access()
385 if (error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) in auto_lookup()
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c292 if ((error = VOP_ACCESS(realrootvp, 0, 0, cr, NULL)) != 0) { in lo_mount()
H A Dlofs_vnops.c214 return (VOP_ACCESS(vp, mode, flags, cr, ct)); in lo_access()
712 if ((error = VOP_ACCESS(dvp, mode, 0, cr, NULL)) == 0) { in lo_create()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c418 return (VOP_ACCESS(so->so_sockparams->sp_sdev_info.sd_vnode, in socket_vop_access()
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c746 res = VOP_ACCESS(dv->dv_attrvp, mode, flags, cr, ct); in devfs_access()
845 error = VOP_ACCESS(vp, mode, 0, cred, ct); in devfs_create()
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c342 return (VOP_ACCESS(nodep->nm_filevp, mode, flags, crp, ct)); in nm_access()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c170 if (error = VOP_ACCESS(vpio, VREAD, 0, cr, NULL)) in ufs_fioio()
/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/os/
H A Dcore.c162 else if ((error = VOP_ACCESS(vp, VWRITE, 0, CRED(), NULL)) == 0) { in remove_core_file()
H A Dexec.c1227 if ((error = VOP_ACCESS(vp, VEXEC, 0, p->p_cred, NULL)) != 0 || in execpermissions()
1237 (error = VOP_ACCESS(vp, VREAD, 0, p->p_cred, NULL))) { in execpermissions()

123