/sssd/src/sss_client/ |
H A D | pam_message.c | 38 size_t rp = 0; local 44 memcpy(&buf[rp], &c, sizeof(uint32_t)); 45 rp += sizeof(uint32_t); 48 memcpy(&buf[rp], &c, sizeof(uint32_t)); 49 rp += sizeof(uint32_t); 52 memcpy(&buf[rp], &c, sizeof(uint32_t)); 53 rp += sizeof(uint32_t); 55 memcpy(&buf[rp], tok, size); 56 rp += size; 58 return rp; 64 size_t rp = 0; local 85 size_t rp = 0; local 108 size_t rp; local [all...] |
/sssd/src/providers/ldap/ |
H A D | sdap_child_helpers.c | 154 size_t rp; local 182 rp = 0; 186 SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(realm_str), &rp); 187 safealign_memcpy(&buf->data[rp], realm_str, strlen(realm_str), &rp); 189 SAFEALIGN_SET_UINT32(&buf->data[rp], 0, &rp); 194 SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(princ_str), &rp); [all...] |
/sssd/src/providers/krb5/ |
H A D | krb5_child_handler.c | 56 static errno_t pack_authtok(struct io_buffer *buf, size_t *rp, argument 89 SAFEALIGN_COPY_UINT32(&buf->data[*rp], &auth_token_type, rp); 90 SAFEALIGN_COPY_UINT32(&buf->data[*rp], &auth_token_length, rp); 91 safealign_memcpy(&buf->data[*rp], data, auth_token_length, rp); 101 size_t rp; local 175 rp = 0; 176 SAFEALIGN_COPY_UINT32(&buf->data[rp], [all...] |
/sssd/src/sss_client/autofs/ |
H A D | sss_autofs.c | 225 size_t rp; local 228 rp = 0; 229 SAFEALIGN_COPY_UINT32(&num, *repbuf+rp, &rp); 243 sss_getautomntent_data.ptr = rp; 361 size_t rp; local 416 rp = 0; 417 SAFEALIGN_COPY_UINT32(&len, repbuf+rp, &rp); 425 SAFEALIGN_COPY_UINT32(&vallen, repbuf+rp, [all...] |
/sssd/src/tests/cmocka/ |
H A D | test_nss_srv.c | 270 size_t rp = 2 * sizeof(uint32_t); local 272 SAFEALIGN_COPY_UINT32(&pwd->pw_uid, body+rp, &rp); 273 SAFEALIGN_COPY_UINT32(&pwd->pw_gid, body+rp, &rp); 276 pwd->pw_name = (char *) body+rp; 277 rp += strlen(pwd->pw_name) + 1; 278 if (rp >= blen) return EINVAL; 280 pwd->pw_passwd = (char *) body+rp; 281 rp 301 size_t rp = 2 * sizeof(uint32_t); /* Len and reserved */ local 334 size_t rp; local 1914 size_t rp = 2 * sizeof(uint32_t); local 2097 size_t rp = 2 * sizeof(uint32_t); local 2222 size_t rp = 2 * sizeof(uint32_t); local 2344 size_t rp = 2 * sizeof(uint32_t); local 3163 size_t rp = 2 * sizeof(uint32_t); /* num_results and reserved */ local 3272 size_t rp = 2 * sizeof(uint32_t); /* num_results and reserved */ local 3390 size_t rp = 2 * sizeof(uint32_t); /* num_results and reserved */ local 3496 size_t rp = 2 * sizeof(uint32_t); local [all...] |
H A D | test_pam_srv.c | 605 size_t rp = 0; local 610 SAFEALIGN_COPY_UINT32(&val, body + rp, &rp); 613 SAFEALIGN_COPY_UINT32(&val, body + rp, &rp); 616 SAFEALIGN_COPY_UINT32(&val, body + rp, &rp); 619 SAFEALIGN_COPY_UINT32(&val, body + rp, &rp); 622 assert_int_equal(*(body + rp 633 size_t rp = 0; local 682 size_t rp = 0; local 722 size_t rp = 0; local 789 size_t rp = 0; local 806 size_t rp = 0; local [all...] |
/sssd/src/responder/autofs/ |
H A D | autofssrv_cmd.c | 918 fill_autofs_entry(struct ldb_message *entry, struct sss_packet *packet, size_t *rp); 1078 size_t rp; local 1110 rp = sizeof(uint32_t); /* We'll write the number of entries here */ 1120 ret = fill_autofs_entry(entry, pctx->creq->out, &rp); 1133 rp = 0; 1134 SAFEALIGN_SET_UINT32(&body[rp], nentries, &rp); 1145 fill_autofs_entry(struct ldb_message *entry, struct sss_packet *packet, size_t *rp) argument 1175 SAFEALIGN_SET_UINT32(&body[*rp], len, rp); 1386 size_t blen, rp; local [all...] |
/sssd/src/responder/nss/ |
H A D | nsssrv_netgroup.c | 988 size_t blen, rp; local 1000 rp = 2*sizeof(uint32_t); 1001 ret = sss_packet_grow(packet, rp); 1030 SAFEALIGN_SET_UINT32(&body[rp], SSS_NETGR_REP_TRIPLE, &rp); 1033 body[rp] = '\0'; 1035 memcpy(&body[rp], 1039 rp += hostlen; 1042 body[rp] = '\0'; 1044 memcpy(&body[rp], [all...] |
H A D | nsssrv_cmd.c | 362 size_t rsize, rp, blen; local 372 rp = 2*sizeof(uint32_t); 478 SAFEALIGN_SET_UINT32(&body[rp], uid, &rp); 479 SAFEALIGN_SET_UINT32(&body[rp], gid, &rp); 480 memcpy(&body[rp], name->str, name->len); 481 rp += name->len; 483 memcpy(&body[rp], pwfield.str, pwfield.len); 484 rp [all...] |
/sssd/src/providers/ipa/ |
H A D | ipa_selinux.c | 647 size_t rp; local 667 rp = 0; 670 SAFEALIGN_SET_UINT32(&state->buf->data[rp], seuser_len, &rp); 671 safealign_memcpy(&state->buf->data[rp], state->sci->seuser, 672 seuser_len, &rp); 675 SAFEALIGN_SET_UINT32(&state->buf->data[rp], mls_range_len, &rp); 676 safealign_memcpy(&state->buf->data[rp], state->sci->mls_range, 677 mls_range_len, &rp); [all...] |
/sssd/src/providers/ad/ |
H A D | ad_gpo.c | 3960 size_t rp; local 3990 rp = 0; 3992 SAFEALIGN_SET_UINT32(&buf->data[rp], cached_gpt_version, &rp); 3995 SAFEALIGN_SET_UINT32(&buf->data[rp], smb_server_length, &rp); 3996 safealign_memcpy(&buf->data[rp], smb_server, smb_server_length, &rp); 3999 SAFEALIGN_SET_UINT32(&buf->data[rp], smb_share_length, &rp); [all...] |
/sssd/src/lib/idmap/ |
H A D | sss_idmap.c | 136 struct idmap_range_params *rp, 139 if (id == 0 || rp == NULL) { 143 if (id >= rp->min_id && id <= rp->max_id) { 145 *rid = rp->first_rid + (id - rp->min_id); 135 id_is_in_range(uint32_t id, struct idmap_range_params *rp, uint32_t *rid) argument
|