Lines Matching defs:owner
1540 * if you are the owner of drain/termination, can acquire usecount
4310 * if you are the owner of drain/suspend/termination , can acquire iocount
4311 * check for VL_TERMINATE; it does not set owner
5799 /* default assumption is not-owner */
5808 /* we could test the owner UUID here if we had a policy for it */
5819 * vap->va_gid group owner of vnode object
6048 /* owner permissions */
6098 /* Not owner; if group and world both grant it we're done */
6110 ismember = 0; /* Default to allow, if the target has no group owner */
6136 /* Not owner, not in group, use world result */
6173 * not owner of the node or directory.
6329 * If we are the file owner, we automatically have some rights.
6340 * granted to the owner. We need to do this because at this point
6342 * the owner.
6411 * We grant WRITE_ATTRIBUTES to the owner if it hasn't been denied.
7079 * If the filesystem is mounted IGNORE_OWNERSHIP and an explicit owner is set, that
7080 * owner takes ownership of all new files.
7087 /* default owner is current user */
7218 /* initialising owner/group UUID */
7226 KAUTH_DEBUG(" ERROR - cannot create item with supplied owner UUID - not us");
7276 uid_t owner;
7406 * The owner and root may set any timestamps they like,
7407 * provided that the file is not immutable. The owner still needs
7411 KAUTH_DEBUG("ATTR - root or owner changing timestamps");
7416 KAUTH_DEBUG("ATTR - non-root/owner changing timestamps, requiring WRITE_ATTRIBUTES");
7477 * Can't set the setuid bit unless you're root or the file's owner.
7483 owner = vap->va_uid;
7485 owner = ova.va_uid;
7491 if (owner != kauth_cred_getuid(cred)) {
7614 /* if the owner UUID is not actually changing ... */
7620 * If the current owner UUID is a null GUID, check
7621 * it against the UUID corresponding to the owner UID.
7634 * The owner UUID cannot be set by a non-superuser to anything other than
7635 * their own or a null GUID (to "unset" the owner UUID).
7648 KAUTH_DEBUG(" ERROR - cannot set supplied owner UUID - not us / null");
7710 KAUTH_DEBUG("ATTR - superuser changing file owner/group, requiring immutability check");
7728 KAUTH_DEBUG("CHOWN - trying to change owner but cannot get mode from filesystem to mask setugid bits");
7994 * because we are the owner of the file.