Searched refs:tn_mode (Results 1 – 6 of 6) sorted by relevance
73 tp->tn_mode << shift, mode)); in tmp_taccess()91 if ((dir->tn_mode & S_ISVTX) && in tmp_sticky_remove_access()
145 if (MANDLOCK(vp, tp->tn_mode)) { in wrtmp()413 if ((tp->tn_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) && in wrtmp()414 (tp->tn_mode & (S_ISUID | S_ISGID)) && in wrtmp()416 (tp->tn_mode & S_ISUID) != 0 && tp->tn_uid == 0)) { in wrtmp()425 tp->tn_mode &= ~(S_ISUID | S_ISGID); in wrtmp()473 if (MANDLOCK(vp, tp->tn_mode)) { in rdtmp()699 vap->va_mode = tp->tn_mode & MODEMASK; in tmp_getattr()886 xdp->tn_mode = tp->tn_attr.va_mode; in tmp_lookup()888 xdp->tn_mode = 0700; in tmp_lookup()890 xdp->tn_mode |= 0750; in tmp_lookup()[all …]
1126 if (dir->tn_mode & VSGID) in tdirmaketnode()1137 if (dir->tn_mode & VSGID && type == VDIR) in tdirmaketnode()1138 tp->tn_mode |= VSGID; in tdirmaketnode()1140 if ((tp->tn_mode & VSGID) && in tdirmaketnode()1142 tp->tn_mode &= ~VSGID; in tdirmaketnode()
380 tp->tn_mode = rattr.va_mode; in tmp_mount()700 if ((tp->tn_mode & S_ISVTX) && in tmp_vget()701 !(tp->tn_mode & (S_IXUSR | S_IFDIR))) { in tmp_vget()
169 t->tn_mode = MAKEIMODE(vap->va_type, vap->va_mode); in tmpnode_init()
108 #define tn_mode tn_attr.va_mode macro