Home
last modified time | relevance | path

Searched refs:VWRITE (Results 1 – 25 of 56) sorted by relevance

123

/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c683 } else if ((vp->v_type == VDIR) && (mode & VWRITE)) { in sdev_create()
719 if ((error = VOP_ACCESS(dvp, VEXEC|VWRITE, 0, cred, ct)) != 0) { in sdev_create()
812 if ((error = sdev_self_access(parent, VWRITE, 0, cred, ct)) != 0) { in sdev_remove()
997 error = VOP_ACCESS(odvp, VWRITE, 0, cred, ct); in sdev_rename()
1009 error = VOP_ACCESS(ndvp, VEXEC|VWRITE, 0, cred, ct); in sdev_rename()
1167 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) in sdev_symlink()
1240 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) { in sdev_mkdir()
1301 if ((error = VOP_ACCESS(dvp, VEXEC|VWRITE, 0, cred, ct)) != 0) in sdev_rmdir()
H A Dsdev_ptsops.c345 else if (vp->v_type == VDIR && (mode & VWRITE)) in devpts_create()
H A Dsdev_vtops.c469 else if (vp->v_type == VDIR && (mode & VWRITE)) in devvt_create()
/titanic_41/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c67 if (mode & VWRITE) in objfs_dir_access()
H A Dobjfs_data.c487 if (mode & (VWRITE|VEXEC)) in objfs_data_access()
/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c85 tmp_taccess(entry, VWRITE, cr) != 0)) in tmp_sticky_remove_access()
H A Dtmp_dir.c371 if (error = tmp_taccess(dir, VWRITE, cred)) in tdirenter()
457 if (error = tmp_taccess(dir, VEXEC|VWRITE, cred)) in tdirdelete()
768 if ((error = tmp_taccess(toparent, VWRITE, cred)) != 0 || in tdirrename()
H A Dtmp_vnops.c869 if ((error = tmp_taccess(tp, VWRITE, cred)) != 0) { in tmp_lookup()
1002 else if ((oldtp->tn_type == VDIR) && (mode & VWRITE)) in tmp_create()
1218 if (((error = tmp_taccess(fromparent, VWRITE, cred)) != 0) || in tmp_rename()
1241 error = tmp_taccess(toparent, VEXEC|VWRITE, cred); in tmp_rename()
/titanic_41/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c437 if (mode & VWRITE) in ctfs_access_dir()
455 if (mode & (VWRITE | VEXEC)) in ctfs_access_readonly()
H A Dctfs_latest.c107 if (mode & (VEXEC | VWRITE)) in ctfs_latest_access()
H A Dctfs_ctl.c121 return (ctfs_ctl_access(*vpp, VWRITE, 0, cr, ct)); in ctfs_ctl_open()
H A Dctfs_event.c205 if (mode & (VWRITE | VEXEC)) in ctfs_ev_access()
/titanic_41/usr/src/uts/common/os/
H A Dpolicy.c731 VWRITE) != 0) { in secpolicy_fs_common()
936 if (mode & VWRITE) { in secpolicy_vnode_access()
981 if ((wantmode & VWRITE) && in secpolicy_vnode_access2()
999 if (mode & VWRITE) { in secpolicy_vnode_access2()
1407 error = unlocked_access(node, VWRITE, cr); in secpolicy_vnode_setattr()
1484 error = unlocked_access(node, VWRITE, cr); in secpolicy_vnode_setattr()
1681 if ((mode & VWRITE) && scr->cr_uid != 0 && in secpolicy_proc_owner()
H A Dpriv.c191 if (priv_proc_cred_perm(cr, p, &oldcred, VWRITE) != 0) { in priv_pr_spriv()
603 if (!(mode & VWRITE)) { in priv_proc_cred_perm()
H A Dcore.c161 else if ((error = VOP_ACCESS(vp, VWRITE, 0, CRED(), NULL)) == 0) { in remove_core_file()
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c1187 if ((mode & VWRITE) && in smbfs_access_rwx()
1197 if ((mode & (VWRITE | VREAD | VEXEC)) && in smbfs_access_rwx()
1876 error = smbfs_access(dvp, VWRITE, 0, cr, ct); in smbfs_create()
2024 error = smbfs_access(dvp, VWRITE|VEXEC, 0, cr, ct); in smbfs_remove()
2186 error = smbfs_access(odvp, VWRITE|VEXEC, 0, cr, ct); in smbfsrename()
2190 error = smbfs_access(ndvp, VWRITE, 0, cr, ct); in smbfsrename()
2390 error = smbfs_access(dvp, VWRITE, 0, cr, ct); in smbfs_mkdir()
2457 error = smbfs_access(dvp, VEXEC|VWRITE, 0, cr, ct); in smbfs_rmdir()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_srv.c340 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in acl2_access()
347 error = VOP_ACCESS(vp, VWRITE, 0, cr, NULL); in acl2_access()
H A Dnfs_srv.c974 error = VOP_ACCESS(vp, VWRITE, 0, cr, &ct); in rfs_write_sync()
1441 error = VOP_ACCESS(vp, VWRITE, 0, rp->cr, &ct); in rfs_write()
1776 mode = VWRITE; in rfs_create()
1787 mode = (at.va_mode & S_IWUSR) ? VWRITE : VREAD; in rfs_create()
/titanic_41/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c209 if (mode & (VWRITE|VEXEC)) in sharefs_access()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_acl.c2417 needed_bits |= VWRITE; in zfs_zaccess()
2459 checkmode |= VWRITE; in zfs_zaccess()
2530 downer, available_perms, VWRITE|VEXEC); in zfs_delete_final_check()
2649 available_perms = (dzp_working_mode & ACE_WRITE_DATA) ? 0 : VWRITE; in zfs_zaccess_delete()
/titanic_41/usr/src/uts/common/fs/namefs/
H A Dnamevfs.c420 VWRITE) != 0) { in nm_mount()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vnops.c406 cp->c_attr.va_uid, 0, VWRITE) != 0) { in cachefs_open()
3976 else if (vp->v_type == VDIR && (mode & VWRITE)) in cachefs_create_connected()
4125 else if (vp->v_type == VDIR && (mode & VWRITE)) in cachefs_create_disconnected()
4155 if (error = cachefs_access_local(dcp, VWRITE, cr)) { in cachefs_create_disconnected()
4368 error = cachefs_access_local(dcp, (VEXEC|VWRITE), cr); in cachefs_remove()
5048 if (error = cachefs_access_local(tdcp, (VEXEC|VWRITE), cr)) { in cachefs_link_disconnected()
5604 error = cachefs_access_local(odcp, (VEXEC|VWRITE), cr); in cachefs_rename_disconnected()
5609 error = cachefs_access_local(ndcp, (VEXEC|VWRITE), cr); in cachefs_rename_disconnected()
6059 if (error = cachefs_access_local(dcp, (VEXEC|VWRITE), cr)) { in cachefs_mkdir_disconnected()
6261 error = cachefs_access_local(dcp, (VEXEC|VWRITE), cr); in cachefs_rmdir()
[all …]
/titanic_41/usr/src/uts/common/fs/
H A Dxattr.c85 if ((np->xattr_view == XATTR_VIEW_READONLY) && (mode & VWRITE)) in xattr_file_access()
1035 if (mode & VWRITE) { in xattr_dir_access()
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c865 if ((mode & VWRITE) && (pcp->pc_entry.pcd_attr & PCA_RDONLY)) in pcfs_access()
873 if ((mode & VWRITE) && in pcfs_access()
1190 error = pcfs_access(sdvp, VWRITE, 0, cr, ct); in pcfs_rename()
/titanic_41/usr/src/uts/common/vm/
H A Dvm_swap.c749 error = VOP_ACCESS(vp, VREAD|VWRITE, 0, CRED(), NULL); in swapctl()
1044 error = VOP_ACCESS(vp, VREAD|VWRITE, 0, CRED(), NULL); in swapctl32()

123