Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/titanic_50/usr/src/cmd/ssh/sshd/
H A Dauth2.c91 Authmethod *method);
92 static void authmethod_count_attempt(Authmethod *method);
96 static int userauth_method_can_run(Authmethod *method);
159 char *user, *service, *method, *style = NULL; in input_userauth_request() local
167 method = packet_get_string(NULL); in input_userauth_request()
169 service, method); in input_userauth_request()
174 m = authmethod_lookup(method); in input_userauth_request()
230 authctxt->method = m; in input_userauth_request()
234 debug2("input_userauth_request: try method %s", method); in input_userauth_request()
261 auth_log(authctxt, 0, method, " ssh2"); in input_userauth_request()
[all …]
H A Dauth2-chall.c166 if (authctxt->method->method_data != NULL) { in auth2_challenge()
168 authctxt->method->abandoned = 0; in auth2_challenge()
170 authctxt->method->method_data = (void *) kbdint_alloc(devs); in auth2_challenge()
180 if (authctxt->method->method_data != NULL) { in auth2_challenge_stop()
181 kbdint_free((KbdintAuthctxt *) authctxt->method->method_data); in auth2_challenge_stop()
182 authctxt->method->method_data = NULL; in auth2_challenge_stop()
190 authctxt->method->abandoned = 1; in auth2_challenge_abandon()
191 authctxt->method->postponed = 0; in auth2_challenge_abandon()
192 authctxt->method->authenticated = 0; in auth2_challenge_abandon()
193 authctxt->method->abandons++; in auth2_challenge_abandon()
[all …]
H A Dauth2-gss.c60 if (authctxt == NULL || authctxt->method == NULL) in userauth_gssapi_keyex()
75 buffer_put_cstring(&mic_data, authctxt->method->name); in userauth_gssapi_keyex()
106 userauth_gssapi_abandon(Authctxt *authctxt, Authmethod *method) in userauth_gssapi_abandon() argument
108 ssh_gssapi_delete_ctx((Gssctxt **)&method->method_data); in userauth_gssapi_abandon()
172 ssh_gssapi_build_ctx((Gssctxt **)&authctxt->method->method_data, in userauth_gssapi()
189 authctxt->method->postponed = 1; in userauth_gssapi()
201 if (authctxt == NULL || authctxt->method == NULL || in input_gssapi_token()
202 (authctxt->method->method_data == NULL)) { in input_gssapi_token()
207 gssctxt = authctxt->method->method_data; in input_gssapi_token()
222 authctxt->method->postponed = 0; in input_gssapi_token()
[all …]
H A Dauth2-pubkey.c68 if (!authctxt || !authctxt->method) in userauth_pubkey()
104 if (authctxt->method->method_data) { in userauth_pubkey()
114 prev_key = authctxt->method->method_data; in userauth_pubkey()
119 authctxt->method->abandons++; in userauth_pubkey()
120 authctxt->method->attempts++; in userauth_pubkey()
124 authctxt->method->method_data = NULL; in userauth_pubkey()
160 authctxt->method->postponed = 0; in userauth_pubkey()
181 authctxt->method->postponed = 1; in userauth_pubkey()
186 authctxt->method->method_data = (void *) key; in userauth_pubkey()
216 authctxt->method->authenticated = 1; in userauth_pubkey()
[all …]
H A Dauth2-pam.c60 if (authctxt->method == NULL) in auth2_pam()
66 authctxt->method->method_data = NULL; /* freed in the conv func */ in auth2_pam()
172 authctxt->method->authenticated = 1; in do_pam_kbdint()
190 authctxt->method->abandoned = 1; in do_pam_kbdint()
200 if (authctxt->method->abandons) in do_pam_kbdint()
201 authctxt->method->abandons--; in do_pam_kbdint()
202 if (authctxt->method->attempts) in do_pam_kbdint()
203 authctxt->method->attempts--; in do_pam_kbdint()
226 if (!authctxt || !authctxt->method) { in do_pam_conv_kbd_int()
278 authctxt->method->method_data = (void *) conv_ctxt; in do_pam_conv_kbd_int()
[all …]
H A Dauth-pam.c84 if (!authctxt->method || !authctxt->method->name) in get_method_name()
87 return authctxt->method->name; in get_method_name()
91 derive_pam_service_name(Authmethod *method) in derive_pam_service_name() argument
104 if (compat20 && method) { in derive_pam_service_name()
105 char *method_name = method->name; in derive_pam_service_name()
165 if (compat20 && authctxt->method == NULL) in new_start_pam()
169 svc = derive_pam_service_name(authctxt->method); in new_start_pam()
254 char *user, *method; in finish_userauth_do_pam() local
261 if (authctxt->method == NULL || authctxt->method->name == NULL) in finish_userauth_do_pam()
263 method = authctxt->method->name; in finish_userauth_do_pam()
[all …]
H A Dauth2-kbdint.c45 if (!authctxt || !authctxt->method) in userauth_kbdint()
65 authctxt->method->authenticated = 0; in userauth_kbdint()
72 userauth_kbdint_abandon(Authctxt *authctxt, Authmethod *method) in userauth_kbdint_abandon() argument
75 kbdint_pam_abandon(authctxt, method); in userauth_kbdint_abandon()
H A Dauth.c245 auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) in auth_log() argument
261 if (authctxt->method) { in auth_log()
263 if (authctxt->method->postponed) in auth_log()
265 if (authctxt->method->abandoned) in auth_log()
267 if (authctxt->method->authenticated) { in auth_log()
289 (method != NULL) ? method : "<unknown authentication method>", in auth_log()
296 if (authenticated == 0 && strcmp(method, "password") == 0) in auth_log()
357 auth_root_allowed(char *method) in auth_root_allowed() argument
364 if (strcmp(method, "password") != 0 && in auth_root_allowed()
365 strcmp(method, "keyboard-interactive") != 0) in auth_root_allowed()
[all …]
/titanic_50/usr/src/lib/efcode/packages/
H A Dpopulate.c134 char *method, *path; in builtin_driver_method_hook() local
148 method = pop_a_string(env, NULL); in builtin_driver_method_hook()
154 if ((path = search_for_fcode_file(env, method)) != NULL) { in builtin_driver_method_hook()
156 method, path); in builtin_driver_method_hook()
167 fc_ptr2cell(method), &len); in builtin_driver_method_hook()
171 func_name, method); in builtin_driver_method_hook()
172 push_a_string(env, method); in builtin_driver_method_hook()
177 func_name, method, (int)len); in builtin_driver_method_hook()
181 dropin_name = STRDUP(method); in builtin_driver_method_hook()
239 char *method, *path, *buf; in exec_builtin_driver() local
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c38 valid_env_var(const char *var, const char *instance, const char *method) in valid_env_var() argument
43 if (method == NULL) in valid_env_var()
46 "method %s of instance %s.\n"), var, method, instance); in valid_env_var()
49 if (method == NULL) in valid_env_var()
53 var, method, instance); in valid_env_var()
61 find_dup(const char *var, char **env, const char *instance, const char *method) in find_dup() argument
78 "for method %s of instance %s.\n"), *p, method, instance); in find_dup()
100 const char *method) in set_smf_env() argument
133 *np = uu_msprintf("SMF_METHOD=%s", method); in set_smf_env()
156 if (!valid_env_var(*p, instance->fmri, method)) in set_smf_env()
[all …]
H A Dinetd.c244 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi,
1267 get_method_state(instance_method_t method) in get_method_state() argument
1272 if (sip->method_running == method) in get_method_state()
2659 passes_basic_exec_checks(const char *instance, const char *method, in passes_basic_exec_checks() argument
2669 method, instance, strerror(errno)); in passes_basic_exec_checks()
2681 method, instance); in passes_basic_exec_checks()
2685 "any execute permissions set"), method, instance); in passes_basic_exec_checks()
2693 exec_method(instance_t *instance, instance_method_t method, method_info_t *mi, in exec_method() argument
2703 if (method == IM_START) { in exec_method()
2731 if ((method == IM_START) && in exec_method()
[all …]
H A Dwait.c53 instance_method_t method; /* the method type running */ member
160 methods[mp->method].name, mp->inst->fmri); in method_timeout()
164 if (mp->method == IM_START) { in method_timeout()
217 me->method = mthd; in register_method()
394 methods[me->method].name, me->inst->fmri, in process_terminated_methods()
400 remove_method_ids(me->inst, me->pid, me->cid, me->method); in process_terminated_methods()
403 if (me->method != IM_START) { in process_terminated_methods()
/titanic_50/usr/src/lib/libsum/common/
H A Dsum-lmd.c124 md4_open(const Method_t* method, const char* name) in md4_open() argument
130 lmd->method = (Method_t*)method; in md4_open()
164 md5_open(const Method_t* method, const char* name) in md5_open() argument
170 lmd->method = (Method_t*)method; in md5_open()
205 sha1_open(const Method_t* method, const char* name) in sha1_open() argument
211 lmd->method = (Method_t*)method; in sha1_open()
245 sha256_open(const Method_t* method, const char* name) in sha256_open() argument
251 lmd->method = (Method_t*)method; in sha256_open()
279 sha384_open(const Method_t* method, const char* name) in sha384_open() argument
285 lmd->method = (Method_t*)method; in sha384_open()
[all …]
H A Dsumlib.c31 struct Method_s* method; \
80 long_open(const Method_t* method, const char* name) in long_open() argument
86 p->method = (Method_t*)method; in long_open()
130 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale))) in long_print()
300 return (*p->method->init)(p); in suminit()
311 return (*p->method->block)(p, buf, siz); in sumblock()
323 return (*p->method->done)(p); in sumdone()
333 return (*p->method->print)(p, sp, flags, scale); in sumprint()
343 return (*p->method->data)(p, d); in sumdata()
/titanic_50/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c67 char *method, /* O - Method [32] (http, https, etc.) */ in httpSeparate() argument
73 httpSeparate2(uri, method, 32, username, HTTP_MAX_URI, host, HTTP_MAX_URI, in httpSeparate()
85 char *method, /* O - Method (http, https, etc.) */ in httpSeparate2() argument
104 if (uri == NULL || method == NULL || username == NULL || host == NULL || in httpSeparate2()
118 strlcpy(method, "ipp", methodlen); in httpSeparate2()
160 strlcpy(method, "http", methodlen); in httpSeparate2()
165 strlcpy(method, host, methodlen); in httpSeparate2()
210 if (strcasecmp(method, "http") == 0) in httpSeparate2()
212 else if (strcasecmp(method, "https") == 0) in httpSeparate2()
214 else if (strcasecmp(method, "ipp") == 0) in httpSeparate2()
[all …]
/titanic_50/usr/src/common/crypto/padding/
H A Dpkcs1.c64 pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, in pkcs1_encode() argument
78 padbuf[1] = (method == PKCS1_ENCRYPT) ? 0x02 : 0x01; in pkcs1_encode()
80 if (method == PKCS1_ENCRYPT) { in pkcs1_encode()
87 } else if (method == PKCS1_SIGN) { in pkcs1_encode()
118 pkcs1_decode(int method, uint8_t *padbuf, size_t *plen) in pkcs1_decode() argument
120 int rv = ((method == PKCS1_DECRYPT) ? CKR_ENCRYPTED_DATA_INVALID : in pkcs1_decode()
125 if (padbuf[0] != 0x00 || padbuf[1] != (method == PKCS1_DECRYPT ? in pkcs1_decode()
140 } else if (method == PKCS1_VERIFY && padbuf[i] != 0xFF) { in pkcs1_decode()
/titanic_50/usr/src/cmd/ssh/ssh/
H A Dsshconnect2.c212 Authmethod *method; member
349 authctxt.method = authmethod_lookup("none"); in ssh_userauth2()
354 if (authctxt.method == NULL) in ssh_userauth2()
369 debug("Authentication succeeded (%s)", authctxt.method->name); in ssh_userauth2()
374 if (authctxt->method != NULL && in userauth()
375 authctxt->method->cleanup != NULL) in userauth()
376 authctxt->method->cleanup(authctxt); in userauth()
386 Authmethod *method = authmethod_get(authlist); in userauth() local
387 if (method == NULL) in userauth()
389 authctxt->method = method; in userauth()
[all …]
/titanic_50/usr/src/uts/sun4u/sys/
H A Dppm_plat.h38 if (dc->method == PPMDC_I2CKIO) \
40 else if (dc->method == PPMDC_KIO) \
45 if (dc->method == PPMDC_I2CKIO) \
47 else if (dc->method == PPMDC_KIO) \
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_xaction.c59 sip_method_t method) in sip_find_md5_digest() argument
100 (char *)&method, sizeof (sip_method_t), in sip_find_md5_digest()
104 sip_md5_hash(bid, strlen(bid), (char *)&method, in sip_find_md5_digest()
299 sip_method_t method; in sip_xaction_find() local
304 method = sip_get_callseq_method((sip_msg_t)msg, &error); in sip_xaction_find()
313 (method == ACK || method == CANCEL)) { in sip_xaction_find()
314 method = INVITE; in sip_xaction_find()
316 if (sip_find_md5_digest(branchid, msg, hash_index, method) != 0) in sip_xaction_find()
335 sip_method_t method; in sip_xaction_create() local
381 method = sip_msg_info->sip_req_method; in sip_xaction_create()
[all …]
/titanic_50/usr/src/cmd/svc/milestone/
H A DREADME.share45 # /lib/svc/method/example-method start
48 the commands from the service method as they are executed. For sh(1)
49 based scripts, this would mean running the method as
51 # /sbin/sh -x /lib/svc/method/example-method start
55 # /usr/bin/ksh -x /lib/svc/method/example-method start
57 The first line of the service method script will generally specify its
83 # /lib/svc/method/fs-root
84 # /lib/svc/method/fs-usr
85 # /lib/svc/method/fs-minimal
91 /lib/svc/method/fs-usr attempts to remount the root file system
[all …]
/titanic_50/usr/src/cmd/svc/startd/
H A Dmethod.c445 exec_method(const restarter_inst_t *inst, int type, const char *method, in exec_method() argument
453 cmd = uu_msprintf("exec %s", method); in exec_method()
460 method_names[type], method); in exec_method()
658 char *method; in method_run() local
720 if ((method = libscf_get_method(h, type, inst, snap, &restart_on, in method_run()
771 if (restarter_is_null_method(method)) { in method_run()
783 sig = restarter_is_kill_method(method); in method_run()
811 inst->ri_i.i_fmri, method); in method_run()
814 inst->ri_m_inst, snap, mname, method, &mcp); in method_run()
851 if ((pend = strchr(method, ' ')) != NULL) in method_run()
[all …]
/titanic_50/usr/src/lib/libslp/clib/
H A Dslp_jni_support.c88 jmethodID method; in JNU_GetStringNativeChars() local
117 method = (*env)->GetMethodID( in JNU_GetStringNativeChars()
128 if (method != NULL) { in JNU_GetStringNativeChars()
133 bytes = (*env)->CallObjectMethod(env, jstr, method); in JNU_GetStringNativeChars()
/titanic_50/usr/src/psm/stand/bootblks/common/
H A Dutil.fth99 : find-cif-method ( adr,len -- acf )
100 2dup cif-ph find-method 0= if ( adr,len )
106 " open" find-cif-method to cif-open
107 " close" find-cif-method to cif-close
108 " read" find-cif-method to cif-read
109 " seek" find-cif-method to cif-seek
110 " release" find-cif-method to cif-release
143 " claim" mmu-ih $call-method
147 -1 " map" mmu-ih $call-method
151 " claim" mem-ih $call-method
/titanic_50/usr/src/uts/sun4u/io/
H A Dppm_plat.c57 switch (dc->method) { in ppm_cpu_next()
67 str, dc->method)) in ppm_cpu_next()
90 switch (dc->method) { in ppm_cpu_pre_chng()
111 str, dc->method)) in ppm_cpu_pre_chng()
133 switch (dc->method) { in ppm_cpu_go()
162 switch (dc->method) { in ppm_cpu_post_chng()
183 str, dc->method)) in ppm_cpu_post_chng()
/titanic_50/usr/src/psm/promif/ieee1275/common/
H A Dprom_test.c53 prom_test_method(char *method, pnode_t node) in prom_test_method() argument
64 ci[4] = p1275_ptr2cell(method); in prom_test_method()
74 method, node, (void *)&rv); in prom_test_method()

12345678910>>...12