Lines Matching defs:uid
71 #define NEED_DEF_UID 020 /* need default uid */
117 uid_t low; /* low bound for this uid block */
118 uid_t high; /* high bound for this uid block */
143 * uid. Each uid_blk represent a range of uid(s) that are currently
336 passwd_st.pw_uid = -1; /* no uid */
469 /* The uid */
512 /* Override unique uid */
769 /* Default uid needed ? */
775 /* create the head of the uid number list */
841 * Set up the uid usage blocks to find the first
842 * available uid above UID_MIN, if needed
977 /* First available uid above UID_MIN is ... */
1433 * the used uids. Each uid_blk represents a range of used uid,
1438 * Each time we read in another used uid, we add it onto the linked
1442 * building this linked list, the first available uid above or
1446 /* add_uid() adds uid to the link list of used uids */
1448 add_uid(uid_t uid)
1453 if (uid >= UID_MIN) {
1460 if (uid >= uid_p->link->low)
1463 else if (uid >= uid_p->low &&
1464 uid <= uid_p->high) {
1468 else if (uid == (uid_p->high+1)) {
1477 else if (uid == (uid_p->link->low - 1)) {
1482 else if (uid < uid_p->link->low) {
1483 add_ublk(uid, uid_p);
1490 if (uid == (uid_p->high + 1)) {
1493 } else if (uid >= uid_p->low &&
1494 uid <= uid_p->high) {
1497 add_ublk(uid, uid_p);
1503 } /* if uid */
1519 %s -a [-c comment] [-h homedir] [-u uid [-o]] [-g gid] \n\
1521 %s -m -c comment | -h homedir | -u uid [-o] | -g gid |\n\