Lines Matching defs:GROUP
64 #define GROUP 02070 /* group's bits */
75 #define GROUP_RWX (GROUP & (READ | WRITE | EXEC))
126 * who_msk contains USER|GROUP|OTHER information
180 perms_msk = (new_mode & GROUP) >> 3;
240 (perms_msk & GROUP & EXEC) ==
241 (GROUP & EXEC)) {
254 if (((new_mode & GROUP &
267 if (scheck == 1 && (perms_msk & GROUP & SETID)
268 == (GROUP & SETID)) {
271 ((perms_msk & GROUP & EXEC) ==
272 (GROUP & EXEC)) &&
285 if (((new_mode & GROUP &
304 who_msk & EXEC & (USER | GROUP)) !=
305 (who_msk & EXEC & (USER | GROUP))) {
324 if ((new_mode & GROUP & EXEC) ==
325 (GROUP & EXEC) &&
354 (new_mode & GROUP & (LOCK | EXEC)) !=
363 (new_mode & GROUP & (LOCK | EXEC)) ==
365 perms_msk &= ~(GROUP & SETID);
374 ((who_msk & GROUP) == GROUP ||
393 if ((perms_msk & GROUP & SETID) !=
394 (GROUP & SETID) &&
395 (new_mode & GROUP &
397 (who_msk & GROUP &
399 perms_msk |= GROUP & SETID;
420 if ((perms_msk & GROUP & EXEC) ==
421 (GROUP & EXEC) &&
433 if ((who_msk & GROUP) != GROUP) {
434 new_mode &= ~(GROUP & EXEC);
444 (perms_msk & EXEC & (USER | GROUP)) !=
445 (who_msk & EXEC & (USER | GROUP)) &&
525 m |= GROUP;