Searched refs:vattrp (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/fs/namefs/ |
H A D | namevfs.c | 315 struct vattr *vattrp; /* attributes of this mount */ in nm_mount() local 400 vattrp = &nodep->nm_vattr; in nm_mount() 401 vattrp->va_mask = AT_ALL; in nm_mount() 402 if (error = VOP_GETATTR(mvp, vattrp, 0, crp, NULL)) in nm_mount() 412 if (error = secpolicy_vnode_owner(crp, vattrp->va_uid)) in nm_mount() 419 if (secpolicy_vnode_access2(crp, mvp, vattrp->va_uid, vattrp->va_mode, in nm_mount() 458 vattrp->va_type = filevattr.va_type; in nm_mount() 459 vattrp->va_fsid = namedev; in nm_mount() 460 vattrp->va_nodeid = namenodeno_alloc(); in nm_mount() 461 vattrp->va_nlink = 1; in nm_mount() [all …]
|
/titanic_50/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 351 struct vattr *vattrp = NULL; in devfs_setattr() local 410 vattrp = kmem_zalloc(sizeof (*vattrp), KM_SLEEP); in devfs_setattr() 454 free_vattr = vattrp; in devfs_setattr() 455 vattrp = NULL; in devfs_setattr() 459 *vattrp = dv_vattr_file; in devfs_setattr() 460 error = VOP_GETATTR(dv->dv_attrvp, vattrp, 0, cr, ct); in devfs_setattr() 464 dv->dv_attr = vattrp; in devfs_setattr() 466 vattrp = NULL; in devfs_setattr() 568 vattrp = dv->dv_attr; in devfs_setattr() 578 if (vattrp) in devfs_setattr() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | exec.c | 999 execsetid(struct vnode *vp, struct vattr *vattrp, uid_t *uidp, uid_t *gidp, in execsetid() argument 1028 if (vattrp->va_mode & VSUID) { in execsetid() 1029 if (vattrp->va_uid == 0) { in execsetid() 1036 uid = vattrp->va_uid; in execsetid() 1047 uid = vattrp->va_uid; in execsetid() 1051 if (vattrp->va_mode & VSGID) { in execsetid() 1052 gid = vattrp->va_gid; in execsetid() 1102 execpermissions(struct vnode *vp, struct vattr *vattrp, struct uarg *args) in execpermissions() argument 1107 vattrp->va_mask = AT_MODE | AT_UID | AT_GID | AT_SIZE; in execpermissions() 1108 if (error = VOP_GETATTR(vp, vattrp, ATTR_EXEC, p->p_cred, NULL)) in execpermissions() [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | exec.h | 222 extern int execpermissions(struct vnode *vp, struct vattr *vattrp,
|