|
(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.
|