Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c687 (mode & VWRITE)) { in sdev_create()
713 } else if ((vp->v_type == VDIR) && (mode & VWRITE)) { in sdev_create()
749 if ((error = VOP_ACCESS(dvp, VEXEC|VWRITE, 0, cred, ct)) != 0) { in sdev_create()
842 if ((error = sdev_self_access(parent, VWRITE, 0, cred, ct)) != 0) { in sdev_remove()
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()
1197 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) in sdev_symlink()
1270 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) { in sdev_mkdir()
1331 if ((error = VOP_ACCESS(dvp, VEXEC|VWRITE, 0, cred, ct)) != 0) in sdev_rmdir()
H A Dsdev_ptsops.c340 else if (vp->v_type == VDIR && (mode & VWRITE)) in devpts_create()
H A Dsdev_vtops.c464 else if (vp->v_type == VDIR && (mode & VWRITE)) in devvt_create()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_common.c65 if (mode & VWRITE) in objfs_dir_access()
H A Dobjfs_data.c485 if (mode & (VWRITE|VEXEC)) in objfs_data_access()
/illumos-gate/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.c105 if (mode & (VEXEC | VWRITE)) in ctfs_latest_access()
H A Dctfs_ctl.c119 return (ctfs_ctl_access(*vpp, VWRITE, 0, cr, ct)); in ctfs_ctl_open()
H A Dctfs_event.c204 if (mode & (VWRITE | VEXEC)) in ctfs_ev_access()
/illumos-gate/usr/src/uts/common/os/
H A Dpolicy.c747 VWRITE) != 0) { in secpolicy_fs_common()
969 if (mode & VWRITE) { in secpolicy_vnode_access()
1014 if ((wantmode & VWRITE) && in secpolicy_vnode_access2()
1032 if (mode & VWRITE) { in secpolicy_vnode_access2()
1466 error = unlocked_access(node, VWRITE, cr); in secpolicy_vnode_setattr()
1546 error = unlocked_access(node, VWRITE, cr); in secpolicy_vnode_setattr()
1743 if ((mode & VWRITE) && scr->cr_uid != 0 && in secpolicy_proc_owner()
H A Dpriv.c190 if (priv_proc_cred_perm(cr, p, &oldcred, VWRITE) != 0) { in priv_pr_spriv()
602 if (!(mode & VWRITE)) { in priv_proc_cred_perm()
H A Dcore.c162 else if ((error = VOP_ACCESS(vp, VWRITE, 0, CRED(), NULL)) == 0) { in remove_core_file()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c95 tmp_taccess(entry, VWRITE, cr) != 0)) in tmp_sticky_remove_access()
H A Dtmp_dir.c431 if (error = tmp_taccess(dir, VWRITE, cred)) in tdirenter()
517 if (error = tmp_taccess(dir, VEXEC|VWRITE, cred)) in tdirdelete()
828 if ((error = tmp_taccess(toparent, VWRITE, cred)) != 0 || in tdirrename()
H A Dtmp_vnops.c871 if ((error = tmp_taccess(tp, VWRITE, cred)) != 0) { in tmp_lookup()
1004 else if ((oldtp->tn_type == VDIR) && (mode & VWRITE)) in tmp_create()
1219 if (((error = tmp_taccess(fromparent, VWRITE, cred)) != 0) || in tmp_rename()
1242 error = tmp_taccess(toparent, VEXEC|VWRITE, cred); in tmp_rename()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_open.c122 mode |= VWRITE; in vn_open()
/illumos-gate/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.c1104 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()
1903 mode = VWRITE; in rfs_create()
1914 mode = (at.va_mode & S_IWUSR) ? VWRITE : VREAD; in rfs_create()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c214 if (mode & (VWRITE|VEXEC)) in sharefs_access()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c1893 if ((mode & VWRITE) && in smbfs_access_rwx()
1902 if ((mode & (VWRITE | VREAD | VEXEC)) && in smbfs_access_rwx()
2677 error = smbfs_access(dvp, VWRITE, 0, cr, ct); in smbfs_create()
2780 error = smbfs_access(dvp, VWRITE|VEXEC, 0, cr, ct); in smbfs_remove()
3010 error = smbfs_access(odvp, VWRITE|VEXEC, 0, cr, ct); in smbfs_rename()
3014 error = smbfs_access(ndvp, VWRITE, 0, cr, ct); in smbfs_rename()
3240 error = smbfs_access(dvp, VWRITE, 0, cr, ct); in smbfs_mkdir()
3298 error = smbfs_access(dvp, VWRITE|VEXEC, 0, cr, ct); in smbfs_rmdir()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c1808 access |= VWRITE; in smb_fsop_access()
2770 if (access & VWRITE) in smb_fsop_eaccess()
2774 if (access & (VREAD | VWRITE)) in smb_fsop_eaccess()
2779 if (access & VWRITE) in smb_fsop_eaccess()
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevfs.c447 VWRITE) != 0) { in nm_mount()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c866 if ((mode & VWRITE) && (pcp->pc_entry.pcd_attr & PCA_RDONLY)) in pcfs_access()
874 if ((mode & VWRITE) && in pcfs_access()
1191 error = pcfs_access(sdvp, VWRITE, 0, cr, ct); in pcfs_rename()
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c156 if ((np->xattr_view == XATTR_VIEW_READONLY) && (mode & VWRITE)) in xattr_file_access()
1173 if (mode & VWRITE) { in xattr_dir_access()
/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()

123