NULL, /* close_hook */
};
-static /*@observer@*/ /*@null*/const struct subordinate_range *subordinate_next(struct commonio_db *db)
-{
- return (const struct subordinate_range *)commonio_next (db);
-}
-
/*
* range_exists: Check whether @owner owns any ranges
*
* subuid @val.
*
* @db: database to query
- * @owner: owning uid being queuried
+ * @owner: owning uid being queried
* @val: subuid being searched for.
*
* Returns a range of subuids belonging to @owner and including the subuid
/*
* Search loop above did not produce any result. Let's rerun it,
- * but this time try to matcha actual UIDs. The first entry that
+ * but this time try to match actual UIDs. The first entry that
* matches is considered a success.
* (It may be specified as literal UID or as another username which
* has the same UID as the username we are looking for.)
* @start: the first uid in the owned range
* @count: the number of uids in the range
*
- * Return 1 if the range is already present or on succcess. On error
+ * Return 1 if the range is already present or on success. On error
* return 0 and set errno appropriately.
*/
static int add_range(struct commonio_db *db,
false, /* changed */
false, /* isopen */
false, /* locked */
- false /* readonly */
+ false, /* readonly */
+ false /* setname */
};
int sub_uid_setdbname (const char *filename)
false, /* changed */
false, /* isopen */
false, /* locked */
- false /* readonly */
+ false, /* readonly */
+ false /* setname */
};
int sub_gid_setdbname (const char *filename)