Searched refs:S_ISUID (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/libsyscall/wrappers/unix03/ |
H A D | chmod.c | 35 * chmod stub, ignore S_ISUID and/or S_ISGID on EPERM, 45 if (res >= 0 || errno != EPERM || (mode & (S_ISUID | S_ISGID)) == 0) 52 if (mode & S_ISUID) { 53 res = __chmod(path, mode ^ S_ISUID); 57 if ((mode & (S_ISUID | S_ISGID)) == (S_ISUID | S_ISGID)) 58 res = __chmod(path, mode ^ (S_ISUID | S_ISGID));
|
H A D | fchmod.c | 35 * fchmod stub, ignore S_ISUID and/or S_ISGID on EPERM, 45 if (res >= 0 || errno != EPERM || (mode & (S_ISUID | S_ISGID)) == 0) 52 if (mode & S_ISUID) { 53 res = __fchmod(fd, mode ^ S_ISUID); 57 if ((mode & (S_ISUID | S_ISGID)) == (S_ISUID | S_ISGID)) 58 res = __fchmod(fd, mode ^ (S_ISUID | S_ISGID));
|
/darwin-on-arm/xnu/bsd/sys/_types/ |
H A D | _s_ifmt.h | 64 #define S_ISUID 0004000 /* [XSI] set user id on execution */ macro
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | stat.h | 466 #define S_ISUID 0004000 /* [XSI] set user id on execution */ macro 534 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
H A D | fcntl.h | 383 #define S_ISUID 0004000 /* [XSI] set user id on execution */ macro
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | main.c | 191 if ( my_stat_buf.st_uid != 0 || (my_stat_buf.st_mode & S_ISUID) == 0 ) {
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_readwrite.c | 759 if (cp->c_mode & (S_ISUID | S_ISGID)) { 766 cp->c_mode &= ~(S_ISUID | S_ISGID); 3114 if (cp->c_mode & (S_ISUID | S_ISGID)) { 3116 cp->c_mode &= ~(S_ISUID | S_ISGID); 4264 if ((cp->c_mode & (S_ISUID | S_ISGID)) && 4267 cp->c_mode &= ~(S_ISUID | S_ISGID);
|
H A D | hfs_attrlist.c | 732 cap->ca_mode & ~(S_ISUID | S_ISGID) : cap->ca_mode;
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 7195 if ((vap->va_mode & S_ISUID) && (vap->va_uid != kauth_cred_getuid(cred))) { 7479 if (vap->va_mode & S_ISUID) { 7731 if (newmode & (S_ISUID | S_ISGID)) { 7732 VATTR_SET(vap, va_mode, newmode & ~(S_ISUID | S_ISGID));
|
Completed in 117 milliseconds