Lines Matching defs:uid

354 	uid_t			uid;
368 if (checkfrom(rqstp, &uid) == 0) {
374 /* set the uid sent as the RPC argument */
376 uid = argp->uid;
377 set_gssd_uid(uid);
598 uid_t uid;
622 if (checkfrom(rqstp, &uid) == 0) {
626 /* set the uid sent as the RPC argument */
628 uid = argp->uid;
629 set_gssd_uid(uid);
772 uid_t uid;
780 if (checkfrom(rqstp, &uid) == 0)
783 /* set the uid sent as the RPC argument */
785 uid = argp->uid;
786 set_gssd_uid(uid);
846 uid_t uid;
859 if (checkfrom(rqstp, &uid) == 0) {
866 /* set the uid sent as the RPC argument */
868 uid = argp->uid;
869 set_gssd_uid(uid);
1103 uid_t uid;
1132 if (checkfrom(rqstp, &uid) == 0) {
1141 /* set the uid sent as the RPC argument */
1143 uid = argp->uid;
1144 set_gssd_uid(uid);
1396 uid_t uid;
1406 if (checkfrom(rqstp, &uid) == 0)
1420 /* set the uid sent as the RPC argument */
1422 uid = argp->uid;
1423 set_gssd_uid(uid);
1455 uid_t uid;
1491 if (checkfrom(rqstp, &uid) == 0) {
1571 uid_t uid;
1588 if (checkfrom(rqstp, &uid) == 0) {
1681 uid_t uid;
1697 if (checkfrom(rqstp, &uid) == 0) {
1747 uid_t uid;
1760 if (checkfrom(rqstp, &uid) == 0)
1763 /* set the uid sent as the RPC argument */
1765 uid = argp->uid;
1766 set_gssd_uid(uid);
1780 uid_t uid;
1811 if (checkfrom(rqstp, &uid) == 0) {
1854 uid_t uid;
1882 if (checkfrom(rqstp, &uid) == 0)
1917 uid_t uid;
1948 if (checkfrom(rqstp, &uid) == 0) {
2000 uid_t uid;
2031 if (checkfrom(rqstp, &uid) == 0) {
2081 uid_t uid;
2097 if (checkfrom(rqstp, &uid) == 0) {
2102 /* set the uid sent as the RPC argument */
2104 uid = argp->uid;
2105 set_gssd_uid(uid);
2154 uid_t uid;
2169 if (checkfrom(rqstp, &uid) == 0) {
2213 uid_t uid;
2245 if (checkfrom(rqstp, &uid) == 0) {
2252 /* set the uid sent as the RPC argument */
2254 uid = argp->uid;
2255 set_gssd_uid(uid);
2377 uid_t uid;
2402 if (checkfrom(rqstp, &uid) == 0) {
2406 /* set the uid sent as the RPC argument */
2408 uid = argp->uid;
2409 set_gssd_uid(uid);
2449 uid_t uid;
2465 if (checkfrom(rqstp, &uid) == 0)
2468 /* set the uid from the rpc request */
2469 uid = argsp->uid;
2470 set_gssd_uid(uid);
2490 res->major = gsscred_name_to_unix_cred(gssName, &oid, &uid, &gidOut,
2495 res->uid = uid;
2510 uid_t uid;
2523 if (checkfrom(rqstp, &uid) == 0)
2526 /* set the uid from the rpc request */
2527 uid = argsp->uid;
2528 set_gssd_uid(uid);
2537 res->major = gsscred_expname_to_unix_cred(&expName, &uid,
2541 res->uid = uid;
2556 uid_t uid;
2568 if (checkfrom(rqstp, &uid) == 0)
2571 /* set the uid from the rpc request */
2572 uid = argsp->uid;
2573 set_gssd_uid(uid);
2576 * extract the uid from the arguments
2578 uid = argsp->puid;
2579 res->major = gss_get_group_info(uid, &gidOut, &gids, &gidsLen);
2617 * If caller ok, the uid is returned in uidp.
2626 uid_t uid;
2628 /* check client agent uid to ensure it is privileged */
2629 if (__rpc_get_local_uid(xprt, &uid) < 0) {
2635 fprintf(stderr, gettext("checkfrom: local_uid %d\n"), uid);
2636 if (uid != 0) {
2638 gettext("checkfrom: caller (uid %d) not privileged"),
2639 uid);
2645 * Proceed to get uid of client if needed by caller.
2658 gettext("checkfrom: caller's uid %d\n"), *uidp);