Lines Matching defs:uid

352 	uid_t			uid;
366 if (checkfrom(rqstp, &uid) == 0) {
372 /* set the uid sent as the RPC argument */
374 uid = argp->uid;
375 set_gssd_uid(uid);
596 uid_t uid;
620 if (checkfrom(rqstp, &uid) == 0) {
624 /* set the uid sent as the RPC argument */
626 uid = argp->uid;
627 set_gssd_uid(uid);
770 uid_t uid;
778 if (checkfrom(rqstp, &uid) == 0)
781 /* set the uid sent as the RPC argument */
783 uid = argp->uid;
784 set_gssd_uid(uid);
844 uid_t uid;
857 if (checkfrom(rqstp, &uid) == 0) {
864 /* set the uid sent as the RPC argument */
866 uid = argp->uid;
867 set_gssd_uid(uid);
1101 uid_t uid;
1130 if (checkfrom(rqstp, &uid) == 0) {
1139 /* set the uid sent as the RPC argument */
1141 uid = argp->uid;
1142 set_gssd_uid(uid);
1394 uid_t uid;
1404 if (checkfrom(rqstp, &uid) == 0)
1418 /* set the uid sent as the RPC argument */
1420 uid = argp->uid;
1421 set_gssd_uid(uid);
1453 uid_t uid;
1489 if (checkfrom(rqstp, &uid) == 0) {
1569 uid_t uid;
1586 if (checkfrom(rqstp, &uid) == 0) {
1679 uid_t uid;
1695 if (checkfrom(rqstp, &uid) == 0) {
1745 uid_t uid;
1758 if (checkfrom(rqstp, &uid) == 0)
1761 /* set the uid sent as the RPC argument */
1763 uid = argp->uid;
1764 set_gssd_uid(uid);
1778 uid_t uid;
1809 if (checkfrom(rqstp, &uid) == 0) {
1852 uid_t uid;
1880 if (checkfrom(rqstp, &uid) == 0)
1915 uid_t uid;
1946 if (checkfrom(rqstp, &uid) == 0) {
1998 uid_t uid;
2029 if (checkfrom(rqstp, &uid) == 0) {
2079 uid_t uid;
2095 if (checkfrom(rqstp, &uid) == 0) {
2100 /* set the uid sent as the RPC argument */
2102 uid = argp->uid;
2103 set_gssd_uid(uid);
2152 uid_t uid;
2167 if (checkfrom(rqstp, &uid) == 0) {
2211 uid_t uid;
2243 if (checkfrom(rqstp, &uid) == 0) {
2250 /* set the uid sent as the RPC argument */
2252 uid = argp->uid;
2253 set_gssd_uid(uid);
2375 uid_t uid;
2400 if (checkfrom(rqstp, &uid) == 0) {
2404 /* set the uid sent as the RPC argument */
2406 uid = argp->uid;
2407 set_gssd_uid(uid);
2447 uid_t uid;
2463 if (checkfrom(rqstp, &uid) == 0)
2466 /* set the uid from the rpc request */
2467 uid = argsp->uid;
2468 set_gssd_uid(uid);
2488 res->major = gsscred_name_to_unix_cred(gssName, &oid, &uid, &gidOut,
2493 res->uid = uid;
2508 uid_t uid;
2521 if (checkfrom(rqstp, &uid) == 0)
2524 /* set the uid from the rpc request */
2525 uid = argsp->uid;
2526 set_gssd_uid(uid);
2535 res->major = gsscred_expname_to_unix_cred(&expName, &uid,
2539 res->uid = uid;
2554 uid_t uid;
2566 if (checkfrom(rqstp, &uid) == 0)
2569 /* set the uid from the rpc request */
2570 uid = argsp->uid;
2571 set_gssd_uid(uid);
2574 * extract the uid from the arguments
2576 uid = argsp->puid;
2577 res->major = gss_get_group_info(uid, &gidOut, &gids, &gidsLen);
2615 * If caller ok, the uid is returned in uidp.
2624 uid_t uid;
2626 /* check client agent uid to ensure it is privileged */
2627 if (__rpc_get_local_uid(xprt, &uid) < 0) {
2633 fprintf(stderr, gettext("checkfrom: local_uid %d\n"), uid);
2634 if (uid != 0) {
2636 gettext("checkfrom: caller (uid %d) not privileged"),
2637 uid);
2643 * Proceed to get uid of client if needed by caller.
2655 gettext("checkfrom: caller's uid %d\n"), *uidp);