Lines Matching refs:SETID
71 #define SETID 06000 /* set[ug]id */
217 perms_msk |= SETID;
267 if (scheck == 1 && (perms_msk & GROUP & SETID)
268 == (GROUP & SETID)) {
365 perms_msk &= ~(GROUP & SETID);
376 (new_mode & who_msk & (SETID | EXEC)) ==
377 (who_msk & (SETID | EXEC)) &&
386 if ((perms_msk & USER & SETID) !=
387 (USER & SETID) && (new_mode &
388 USER & (SETID | EXEC)) ==
390 (SETID | EXEC))) {
391 perms_msk |= USER & SETID;
393 if ((perms_msk & GROUP & SETID) !=
394 (GROUP & SETID) &&
396 (SETID | EXEC)) ==
398 (SETID | EXEC))) {
399 perms_msk |= GROUP & SETID;