Searched defs:status (Results 1 - 25 of 40) sorted by relevance

12

/sssd/src/tests/cwrap/
H A Dtest_become_user.c35 int status; local
67 wpid = waitpid(pid, &status, 0);
69 assert_true(WIFEXITED(status));
70 assert_int_equal(WEXITSTATUS(status), 0);
H A Dtest_server.c35 int status; local
39 wpid = waitpid(pid, &status, 0);
41 assert_true(WIFEXITED(status));
42 assert_int_equal(WEXITSTATUS(status), 0);
/sssd/src/providers/proxy/
H A Dproxy_netgroup.c96 static errno_t handle_error(enum nss_status status, argument
101 switch (status) {
136 enum nss_status status; local
143 status = ctx->ops.setnetgrent(name, &result);
144 if (status != NSS_STATUS_SUCCESS) {
147 ret = handle_error(status, dom, name);
166 status = ctx->ops.getnetgrent_r(&result, buffer, BUFLEN, &ret);
167 if (status != NSS_STATUS_SUCCESS &&
168 status != NSS_STATUS_RETURN &&
169 status !
[all...]
H A Dproxy_services.c114 enum nss_status status; local
128 status = ctx->ops.getservbyname_r(name, protocol, result,
130 if (status != NSS_STATUS_SUCCESS && status != NSS_STATUS_NOTFOUND) {
136 if (status == NSS_STATUS_NOTFOUND) {
159 enum nss_status status; local
181 status = ctx->ops.getservbyport_r(port, protocol, result,
183 if (status != NSS_STATUS_SUCCESS && status != NSS_STATUS_NOTFOUND) {
189 if (status
212 enum nss_status status; local
[all...]
H A Dproxy_id.c38 handle_getpw_result(enum nss_status status, struct passwd *pwd,
51 enum nss_status status; local
88 status = ctx->ops.getpwnam_r(shortname_or_alias, pwd, buffer, buflen, &ret);
89 ret = handle_getpw_result(status, pwd, dom, &del_user);
125 status = ctx->ops.getpwuid_r(uid, pwd, buffer, buflen, &ret);
126 ret = handle_getpw_result(status, pwd, dom, &del_user);
159 handle_getpw_result(enum nss_status status, struct passwd *pwd, argument
169 switch (status) {
200 DEBUG(SSSDBG_OP_FAILURE, "Unknown return code %d\n", status);
346 enum nss_status status; local
414 enum nss_status status; local
760 handle_getgr_result(enum nss_status status, struct group *grp, struct sss_domain_info *dom, bool *delete_group) argument
808 enum nss_status status; local
962 enum nss_status status; local
1047 enum nss_status status; local
1206 enum nss_status status; local
1352 enum nss_status status; local
[all...]
/sssd/src/responder/ssh/
H A Dsshsrv.c43 int status, void *pvt)
49 if (status == SBUS_RECONNECT_SUCCESS) {
42 ssh_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
/sssd/src/responder/sudo/
H A Dsudosrv.c44 int status,
51 if (status == SBUS_RECONNECT_SUCCESS) {
43 sudo_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
/sssd/src/tools/
H A Dsss_userdel.c77 int status; local
105 while((child_pid = waitpid(pid, &status, 0)) > 0) {
107 if (WIFEXITED(status)) {
H A Dtools_util.c520 int ret, status; local
555 while((child_pid = waitpid(pid, &status, 0)) > 0) {
556 if (WIFEXITED(status)) {
557 ret = WEXITSTATUS(status);
560 "command [%s] returned nonzero status %d.\n",
565 } else if (WIFSIGNALED(status)) {
568 userdel_cmd, WTERMSIG(status));
571 } else if (WIFSTOPPED(status)) {
574 userdel_cmd, WSTOPSIG(status));
577 DEBUG(SSSDBG_CRIT_FAILURE, "Unknown status fro
[all...]
/sssd/src/util/
H A Dnscd.c42 int ret, status; local
74 ret = waitpid(nscd_pid, &status, 0);
77 if (WIFEXITED(status)) {
78 ret = WEXITSTATUS(status);
/sssd/src/lib/winbind_idmap_sss/
H A Dwinbind_idmap_sss.h64 enum id_mapping status; member in struct:id_map
/sssd/src/responder/autofs/
H A Dautofssrv.c59 int status, void *pvt)
65 if (status == SBUS_RECONNECT_SUCCESS) {
58 autofs_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
/sssd/src/responder/common/cache_req/
H A Dcache_req_search.c236 enum cache_object_status status);
246 enum cache_object_status status; local
269 status = cache_req_expiration_status(cr, state->result);
270 if (status == CACHE_OBJECT_VALID) {
277 ret = cache_req_search_dp(req, status);
296 enum cache_object_status status)
313 switch (status) {
357 "Unexpected status [%d]\n", status);
295 cache_req_search_dp(struct tevent_req *req, enum cache_object_status status) argument
/sssd/src/responder/ifp/
H A Difpsrv.c70 int status, void *pvt)
76 if (status == SBUS_RECONNECT_SUCCESS) {
69 ifp_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
/sssd/src/responder/pac/
H A Dpacsrv.c64 int status, void *pvt)
70 if (status == SBUS_RECONNECT_SUCCESS) {
63 pac_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
/sssd/src/responder/pam/
H A Dpamsrv.c67 static void pam_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
73 if (status == SBUS_RECONNECT_SUCCESS) {
/sssd/src/resolv/
H A Dasync_resolv_utils.c270 int status; local
276 ret = resolv_getsrv_recv(state, subreq, &status, NULL,
281 status, resolv_strerror(status));
283 if (status == ARES_ENOTFOUND) {
/sssd/src/responder/common/
H A Dresponder_packet.c42 * 8-11 status (uint32_t)
271 uint32_t status; local
273 SAFEALIGN_COPY_UINT32(&status, packet->buffer + SSS_PACKET_ERR_OFFSET,
275 return status;
/sssd/src/responder/nss/
H A Dnsssrv.c348 int status, void *pvt)
354 if (status == SBUS_RECONNECT_SUCCESS) {
347 nss_dp_reconnect_init(struct sbus_connection *conn, int status, void *pvt) argument
/sssd/src/responder/secrets/
H A Dproviders.c162 int status; member in struct:sec_http_status_format_table
201 sec_http_status_format_table[code].status,
213 sec_http_status_format_table[code].status,
223 sec_http_status_format_table[code].status,
241 sec_http_status_format_table[code].status,
257 sec_http_status_format_table[code].status,
/sssd/src/tests/cmocka/
H A Dtest_child_common.c90 int status; local
104 ret = waitpid(child_pid, &status, 0);
109 if (WIFEXITED(status)) {
110 ret = WEXITSTATUS(status);
157 int status; local
177 ret = waitpid(child_pid, &status, 0);
182 if (WIFEXITED(status)) {
183 ret = WEXITSTATUS(status);
H A Dtest_resolv_fake.c193 int status; member in struct:fake_ares_query
199 void mock_ares_query(int status, int timeouts, unsigned char *abuf, int alen) argument
201 will_return(__wrap_ares_query, status);
212 query.status = sss_mock_type(int);
217 callback(arg, query.status, query.timeouts, query.abuf, query.alen);
265 int status; local
274 ret = resolv_getsrv_recv(tmp_ctx, req, &status, NULL,
/sssd/src/sss_client/libwbclient/
H A Dwbc_pwd_sssd.c199 static wbcErr nss_to_wbc(enum nss_status status) argument
203 switch (status) {
224 enum nss_status status; local
244 status = ctx->getpwnam_r(name, &lpwd, buffer, buflen, &nss_errno);
245 wbc_status = nss_to_wbc(status);
259 enum nss_status status; local
279 status = ctx->getpwuid_r(uid, &lpwd, buffer, buflen, &nss_errno);
280 wbc_status = nss_to_wbc(status);
375 enum nss_status status; local
402 status
419 enum nss_status status; local
462 enum nss_status status; local
478 enum nss_status status; local
495 enum nss_status status; local
529 enum nss_status status; local
545 enum nss_status status; local
562 enum nss_status status; local
615 enum nss_status status; local
[all...]
/sssd/src/tests/
H A Dstress-tests.c116 int status, ret; local
118 while ((ret = wait(&status)) > 0) {
124 if (WIFEXITED(status)) {
125 ret = WEXITSTATUS(status);
130 WEXITSTATUS(status));
210 int status, idx, ret; local
305 while ((ret = wait(&status)) > 0) {
311 if (WIFEXITED(status)) {
312 ret = WEXITSTATUS(status);
317 WEXITSTATUS(status));
[all...]
/sssd/src/sss_client/
H A Dnss_group.c84 enum nss_status status; local
88 status = NSS_STATUS_NOTFOUND;
96 status = NSS_STATUS_NOTFOUND;
102 status = NSS_STATUS_NOTFOUND;
107 status = NSS_STATUS_TRYAGAIN;
118 status = NSS_STATUS_SUCCESS;
123 return status;

Completed in 119 milliseconds

12