Searched refs:CUPSD_UCRED_UID (Results 1 – 1 of 1) sorted by relevance
/external/libcups/scheduler/ |
D | auth.c | 45 # define CUPSD_UCRED_UID(c) (c).cr_uid macro 52 # define CUPSD_UCRED_UID(c) (c).uid macro 378 if ((pwd = getpwuid(CUPSD_UCRED_UID(peercred))) == NULL) in cupsdAuthorize() 380 …n, CUPSD_LOG_ERROR, "Unable to find UID %d for peer credentials.", (int)CUPSD_UCRED_UID(peercred)); in cupsdAuthorize() 454 if (pwd->pw_uid != CUPSD_UCRED_UID(peercred)) in cupsdAuthorize() 456 …r credentials for \"%s\" - got %d, expected %d.", authorization + 9, CUPSD_UCRED_UID(peercred), pw… in cupsdAuthorize() 469 con->gss_uid = CUPSD_UCRED_UID(peercred); in cupsdAuthorize() 853 cupsdLogClient(con, CUPSD_LOG_DEBUG, "Using credentials for UID %d.", CUPSD_UCRED_UID(peercred)); in cupsdAuthorize() 854 con->gss_uid = CUPSD_UCRED_UID(peercred); in cupsdAuthorize()
|