Age | Commit message (Collapse) | Author |
|
|
|
unlinked.
|
|
|
|
unlinked.
|
|
to MACH_MSG_TYPE_COPY_SEND.
|
|
because it consumes a reference, which will be consumed again by
mach_msg_server if we return an error. So use COPY_SEND instead, and
deallocate the rights ourselves only when we are to return success.
|
|
translator if ACTIVE_FLAGS will change it. If the existing active
translator is provided then don't do anything.
|
|
|
|
caller doesn't have access to.
|
|
|
|
|
|
|
|
functions.
|
|
|
|
|
|
|
|
(CHANGE_NODE_FIELD): Remove trailing space on backslashed line.
|
|
(diskfs_idhasgid): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
possibly changing it.
|
|
|
|
(struct protid): Replace UIDS, GIDS, NUIDS, and NGIDS with ID.
(diskfs_isuid): Replace with new function diskfs_idhasuid.
(diskfs_groupmember): Replace with new function diskfs_idhasgid.
(_diskfs_idisowner, _diskfs_idaccess, _diskfs_idcheckdirmod): New functions.
(diskfs_isowner): Check each ID in the chain with _diskfs_idisowner.
(diskfs_access): Check each ID in the chain with _diskfs_idaccess.
(diskfs_checkdirmod): Check each ID in the chain with _diskfs_idcheckdirmod.
|
|
chain.
|
|
chain.
|
|
in the chain.
|
|
appropriate.
|