/titanic_41/usr/src/uts/common/sys/fs/ |
H A D | dv_node.h | 134 ((attrp->va_mode & S_IAMB) == (mp.mp_mode & S_IAMB)))) 142 attr.va_mode = \ 143 (attr.va_mode & ~S_IAMB) | (mp.mp_mode & S_IAMB); 148 attrp->va_mode = \ 149 (attrp->va_mode & ~S_IAMB) | (mp.mp_mode & S_IAMB);
|
H A D | tmpnode.h | 108 #define tn_mode tn_attr.va_mode
|
/titanic_41/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vnops.c | 206 vap->va_mode &= (~rconsmask); in devfs_getattr() 258 map->va_mode &= S_IFMT; in devfs_setattr_dir() 259 map->va_mode |= vap->va_mode & ~S_IFMT; in devfs_setattr_dir() 325 if ((map->va_mode & S_IAMB) != (mp->mp_mode & S_IAMB)) in dv_setattr_cmp() 433 mp.mp_mode = dv_vattr_file.va_mode; in devfs_setattr() 487 map->va_mode &= S_IFMT; in devfs_setattr() 488 map->va_mode |= vap->va_mode & ~S_IFMT; in devfs_setattr() 531 dv->dv_name, vap->va_mode)); in devfs_setattr() 722 dv->dv_attr->va_mode << shift, mode)); in devfs_unlocked_access()
|
H A D | devfs_subr.c | 593 vap->va_mode &= ~S_IFMT; in dv_vattr_merge() 595 vap->va_mode |= S_IFCHR; in dv_vattr_merge() 597 vap->va_mode |= S_IFBLK; in dv_vattr_merge() 641 dv->dv_name, vap->va_mode)); in devfs_get_defattr() 644 vap->va_mode &= ~S_IAMB; in devfs_get_defattr() 645 vap->va_mode |= dv->dv_dflt_mode; in devfs_get_defattr() 647 dv->dv_name, vap->va_mode)); in devfs_get_defattr() 1556 attrp->va_gid, attrp->va_mode)); in dv_reset_perm_dir() 1563 old_mode = attrp->va_mode; in dv_reset_perm_dir() 1574 attrp->va_gid, attrp->va_mode, error)); in dv_reset_perm_dir()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | chmod.c | 61 vattr.va_mode = mode & MODEMASK; in fchmodat()
|
H A D | mkdir.c | 60 vattr.va_mode = dmode & PERMMASK; in mkdirat()
|
H A D | stat.c | 234 sb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat() 357 sb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat32() 465 lsb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat64() 584 lsb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat64_32()
|
H A D | mknod.c | 82 vattr.va_mode = fmode & MODEMASK; in mknodat()
|
H A D | symlink.c | 92 vattr.va_mode = 0777; in symlinkat()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_srv.c | 206 va.va_mode &= ~(VSUID | VSGID); in rfs_setattr() 517 if (MANDLOCK(vp, va.va_mode)) { in rfs_readlink() 738 if (MANDLOCK(vp, va.va_mode)) { in rfs_read() 988 if (MANDLOCK(vp, va.va_mode)) { in rfs_write_sync() 1443 if (!error && MANDLOCK(vp, va.va_mode)) in rfs_write() 1724 if ((va.va_mode & IFMT) == IFCHR) { in rfs_create() 1740 } else if ((va.va_mode & IFMT) == IFBLK) { in rfs_create() 1752 } else if ((va.va_mode & IFMT) == IFSOCK) { in rfs_create() 1757 va.va_mode &= ~IFMT; in rfs_create() 1787 mode = (at.va_mode & S_IWUSR) ? VWRITE : VREAD; in rfs_create() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | policy.c | 730 if (secpolicy_vnode_access2(cr, mvp, va.va_uid, va.va_mode, in secpolicy_fs_common() 1246 if ((vap->va_mode & (S_ISUID | S_ISGID)) != 0 && in secpolicy_setid_clear() 1248 (vap->va_mode & S_ISUID) != 0 && in secpolicy_setid_clear() 1251 vap->va_mode &= ~(S_ISUID|S_ISGID); in secpolicy_setid_clear() 1261 if ((vap->va_mode & S_ISUID) != 0 && in secpolicy_setid_setsticky_clear() 1271 if (vp->v_type != VDIR && (vap->va_mode & S_ISVTX) != 0 && in secpolicy_setid_setsticky_clear() 1273 vap->va_mode &= ~S_ISVTX; in secpolicy_setid_setsticky_clear() 1280 if ((vap->va_mode & S_ISGID) != 0 && in secpolicy_setid_setsticky_clear() 1282 vap->va_mode &= ~S_ISGID; in secpolicy_setid_setsticky_clear() 1428 vap->va_mode = ovap->va_mode; in secpolicy_vnode_setattr()
|
/titanic_41/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_ctl.c | 155 vap->va_mode = 0222; in ctfs_ctl_getattr() 168 vap->va_mode = 0444; in ctfs_stat_getattr()
|
H A D | ctfs_sym.c | 94 vap->va_mode = 0444; in ctfs_sym_getattr()
|
H A D | ctfs_event.c | 276 vap->va_mode = 0444; in ctfs_ev_getattr() 435 vap->va_mode = 0444; in ctfs_bu_getattr()
|
H A D | ctfs_latest.c | 164 vap->va_mode = 0444; in ctfs_latest_getattr()
|
H A D | ctfs_all.c | 85 vap->va_mode = 0555; in ctfs_adir_getattr()
|
H A D | ctfs_cdir.c | 108 vap->va_mode = 0555; in ctfs_cdir_getattr()
|
/titanic_41/usr/src/uts/common/fs/ |
H A D | nbmlock.c | 145 *svp = MANDLOCK(vp, va.va_mode); in nbl_svmand()
|
H A D | fs_subr.c | 564 aclentp->a_perm = ((ushort_t)(vattr.va_mode & 0700)) >> 6; in fs_fab_acl() 569 aclentp->a_perm = ((ushort_t)(vattr.va_mode & 0070)) >> 3; in fs_fab_acl() 574 aclentp->a_perm = vattr.va_mode & 0007; in fs_fab_acl() 582 VERIFY(0 == acl_trivial_create(vattr.va_mode, in fs_fab_acl()
|
/titanic_41/usr/src/uts/common/fs/namefs/ |
H A D | namevno.c | 255 nodep->nm_vattr.va_uid, nodep->nm_vattr.va_mode << shift, in nm_access_unlocked() 300 nmvap->va_mode = vap->va_mode & ~VSVTX; in nm_setattr()
|
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_nblk.c | 150 *svp = MANDLOCK(vp, va.va_mode); in nbl_svmand()
|
/titanic_41/usr/src/uts/common/fs/objfs/ |
H A D | objfs_odir.c | 72 vap->va_mode = S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | in objfs_odir_getattr()
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | nl7clogd.c | 331 attr.va_mode = 0777; in logd_log_write() 439 attr.va_mode = 0755; in nl7c_logd_init() 521 attr.va_mode = 0777; in nl7c_logd_init()
|
H A D | sockcommon_vnops.c | 302 vap->va_mode = 0; in socket_vop_getattr() 305 vap->va_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP| in socket_vop_getattr()
|
/titanic_41/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_fscache.c | 808 attrp->va_mode = S_IFDIR | 0777; in fscdir_create() 829 attrp->va_mode = S_IFREG | 0666; in fscdir_create() 867 attrp->va_mode = 0777; in fscdir_create() 879 attrp->va_mode = S_IFDIR | 0777; in fscdir_create()
|