Searched refs:S_ISUID (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dstat.h396 #define S_ISUID 0004000 /* [XSI] set user id on execution */ macro
465 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
H A Dfcntl.h310 #define S_ISUID 0004000 /* [XSI] set user id on execution */ macro
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dmain.c161 if ( my_stat_buf.st_uid != 0 || (my_stat_buf.st_mode & S_ISUID) == 0 ) {
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_readwrite.c551 if (cp->c_mode & (S_ISUID | S_ISGID)) {
558 cp->c_mode &= ~(S_ISUID | S_ISGID);
3040 (cp->c_mode & (S_ISUID | S_ISGID)) &&
3043 cp->c_mode &= ~(S_ISUID | S_ISGID);
H A Dhfs_attrlist.c697 cap->ca_mode & ~(S_ISUID | S_ISGID) : cap->ca_mode;
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/
H A Dsynthfs_vnops.c355 if (ouid != uid && suser(cred, NULL)) sp->s_mode &= ~S_ISUID;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_subr.c5902 if ((vap->va_mode & S_ISUID) && (vap->va_uid != kauth_cred_getuid(cred))) {
6167 if (vap->va_mode & S_ISUID) {
6379 if (newmode & (S_ISUID | S_ISGID)) {
6380 VATTR_SET(vap, va_mode, newmode & ~(S_ISUID | S_ISGID));

Completed in 113 milliseconds