• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/vfs/

Lines Matching refs:group

4743 	/* the caller is expected to have asked the filesystem for a group at some point */
4747 /* we could test the group UUID here if we had a policy for it */
4886 /* group permissions */
4926 /* Not owner; if group and world both grant it we're done */
4928 _SETWHERE("group/world");
4932 _SETWHERE("group/world");
4937 /* Check group membership (most expensive) */
4947 _SETWHERE("group");
4953 /* Not owner, not in group, use world result */
5117 * Do we need to expand this to support group ownership?
5802 * group takes ownership of all new files.
5809 /* default group comes from parent object, fallback to current user */
5919 KAUTH_DEBUG(" DENIED - cannot create new item with group %d - not a member", vap->va_gid);
5925 /* initialising owner/group UUID */
5940 KAUTH_DEBUG(" ERROR - got %d trying to check group membership", error);
5944 KAUTH_DEBUG(" ERROR - cannot create item with supplied group UUID - not a member");
5971 gid_t group;
6133 * Can't set the setgid bit if you're not in the group and not root. Have to have
6134 * existing group information in the case we're not setting it right now.
6140 group = vap->va_gid;
6142 group = ova.va_gid;
6152 if ((error = kauth_cred_ismember_gid(cred, group, &ismember)) != 0) {
6157 KAUTH_DEBUG(" DENIED - can't set SGID bit, not a member of %d", group);
6287 KAUTH_DEBUG(" DENIED - group change from %d to %d but not a member of target group",
6330 /* if the group UUID is not actually changing ... */
6335 * The group UUID cannot be set by a non-superuser to anything other than
6340 KAUTH_DEBUG(" ERROR - got %d trying to check group membership", error);
6344 KAUTH_DEBUG(" ERROR - cannot create item with supplied group UUID - not a member");
6354 * Compute authorisation for group/ownership changes.
6358 KAUTH_DEBUG("ATTR - superuser changing file owner/group, requiring immutability check");
6366 KAUTH_DEBUG("ATTR - group change, requiring WRITE_SECURITY");