VWRITE
vmode |= VWRITE;
acc_mode |= VWRITE;
error = VOP_EACCESS(vp, VWRITE, p->p_ucred);
if (mode & VWRITE) {
if ((mode & VWRITE) && (ino_flags & IMMUTABLE))
if (mode & VWRITE)
if (mode & VWRITE)
if (mode & VWRITE)
if (mode & VWRITE)
if (acc_mode & VWRITE)
if (acc_mode & VWRITE)
if (acc_mode & VWRITE)
mode |= VWRITE;
if ((mode & VWRITE) == 0 ||
mode |= VWRITE;
#define DEVFS_DEFAULT_MODE ((VREAD|VWRITE|VEXEC) | ((VREAD|VEXEC)>>3) | \
if ((ap->a_mode & VWRITE) && (vp->v_mount->mnt_flag & MNT_RDONLY)) {
if ((error = VOP_ACCESS(vdp, VWRITE, cred)) != 0)
if ((error = VOP_ACCESS(vdp, VWRITE, cred)) != 0)
if ((error = VOP_ACCESS(vdp, VWRITE, cred)) != 0)
error = VOP_EACCESS(devvp, VREAD | VWRITE, cred);
accmode |= VWRITE;
(error = VOP_EACCESS(vp, VWRITE, cred))))
error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred);
error = VOP_ACCESS(devvp, VREAD | VWRITE, cred);
if ((mode & VWRITE) && (vp->v_mount->mnt_flag & MNT_RDONLY))
if (mode & VWRITE)
error = VOP_EACCESS(dvp, VWRITE, cred);
(error = VOP_EACCESS(vp, VWRITE, cred))))
error = VOP_EACCESS(vdp, VWRITE, cnp->cn_cred);
error = VOP_EACCESS(vdp, VWRITE, cnp->cn_cred);
error = VOP_EACCESS(vdp, VWRITE, cnp->cn_cred);
error = VOP_EACCESS(devvp, VREAD | VWRITE,
accessmode |= VWRITE;
error = VOP_EACCESS(fvp, VWRITE, tcnp->cn_cred);
ndirent.de_Attributes = (ap->a_vap->va_mode & VWRITE) ?
(error = VOP_EACCESS(vp, VWRITE, cred))))
if (vap->va_mode & VWRITE)
error = nfsrv_access(mp, vp, VWRITE, cred, rdonly, td, 1);
error = nfsrv_access(mp, vp, VWRITE, cred, rdonly, td, 1);
error = nfsrv_access(mp, vp, VWRITE, cred,
nfsrv_access(mp, vp, VWRITE, cred, rdonly, td, 0))
if (flags & VWRITE) {
} else if ((error = nfsrv_access(mp, vp, VWRITE, cred, rdonly,
if ((ap->a_mode & VWRITE) && (vp->v_mount->mnt_flag & MNT_RDONLY)) {
if (ap->a_mode & VWRITE)
if (ap->a_mode & VWRITE)
if ((ap->a_mode & VWRITE) &&
if (mode & VWRITE) {
if (mode & VWRITE)
if (mode & VWRITE)
if (mode & VWRITE)
pfs->pfs_mode = (VREAD|VWRITE);
pfs->pfs_mode = (VREAD|VWRITE);
pfs->pfs_mode = (VWRITE);
vap->va_mode &= ~((VREAD|VWRITE)|
((VREAD|VWRITE)>>3)|
((VREAD|VWRITE)>>6));
error = VOP_EACCESS(dvp, VWRITE, cnp->cn_cred);
error = VOP_EACCESS(dvp, VWRITE, cnp->cn_cred);
error = VOP_EACCESS(dvp, VWRITE, cnp->cn_cred);
(error = VOP_EACCESS(vp, VWRITE, ap->a_cred))))
mode_t root_mode = (VREAD | VWRITE);
root_mode |= VWRITE;
if ((ap->a_mode & VWRITE) &&
if ((ap->a_mode & VWRITE) && (node->tn_flags & IMMUTABLE)) {
if ((error = VOP_EACCESS(devvp, VREAD | VWRITE,
accessmode |= VWRITE;
error = VOP_EACCESS(vdp, VWRITE, cred);
error = VOP_EACCESS(vdp, VWRITE, cred);
if ((error = VOP_EACCESS(vdp, VWRITE, cred)) != 0)
if (ap->a_mode & VWRITE) {
(error = VOP_EACCESS(vp, VWRITE, cred))))
error = VOP_EACCESS(fvp, VWRITE, tcnp->cn_cred);