Lines Matching refs:SETID
69 #define SETID 06000 /* set[ug]id */ macro
215 perms_msk |= SETID; in newmode_common()
265 if (scheck == 1 && (perms_msk & GROUP & SETID) in newmode_common()
266 == (GROUP & SETID)) { in newmode_common()
363 perms_msk &= ~(GROUP & SETID); in newmode_common()
374 (new_mode & who_msk & (SETID | EXEC)) == in newmode_common()
375 (who_msk & (SETID | EXEC)) && in newmode_common()
384 if ((perms_msk & USER & SETID) != in newmode_common()
385 (USER & SETID) && (new_mode & in newmode_common()
386 USER & (SETID | EXEC)) == in newmode_common()
388 (SETID | EXEC))) { in newmode_common()
389 perms_msk |= USER & SETID; in newmode_common()
391 if ((perms_msk & GROUP & SETID) != in newmode_common()
392 (GROUP & SETID) && in newmode_common()
394 (SETID | EXEC)) == in newmode_common()
396 (SETID | EXEC))) { in newmode_common()
397 perms_msk |= GROUP & SETID; in newmode_common()