/sssd/src/providers/ |
H A D | dp_pam_data_util.c | 76 errno_t copy_pam_data(TALLOC_CTX *mem_ctx, struct pam_data *src, argument 88 pd->cmd = src->cmd; 89 pd->priv = src->priv; 91 pd->domain = talloc_strdup(pd, src->domain); 92 if (pd->domain == NULL && src->domain != NULL) { 96 pd->user = talloc_strdup(pd, src->user); 97 if (pd->user == NULL && src->user != NULL) { 101 pd->service = talloc_strdup(pd, src->service); 102 if (pd->service == NULL && src->service != NULL) { 106 pd->tty = talloc_strdup(pd, src [all...] |
H A D | be_dyndns.c | 83 const void *src; local 89 src = &(((struct sockaddr_in *)addr)->sin_addr); 92 src = &(((struct sockaddr_in6 *)addr)->sin6_addr); 99 res = inet_ntop(addr->ss_family, src, dst, size);
|
/sssd/src/util/ |
H A D | util_safealign.h | 49 safealign_memcpy(void *dest, const void *src, size_t n, size_t *counter) argument 51 memcpy(dest, src, n); 62 /* SAFEALIGN_COPY_INT64(void *dest, void *src, size_t *pctr) 64 * location pointed by 'src' to memory location pointed by 'dest'. 67 #define SAFEALIGN_COPY_INT64(dest, src, pctr) \ 68 safealign_memcpy(dest, src, sizeof(int64_t), pctr) 77 /* SAFEALIGN_COPY_UINT32(void *dest, void *src, size_t *pctr) */ 78 #define SAFEALIGN_COPY_UINT32(dest, src, pctr) \ 79 safealign_memcpy(dest, src, sizeof(uint32_t), pctr) 85 /* SAFEALIGN_COPY_INT32(void *dest, void *src, size_ [all...] |
H A D | authtok.c | 211 errno_t sss_authtok_copy(struct sss_auth_token *src, argument 214 if (!src || !dst) { 219 if (src->type == SSS_AUTHTOK_TYPE_EMPTY) { 223 dst->data = talloc_memdup(dst, src->data, src->length); 227 dst->length = src->length; 228 dst->type = src->type;
|
H A D | sss_krb5.c | 574 sss_krb5_copy_component_quoting(char *dest, const krb5_data *src, int flags) argument 577 const char *cp = src->data; 579 int length = src->length; 582 memcpy(dest, src->data, src->length); 583 return src->length; 625 sss_krb5_component_length_quoted(const krb5_data *src, int flags) argument 627 const char *cp = src->data; 628 int length = src->length;
|
/sssd/src/responder/secrets/ |
H A D | secsrv_cmd.c | 169 const char *src, size_t len) 172 *dest = talloc_strndup_append_buffer(*dest, src, len); 174 *dest = talloc_strndup(memctx, src, len); 168 sec_append_string(TALLOC_CTX *memctx, char **dest, const char *src, size_t len) argument
|
H A D | proxy.c | 669 const char *src, size_t len) 672 *dest = talloc_strndup_append_buffer(*dest, src, len); 674 *dest = talloc_strndup(memctx, src, len); 668 ph_append_string(TALLOC_CTX *memctx, char **dest, const char *src, size_t len) argument
|
/sssd/src/tools/ |
H A D | files.c | 492 copy_file_secure(const char *src, argument 524 ifd = sss_open_cloexec(src, O_RDONLY | O_NOFOLLOW, &ret); 528 src, ret, strerror(ret));
|
/sssd/src/db/ |
H A D | sysdb.c | 731 int sysdb_attrs_copy_values(struct sysdb_attrs *src, argument 739 ret = sysdb_attrs_get_el(src, name, &src_el);
|
/sssd/src/ldb_modules/ |
H A D | memberof.c | 3891 struct ldb_message_element *src; local 3894 src = ldb_msg_find_element(msg, name); 3895 if (!src) { 3904 *dest = *src;
|
/sssd/src/lib/idmap/ |
H A D | sss_idmap.c | 110 const struct idmap_range_params *src, 116 if (src == NULL || id == NULL || _dst == NULL) { 125 dst->min_id = src->min_id; 126 dst->max_id = src->max_id; 127 dst->first_rid = src->first_rid; 109 construct_range(struct sss_idmap_ctx *ctx, const struct idmap_range_params *src, char *id, struct idmap_range_params **_dst) argument
|
/sssd/src/resolv/ |
H A D | async_resolv.c | 521 resolv_copy_hostent_common(TALLOC_CTX *mem_ctx, struct hostent *src) argument 532 if (src->h_name != NULL) { 533 ret->name = talloc_strdup(ret, src->h_name); 538 if (src->h_aliases != NULL) { 539 for (len = 0; src->h_aliases[len] != NULL; len++); 547 ret->aliases[i] = talloc_strdup(ret->aliases, src->h_aliases[i]); 555 ret->family = src->h_addrtype; 564 resolv_copy_hostent(TALLOC_CTX *mem_ctx, struct hostent *src) argument 570 ret = resolv_copy_hostent_common(mem_ctx, src); 575 if (src 608 resolv_copy_hostent_ares(TALLOC_CTX *mem_ctx, struct hostent *src, int family, void *ares_ttl_data, int num_ares_ttl_data) argument [all...] |