Home
last modified time | relevance | path

Searched refs:MAXUID (Results 1 – 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetpwnam.c50 if (argp->key.uid > MAXUID)
95 if (uidl <= MAXUID && gidl <= MAXUID) in validate_passwd_ids()
97 uid = (uidl > MAXUID) ? UID_NOBODY : (uid_t)uidl; in validate_passwd_ids()
98 gid = (gidl > MAXUID) ? GID_NOBODY : (gid_t)gidl; in validate_passwd_ids()
H A Dgetgrent.c59 if (argp->key.gid > MAXUID)
96 if (gid <= MAXUID) in validate_group_ids()
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvgid.c39 #ifndef MAXUID
41 #define MAXUID UID_MAX macro
56 if( gid > MAXUID ) return( TOOBIG );
H A Dvuid.c36 #ifndef MAXUID
38 #define MAXUID UID_MAX macro
57 if( uid > MAXUID ) return( TOOBIG );
H A Dvgroup.c72 if ((l == LONG_MAX && errno == ERANGE) || l > MAXUID) { in valid_group()
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetpwnam.c164 if (argp->key.uid > MAXUID)
212 if (uidl <= MAXUID && gidl <= MAXUID) in validate_passwd_ids()
214 uid = (uidl > MAXUID) ? UID_NOBODY : (uid_t)uidl; in validate_passwd_ids()
215 gid = (gidl > MAXUID) ? GID_NOBODY : (gid_t)gidl; in validate_passwd_ids()
H A Dgetgrent.c162 if (argp->key.gid > MAXUID)
207 if (gid <= MAXUID) in validate_group_ids()
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetpwent.c107 if (uidl <= MAXUID && gidl <= MAXUID) in validate_passwd_ids()
109 uid = (uidl > MAXUID) ? UID_NOBODY : (uid_t)uidl; in validate_passwd_ids()
110 gid = (gidl > MAXUID) ? GID_NOBODY : (gid_t)gidl; in validate_passwd_ids()
171 if (argp->key.uid > MAXUID)
H A Dgetgrent.c93 if (gid <= MAXUID) in validate_group_ids()
153 if (argp->key.gid > MAXUID)
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetpwnam.c112 if (strtoul(uidn_v[0], &end, 10) > MAXUID) in _nss_ldap_passwd2str()
114 if (strtoul(gidn_v[0], &end, 10) > MAXUID) in _nss_ldap_passwd2str()
219 if (argp->key.uid > MAXUID) in getbyuid()
H A Dgetgrent.c148 if (strtoul(gid[0], &end, 10) > MAXUID) in _nss_ldap_group2str()
351 if (argp->key.uid > MAXUID) in getbygid()
/illumos-gate/usr/src/uts/common/sys/
H A Dcred.h165 ((id) <= MAXUID || valid_ephemeral_uid((zn), (id)))
168 ((id) <= MAXUID || valid_ephemeral_gid((zn), (id)))
H A Dparam.h123 #define MAXUID 2147483647 /* max user id */ macro
125 #define MAXPROJID MAXUID /* max project id */
/illumos-gate/usr/src/uts/common/syscall/
H A Dgid.c57 if (gid > MAXUID) { in setgid()
156 if (gid > MAXUID) { in setegid()
232 if (egid != -1 && egid > MAXUID) { in setregid()
H A Duid.c59 if (uid > MAXUID) { in setuid()
201 if (uid > MAXUID) { in seteuid()
280 if (euid != -1 && euid > MAXUID) { in setreuid()
H A Dgroups.c73 if (groups[i] > MAXUID) in setgroups()
/illumos-gate/usr/src/cmd/lp/lib/secure/
H A Dsecure.c128 secp->uid > MAXUID in getsecure()
130 || secp->gid > MAXUID in getsecure()
/illumos-gate/usr/src/cmd/pwck/
H A Dpwck.c176 uid > MAXUID || errno == ERANGE) in main()
185 gid > MAXUID || errno == ERANGE) in main()
/illumos-gate/usr/src/cmd/oamuser/group/
H A Dgroupadd.c141 if (findnextgid(DEFRID+1, MAXUID, &gid) != 0) { in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dinitgroups.c72 (agroup <= MAXUID) ? 1 : 0); in initgroups()
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c152 if (uid > MAXUID) { in main()
163 if (uid > MAXUID) { in main()
195 if (uid > MAXUID) in main()
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h74 #define MAXUID 2147483647 /* max user id */ macro
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dgetgrent.c127 if (argp->key.gid <= MAXUID) in getbygid()
/illumos-gate/usr/src/lib/libsec/common/
H A Dacltext.c396 if ((flags & ACL_SID_FMT) && acep->a_who > MAXUID) { in ace_type_txt()
419 if ((flags & ACL_SID_FMT) && acep->a_who > MAXUID) { in ace_type_txt()
927 if (aclp->a_who > MAXUID && (flags & ACL_SID_FMT)) { in ace_acltotext()
935 } else if (aclp->a_who > MAXUID && in ace_acltotext()
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duseradd.c460 if (findnextuid(DEFRID+1, MAXUID, &uid) != 0) {
669 if (findnextuid(DEFRID+1, MAXUID, &uid) != 0) {

12