/sssd/src/responder/pac/ |
H A D | pacsrv_cmd.c | 64 size_t blen; member in struct:pac_req_ctx 80 size_t blen; local 88 sss_packet_get_body(pctx->creq->in, &body, &blen); 98 pr_ctx->blen = blen; 106 ret = ad_get_data_from_pac(pr_ctx, body, blen, 258 pr_ctx->blen);
|
/sssd/src/responder/common/ |
H A D | responder_cmd.c | 52 size_t blen; local 58 sss_packet_get_body(packet, &body, &blen); 111 size_t blen; local 154 sss_packet_get_body(pctx->creq->out, &body, &blen);
|
H A D | responder_packet.c | 278 void sss_packet_get_body(struct sss_packet *packet, uint8_t **body, size_t *blen) argument 281 *blen = sss_packet_get_len(packet) - SSS_NSS_HEADER_SIZE;
|
/sssd/src/responder/nss/ |
H A D | nsssrv_netgroup.c | 102 size_t blen; local 118 sss_packet_get_body(pctx->creq->in, &body, &blen); 121 if (body[blen -1] != '\0') { 127 if (!sss_utf8_check(body, blen -1)) { 738 size_t blen; local 769 sss_packet_get_body(packet, &body, &blen); 938 size_t blen; local 945 sss_packet_get_body(pctx->creq->in, &body, &blen); 946 if (blen != sizeof(uint32_t)) { 988 size_t blen, r local [all...] |
H A D | nsssrv_services.c | 605 size_t blen; local 691 sss_packet_get_body(packet, &body, &blen); 735 sss_packet_get_body(packet, &body, &blen); 780 uint8_t *body, size_t blen, 800 size_t blen; local 818 sss_packet_get_body(pctx->creq->in, &body, &blen); 820 if (body[blen -1] != '\0') { 825 ret = parse_getservbyname(cmdctx, body, blen, 876 uint8_t *body, size_t blen, 900 rawname = talloc_array(tmp_ctx, char, blen 875 parse_getservbyname(TALLOC_CTX *mem_ctx, uint8_t *body, size_t blen, struct sss_domain_info *domains, char *default_domain, char **domain_name, char **service_name, char **service_protocol) argument 1037 parse_getservbyport(TALLOC_CTX *mem_ctx, uint8_t *body, size_t blen, uint16_t *service_port, char **service_protocol) argument 1119 size_t blen; local 1743 size_t blen; local [all...] |
H A D | nsssrv_cmd.c | 362 size_t rsize, rp, blen; local 476 sss_packet_get_body(packet, &body, &blen); 515 sss_packet_get_body(packet, &body, &blen); 1406 size_t blen; local 1446 sss_packet_get_body(pctx->creq->out, &body, &blen); 1474 size_t blen; local 1507 sss_packet_get_body(pctx->creq->in, &body, &blen); 1510 if (body[blen -1] != '\0') { 1516 if (!sss_utf8_check(body, blen -1)) { 1906 size_t blen; local 2537 size_t blen; local 2717 size_t blen; local 2776 size_t blen; local 3723 size_t blen; local 3992 size_t blen; local 4810 size_t blen; local 4915 size_t blen; local 5023 size_t blen; local 5087 size_t blen; local 5189 size_t blen; local 5249 size_t blen; local 5365 size_t blen; local [all...] |
/sssd/src/responder/autofs/ |
H A D | autofssrv_cmd.c | 245 size_t blen; local 260 sss_packet_get_body(pctx->creq->in, &body, &blen); 263 if (body[blen -1] != '\0') { 269 if (!sss_utf8_check(body, blen -1)) { 300 size_t blen; local 332 sss_packet_get_body(pctx->creq->out, &body, &blen); 929 size_t blen; local 952 sss_packet_get_body(pctx->creq->in, &body, &blen); 954 SAFEALIGN_COPY_UINT32_CHECK(&namelen, body+c, blen, &c); 956 if (namelen == 0 || namelen > blen 1081 size_t blen; local 1153 size_t blen; local 1212 size_t blen; local 1386 size_t blen, rp; local [all...] |
/sssd/src/responder/pam/ |
H A D | pamsrv_cmd.c | 127 size_t data_size, uint8_t *body, size_t blen, 135 if (data_size < sizeof(uint32_t) || *c+data_size > blen || 138 SAFEALIGN_COPY_UINT32_CHECK(&auth_token_type, &body[*c], blen, c); 174 static int extract_string(char **var, size_t size, uint8_t *body, size_t blen, argument 178 if (*c+size > blen || SIZE_T_OVERFLOW(*c, size)) return EINVAL; 197 size_t blen, size_t *c) { 199 if (size != sizeof(uint32_t) || *c+size > blen || SIZE_T_OVERFLOW(*c, size)) 202 SAFEALIGN_COPY_UINT32_CHECK(var, &body[*c], blen, c); 228 uint8_t *body, size_t blen) 238 if (blen < 126 extract_authtok_v2(struct sss_auth_token *tok, size_t data_size, uint8_t *body, size_t blen, size_t *c) argument 196 extract_uint32_t(uint32_t *var, size_t size, uint8_t *body, size_t blen, size_t *c) argument 227 pam_parse_in_data_v2(struct pam_data *pd, uint8_t *body, size_t blen) argument 330 pam_parse_in_data_v3(struct pam_data *pd, uint8_t *body, size_t blen) argument 349 extract_authtok_v1(struct sss_auth_token *tok, uint8_t *body, size_t blen, size_t *c) argument 378 pam_parse_in_data(struct pam_data *pd, uint8_t *body, size_t blen) argument 687 size_t blen; local 1065 size_t blen; local [all...] |
/sssd/src/responder/secrets/ |
H A D | proxy.c | 185 int blen; local 196 blen = strlen(secreq->base_path); 206 pcfg->url, &secreq->mapped_path[blen],
|
/sssd/src/tests/cmocka/ |
H A D | test_pam_srv.c | 419 uint8_t **body, size_t *blen); 422 uint8_t **body, size_t *blen) 428 return __real_sss_packet_get_body(packet, body, blen); 436 *blen = len; 441 uint8_t **body, size_t *blen); 448 size_t blen; local 457 __real_sss_packet_get_body(packet, &body, &blen); 460 body, blen); 603 static int test_pam_simple_check(uint32_t status, uint8_t *body, size_t blen) argument 631 size_t blen) 421 __wrap_sss_packet_get_body(struct sss_packet *packet, uint8_t **body, size_t *blen) argument 630 test_pam_cert_check_gdm_smartcard(uint32_t status, uint8_t *body, size_t blen) argument 680 test_pam_cert_check(uint32_t status, uint8_t *body, size_t blen) argument 719 test_pam_offline_chauthtok_check(uint32_t status, uint8_t *body, size_t blen) argument 758 test_pam_failed_offline_auth_check(uint32_t status, uint8_t *body, size_t blen) argument 765 test_pam_successful_offline_auth_check(uint32_t status, uint8_t *body, size_t blen) argument 772 test_pam_successful_cached_auth_check(uint32_t status, uint8_t *body, size_t blen) argument 779 test_pam_wrong_pw_offline_auth_check(uint32_t status, uint8_t *body, size_t blen) argument 786 test_pam_creds_insufficient_check(uint32_t status, uint8_t *body, size_t blen) argument 803 test_pam_user_unknown_check(uint32_t status, uint8_t *body, size_t blen) argument [all...] |
H A D | test_nss_srv.c | 91 uint8_t **body, size_t *blen); 94 uint8_t **body, size_t *blen) 100 return __real_sss_packet_get_body(packet, body, blen); 108 *blen = len; 125 size_t blen; local 133 __real_sss_packet_get_body(packet, &body, &blen); 136 body, blen); 268 static int parse_user_packet(uint8_t *body, size_t blen, struct passwd *pwd) argument 278 if (rp >= blen) return EINVAL; 282 if (rp >= blen) retur 93 __wrap_sss_packet_get_body(struct sss_packet *packet, uint8_t **body, size_t *blen) argument 299 parse_group_packet(uint8_t *body, size_t blen, struct group *gr, uint32_t *nmem) argument 331 check_initgr_packet(uint8_t *body, size_t blen, gid_t *gids, size_t num_gids) argument 520 test_nss_getpwnam_check(uint32_t status, uint8_t *body, size_t blen) argument 613 test_nss_getpwnam_search_check(uint32_t status, uint8_t *body, size_t blen) argument 683 test_nss_getpwnam_update_check(uint32_t status, uint8_t *body, size_t blen) argument 751 test_nss_getpwnam_check_fqdn(uint32_t status, uint8_t *body, size_t blen) argument 805 test_nss_getpwnam_check_space(uint32_t status, uint8_t *body, size_t blen) argument 845 test_nss_getpwnam_check_space_sub(uint32_t status, uint8_t *body, size_t blen) argument 923 test_nss_getpwnam_check_fancy_fqdn(uint32_t status, uint8_t *body, size_t blen) argument 982 test_nss_getpwuid_check(uint32_t status, uint8_t *body, size_t blen) argument 1081 test_nss_getpwuid_search_check(uint32_t status, uint8_t *body, size_t blen) argument 1150 test_nss_getpwuid_update_check(uint32_t status, uint8_t *body, size_t blen) argument 1268 test_nss_getgrnam_no_members_check(uint32_t status, uint8_t *body, size_t blen) argument 1339 test_nss_getgrnam_members_check(uint32_t status, uint8_t *body, size_t blen) argument 1414 test_nss_getgrnam_members_check_fqdn(uint32_t status, uint8_t *body, size_t blen) argument 1515 test_nss_getgrnam_members_check_subdom(uint32_t status, uint8_t *body, size_t blen) argument 1604 test_nss_getgrnam_check_mix_dom(uint32_t status, uint8_t *body, size_t blen) argument 1668 test_nss_getgrnam_check_mix_dom_fqdn(uint32_t status, uint8_t *body, size_t blen) argument 1738 test_nss_getgrnam_check_mix_subdom(uint32_t status, uint8_t *body, size_t blen) argument 1817 test_nss_getgrnam_space_check(uint32_t status, uint8_t *body, size_t blen) argument 1863 test_nss_getgrnam_space_sub_check(uint32_t status, uint8_t *body, size_t blen) argument 1909 test_nss_well_known_sid_check(uint32_t status, uint8_t *body, size_t blen) argument 2092 test_nss_getorigbyname_check(uint32_t status, uint8_t *body, size_t blen) argument 2217 test_nss_getorigbyname_extra_check(uint32_t status, uint8_t *body, size_t blen) argument 2339 test_nss_getorigbyname_multi_check(uint32_t status, uint8_t *body, size_t blen) argument 2481 test_nss_getpwnam_upn_check(uint32_t status, uint8_t *body, size_t blen) argument 2568 test_nss_initgr_check(uint32_t status, uint8_t *body, size_t blen) argument 2772 test_nss_initgr_search_check(uint32_t status, uint8_t *body, size_t blen) argument 2870 test_nss_initgr_update_check(uint32_t status, uint8_t *body, size_t blen) argument 2978 test_nss_initgr_update_2expire_attributes_check(uint32_t status, uint8_t *body, size_t blen) argument 3161 test_nss_getnamebysid_check(uint32_t status, uint8_t *body, size_t blen) argument 3268 test_nss_getnamebysid_update_check(uint32_t status, uint8_t *body, size_t blen) argument 3388 test_nss_getnamebycert_check(uint32_t status, uint8_t *body, size_t blen) argument 3490 test_nss_getsidbyname_check(uint32_t status, uint8_t *body, size_t blen) argument [all...] |