Searched refs:tn_mode (Results 1 – 6 of 6) sorted by relevance
62 tp->tn_mode << shift, mode)); in tmp_taccess()81 if ((dir->tn_mode & S_ISVTX) && in tmp_sticky_remove_access()
143 if (MANDLOCK(vp, tp->tn_mode)) { in wrtmp()411 if ((tp->tn_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) && in wrtmp()412 (tp->tn_mode & (S_ISUID | S_ISGID)) && in wrtmp()414 (tp->tn_mode & S_ISUID) != 0 && tp->tn_uid == 0)) { in wrtmp()423 tp->tn_mode &= ~(S_ISUID | S_ISGID); in wrtmp()471 if (MANDLOCK(vp, tp->tn_mode)) { in rdtmp()697 vap->va_mode = tp->tn_mode & MODEMASK; in tmp_getattr()884 xdp->tn_mode = tp->tn_attr.va_mode; in tmp_lookup()886 xdp->tn_mode = 0700; in tmp_lookup()888 xdp->tn_mode |= 0750; in tmp_lookup()[all …]
1066 if (dir->tn_mode & VSGID) in tdirmaketnode()1077 if (dir->tn_mode & VSGID && type == VDIR) in tdirmaketnode()1078 tp->tn_mode |= VSGID; in tdirmaketnode()1080 if ((tp->tn_mode & VSGID) && in tdirmaketnode()1082 tp->tn_mode &= ~VSGID; in tdirmaketnode()
348 tp->tn_mode = rattr.va_mode; in tmp_mount()667 if ((tp->tn_mode & S_ISVTX) && in tmp_vget()668 !(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