Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c62 tp->tn_mode << shift, mode)); in tmp_taccess()
81 if ((dir->tn_mode & S_ISVTX) && in tmp_sticky_remove_access()
H A Dtmp_vnops.c143 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 …]
H A Dtmp_dir.c1066 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()
H A Dtmp_vfsops.c348 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()
H A Dtmp_tnode.c169 t->tn_mode = MAKEIMODE(vap->va_type, vap->va_mode); in tmpnode_init()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dtmpnode.h108 #define tn_mode tn_attr.va_mode macro