Searched refs:S_ISGID (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) 47 if (mode & S_ISGID) { 48 res = __chmod(path, mode ^ S_ISGID); 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) 47 if (mode & S_ISGID) { 48 res = __fchmod(fd, mode ^ S_ISGID); 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 | 65 #define S_ISGID 0002000 /* [XSI] set group id on execution */ macro
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | stat.h | 467 #define S_ISGID 0002000 /* [XSI] set group id on execution */ macro 534 #define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
|
H A D | fcntl.h | 384 #define S_ISGID 0002000 /* [XSI] set group id on execution */ macro
|
/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 | 7182 if (vap->va_mode & S_ISGID) { 7448 if (vap->va_mode & S_ISGID) { 7731 if (newmode & (S_ISUID | S_ISGID)) { 7732 VATTR_SET(vap, va_mode, newmode & ~(S_ISUID | S_ISGID));
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_serv.c | 3597 * We don't support the S_ISGID bit for directories. Solaris and other 3602 vap->va_mode &= ~S_ISGID;
|
Completed in 113 milliseconds