Searched refs:tn_mode (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c62 tp->tn_mode << shift, mode));
81 if ((dir->tn_mode & S_ISVTX) &&
H A Dtmp_vnops.c144 if (MANDLOCK(vp, tp->tn_mode)) {
412 if ((tp->tn_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) &&
413 (tp->tn_mode & (S_ISUID | S_ISGID)) &&
415 (tp->tn_mode & S_ISUID) != 0 && tp->tn_uid == 0)) {
424 tp->tn_mode &= ~(S_ISUID | S_ISGID);
472 if (MANDLOCK(vp, tp->tn_mode)) {
698 vap->va_mode = tp->tn_mode & MODEMASK;
885 xdp->tn_mode = tp->tn_attr.va_mode;
887 xdp->tn_mode = 0700;
889 xdp->tn_mode |
[all...]
H A Dtmp_dir.c1066 if (dir->tn_mode & VSGID)
1077 if (dir->tn_mode & VSGID && type == VDIR)
1078 tp->tn_mode |= VSGID;
1080 if ((tp->tn_mode & VSGID) &&
1082 tp->tn_mode &= ~VSGID;
H A Dtmp_vfsops.c364 tp->tn_mode = rattr.va_mode;
683 if ((tp->tn_mode & S_ISVTX) &&
684 !(tp->tn_mode & (S_IXUSR | S_IFDIR))) {
H A Dtmp_tnode.c169 t->tn_mode = MAKEIMODE(vap->va_type, vap->va_mode);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dtmpnode.h47 * tn_tlock protects updates to tn_mode and tn_nlink
108 #define tn_mode tn_attr.va_mode macro

Completed in 50 milliseconds