Searched refs:handle (Results 1 - 17 of 17) sorted by relevance

/sssd-io/src/util/
H A Dsss_semanage.c39 semanage_handle_t *handle,
45 switch (semanage_msg_get_level(handle)) {
65 static void sss_semanage_close(semanage_handle_t *handle) argument
67 if (handle == NULL) {
71 if (semanage_is_connected(handle)) {
72 semanage_disconnect(handle);
74 semanage_handle_destroy(handle);
77 static int sss_is_selinux_managed(semanage_handle_t *handle) argument
81 if (handle == NULL) {
85 ret = semanage_is_managed(handle);
38 sss_semanage_error_callback(void *varg, semanage_handle_t *handle, const char *fmt, ...) argument
100 semanage_handle_t *handle = NULL; local
145 sss_semanage_user_add(semanage_handle_t *handle, semanage_seuser_key_t *key, const char *login_name, const char *seuser_name, const char *mls) argument
200 sss_semanage_user_mod(semanage_handle_t *handle, semanage_seuser_key_t *key, const char *login_name, const char *seuser_name, const char *mls) argument
252 semanage_handle_t *handle; local
278 semanage_handle_t *handle = NULL; local
351 semanage_handle_t *handle = NULL; local
[all...]
/sssd-io/src/lib/cifs_idmap_sss/
H A Dcifs_idmap_sss.c58 int cifs_idmap_init_plugin(void **handle, const char **errmsg) argument
63 if (handle == NULL || errmsg == NULL)
81 *handle = ctx;
85 void cifs_idmap_exit_plugin(void *handle) argument
87 struct sssd_ctx *ctx = handle;
101 int cifs_idmap_sid_to_str(void *handle, const struct cifs_sid *csid, argument
104 struct sssd_ctx *ctx = handle;
160 int cifs_idmap_str_to_sid(void *handle, const char *name, argument
163 struct sssd_ctx *ctx = handle;
250 int cifs_idmap_sids_to_ids(void *handle, cons argument
290 cifs_idmap_ids_to_sids(void *handle, const struct cifs_uxid *cuxid, const size_t num, struct cifs_sid *csid) argument
[all...]
/sssd-io/src/util/cert/nss/
H A Dcert.c45 CERTCertDBHandle *handle; local
63 handle = CERT_GetDefaultCertDB();
68 cert = CERT_NewTempCertificate(handle, &der_item, NULL, PR_FALSE, PR_TRUE);
133 CERTCertDBHandle *handle; local
190 handle = CERT_GetDefaultCertDB();
195 cert = CERT_NewTempCertificate(handle, &der_item, NULL, PR_FALSE, PR_TRUE);
231 CERTCertDBHandle *handle; local
265 handle = CERT_GetDefaultCertDB();
268 rv = CERT_EnableOCSPChecking(handle);
277 rv = CERT_SetOCSPDefaultResponder(handle,
[all...]
/sssd-io/src/tests/cmocka/
H A Dcommon_mock_sdap.c61 struct sdap_handle *handle = talloc_zero(mem_ctx, struct sdap_handle); local
67 return handle;
/sssd-io/src/providers/proxy/
H A Dproxy_init.c41 static void *proxy_dlsym(void *handle, argument
53 funcptr = dlsym(handle, funcname);
118 void *handle)
149 *symbols[i].dest = proxy_dlsym(handle, symbols[i].name, libname);
335 ctx->handle = dlopen(libpath, RTLD_NOW);
336 if (ctx->handle == NULL) {
343 ret = proxy_id_load_symbols(&ctx->ops, libname, ctx->handle);
116 proxy_id_load_symbols(struct proxy_nss_ops *ops, const char *libname, void *handle) argument
H A Dproxy.h103 void *handle; member in struct:proxy_id_ctx
/sssd-io/src/responder/secrets/
H A Dsecsrv_private.h104 int sec_add_provider(struct sec_ctx *sctx, struct provider_handle *handle);
118 struct provider_handle **handle);
H A Dproviders.c92 struct provider_handle **handle)
192 ret = sec_get_provider(sctx, provider, handle);
195 ret = local_secrets_provider_handle(sctx, handle);
197 ret = proxy_secrets_provider_handle(sctx, handle);
204 ret = sec_add_provider(sctx, *handle);
651 struct provider_handle *handle; local
654 handle = sctx->providers[i];
655 if (strcasecmp(handle->name, name) != 0) {
658 *out_handle = handle;
662 DEBUG(SSSDBG_MINOR_FAILURE, "No handle fo
91 sec_req_routing(TALLOC_CTX *mem_ctx, struct sec_req_ctx *secreq, struct provider_handle **handle) argument
666 sec_add_provider(struct sec_ctx *sctx, struct provider_handle *handle) argument
[all...]
H A Dproxy.c575 struct provider_handle *handle; local
578 handle = talloc_zero(sctx, struct provider_handle);
579 if (!handle) return ENOMEM;
581 handle->name = "PROXY";
582 handle->fn = proxy_secret_req;
584 pctx = talloc(handle, struct proxy_context);
594 handle->context = pctx;
596 *out_handle = handle;
H A Dlocal.c1106 struct provider_handle *handle; local
1112 DEBUG(SSSDBG_TRACE_INTERNAL, "Creating a local provider handle\n");
1114 handle = talloc_zero(sctx, struct provider_handle);
1115 if (!handle) return ENOMEM;
1117 handle->name = "LOCAL";
1118 handle->fn = local_secret_req;
1120 lctx = talloc_zero(handle, struct local_context);
1165 handle->context = lctx;
1167 *out_handle = handle;
1168 DEBUG(SSSDBG_TRACE_INTERNAL, "Local provider handle create
[all...]
/sssd-io/src/tests/
H A Ddlopen-tests.c135 void *handle; local
140 handle = dlopen(name[round], RTLD_GLOBAL|RTLD_NOW);
141 if (!handle) {
154 dlclose(handle);
/sssd-io/src/p11_child/
H A Dp11_child_nss.c133 CERTCertDBHandle *handle; local
277 handle = CERT_GetDefaultCertDB();
278 if (handle == NULL) {
285 rv = CERT_EnableOCSPChecking(handle);
295 rv = CERT_SetOCSPDefaultResponder(handle,
305 rv = CERT_EnableOCSPDefaultResponder(handle);
339 rv = CERT_VerifyCertificateNow(handle, cert_list_node->cert,
399 rv = CERT_DisableOCSPDefaultResponder(handle);
/sssd-io/src/lib/certmap/
H A Dsss_cert_content_nss.c834 CERTCertDBHandle *handle; local
858 handle = CERT_GetDefaultCertDB();
862 cert = CERT_NewTempCertificate(handle, &der_item, NULL, PR_FALSE, PR_TRUE);
/sssd-io/src/db/
H A Dsysdb_search.c151 "TS cache doesn't handle this DN type, skipping\n");
233 "SSSD will not be able to handle those users properly.\n",
728 * need to handle ENOENT separately. */
1242 * need to handle ENOENT separately. */
1359 ret = ldb_wait(req->handle, LDB_WAIT_ALL);
1524 ret = ldb_wait(req->handle, LDB_WAIT_ALL);
H A Dsysdb_ops.c101 ret = ldb_wait(req->handle, LDB_WAIT_ALL);
3617 ret = ldb_wait(ldb_req->handle, LDB_WAIT_ALL);
5339 /* This provider doesn't handle UUIDs */
/sssd-io/src/providers/ldap/
H A Dsdap_access.c823 struct sysdb_handle *handle; member in struct:sdap_access_filter_req_ctx
1402 struct sysdb_handle *handle; member in struct:sdap_access_ppolicy_req_ctx
H A Dsdap_async_initgroups.c2241 struct sysdb_handle *handle; member in struct:sdap_rfc2307bis_nested_ctx

Completed in 64 milliseconds