/titanic_44/usr/src/uts/common/fs/dev/ |
H A D | sdev_vnops.c | 683 } 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 D | sdev_ptsops.c | 345 else if (vp->v_type == VDIR && (mode & VWRITE)) in devpts_create()
|
H A D | sdev_vtops.c | 469 else if (vp->v_type == VDIR && (mode & VWRITE)) in devvt_create()
|
/titanic_44/usr/src/uts/common/fs/objfs/ |
H A D | objfs_common.c | 67 if (mode & VWRITE) in objfs_dir_access()
|
H A D | objfs_data.c | 487 if (mode & (VWRITE|VEXEC)) in objfs_data_access()
|
/titanic_44/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_subr.c | 85 tmp_taccess(entry, VWRITE, cr) != 0)) in tmp_sticky_remove_access()
|
H A D | tmp_dir.c | 371 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 D | tmp_vnops.c | 869 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_44/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_root.c | 437 if (mode & VWRITE) in ctfs_access_dir() 455 if (mode & (VWRITE | VEXEC)) in ctfs_access_readonly()
|
H A D | ctfs_latest.c | 107 if (mode & (VEXEC | VWRITE)) in ctfs_latest_access()
|
H A D | ctfs_ctl.c | 121 return (ctfs_ctl_access(*vpp, VWRITE, 0, cr, ct)); in ctfs_ctl_open()
|
H A D | ctfs_event.c | 205 if (mode & (VWRITE | VEXEC)) in ctfs_ev_access()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | policy.c | 731 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 D | priv.c | 191 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 D | core.c | 161 else if ((error = VOP_ACCESS(vp, VWRITE, 0, CRED(), NULL)) == 0) { in remove_core_file()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 1187 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_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs_acl_srv.c | 340 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 D | nfs_srv.c | 974 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_44/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vnops.c | 209 if (mode & (VWRITE|VEXEC)) in sharefs_access()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zfs_acl.c | 2417 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_44/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 420 VWRITE) != 0) { in nm_mount()
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_vnops.c | 406 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_44/usr/src/uts/common/fs/ |
H A D | xattr.c | 85 if ((np->xattr_view == XATTR_VIEW_READONLY) && (mode & VWRITE)) in xattr_file_access() 1035 if (mode & VWRITE) { in xattr_dir_access()
|
/titanic_44/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 865 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_44/usr/src/uts/common/vm/ |
H A D | vm_swap.c | 749 error = VOP_ACCESS(vp, VREAD|VWRITE, 0, CRED(), NULL); in swapctl() 1044 error = VOP_ACCESS(vp, VREAD|VWRITE, 0, CRED(), NULL); in swapctl32()
|