/titanic_41/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 56 static void rnetrc(const char *host, char **aname, char **apass); 118 _ruserpass(const char *host, char **aname, char **apass) in _ruserpass() argument 121 if (*aname == 0 || *apass == 0) in _ruserpass() 122 rnetrc(host, aname, apass); in _ruserpass() 123 if (*aname == 0) { in _ruserpass() 126 *aname = malloc(MAXANAME + 1); in _ruserpass() 131 if (read(2, *aname, MAXANAME) <= 0) in _ruserpass() 133 aname[0][MAXANAME] = '\0'; in _ruserpass() 134 if ((*aname)[0] == '\n') in _ruserpass() 135 (void) strcpy(*aname, myname); in _ruserpass() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/net/ |
H A D | ruserpass.c | 100 _ruserpass(char *host, char **aname, char **apass) in _ruserpass() argument 103 if (*aname == 0 || *apass == 0) in _ruserpass() 104 rnetrc(host, aname, apass); in _ruserpass() 105 if (*aname == 0) { in _ruserpass() 107 *aname = malloc(16); in _ruserpass() 110 if (read(2, *aname, 16) <= 0) in _ruserpass() 112 if ((*aname)[0] == '\n') in _ruserpass() 113 *aname = myname; in _ruserpass() 115 if (index(*aname, '\n')) in _ruserpass() 116 *index(*aname, '\n') = 0; in _ruserpass() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 103 db_an_to_ln(context, dbname, aname, lnsize, lname) in db_an_to_ln() argument 106 krb5_const_principal aname; 116 if ((retval = krb5_unparse_name(context, aname, &princ_name))) 504 rule_an_to_ln(krb5_context context, char *rule, krb5_const_principal aname, const unsigned int lnsi… in rule_an_to_ln() argument 520 if (!(kret = krb5_unparse_name(context, aname, &fprincname))) { in rule_an_to_ln() 526 if (num_comps == aname->length) { in rule_an_to_ln() 549 ? krb5_princ_component(context, aname, in rule_an_to_ln() 551 : krb5_princ_realm(context, aname)) in rule_an_to_ln() 644 krb5_const_principal aname, in an_to_ln_realm_chk() argument 668 (memcmp(*cpp, krb5_princ_realm(context, aname)->data, in an_to_ln_realm_chk() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ruserpass.c | 45 static int rnetrc(char *host, char **aname, char **apass, char **aacct); 49 ruserpass(char *host, char **aname, char **apass, char **aacct) in ruserpass() argument 52 renv(host, aname, apass, aacct); in ruserpass() 53 if (*aname == 0 || *apass == 0) in ruserpass() 55 return (rnetrc(host, aname, apass, aacct)); in ruserpass() 84 rnetrc(char *host, char **aname, char **apass, char **aacct) in rnetrc() argument 122 if (*aname == 0) { in rnetrc() 123 *aname = malloc((unsigned) in rnetrc() 125 if (*aname == NULL) { in rnetrc() 130 (void) strcpy(*aname, tokval); in rnetrc() [all …]
|
/titanic_41/usr/src/uts/common/ipp/ |
H A D | ippctl.c | 908 char *aname = NULL; in ippctl_cmd() local 954 if ((rc = ippctl_extract_aname(nvlp, &aname)) != 0) { in ippctl_cmd() 961 FREE_TEXT(aname); in ippctl_cmd() 968 rc = ippctl_action_create(modname, aname, nvlp, flags); in ippctl_cmd() 983 if ((rc = ippctl_extract_aname(nvlp, &aname)) != 0) { in ippctl_cmd() 989 FREE_TEXT(aname); in ippctl_cmd() 994 rc = ippctl_action_modify(aname, nvlp, flags); in ippctl_cmd() 1009 if ((rc = ippctl_extract_aname(nvlp, &aname)) != 0) { in ippctl_cmd() 1015 FREE_TEXT(aname); in ippctl_cmd() 1021 rc = ippctl_action_destroy(aname, flags); in ippctl_cmd() [all …]
|
H A D | ippconf.c | 527 const char *aname) in ipp_action_lookup() argument 529 if (aname == NULL) in ipp_action_lookup() 536 if (strcmp(aname, IPP_ANAME_CONT) == 0) in ipp_action_lookup() 538 else if (strcmp(aname, IPP_ANAME_DEFER) == 0) in ipp_action_lookup() 540 else if (strcmp(aname, IPP_ANAME_DROP) == 0) in ipp_action_lookup() 547 return (find_action(aname)); in ipp_action_lookup() 558 char *aname; in ipp_action_name() local 571 aname = IPP_ANAME_CONT; in ipp_action_name() 575 aname = IPP_ANAME_DEFER; in ipp_action_name() 579 aname = IPP_ANAME_DROP; in ipp_action_name() [all …]
|
/titanic_41/usr/src/lib/libipp/ |
H A D | libipp.c | 120 const char *aname, in ipp_action_create() argument 131 if (nvlpp == NULL || modname == NULL || aname == NULL) { in ipp_action_create() 156 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_create() 180 const char *aname, in ipp_action_destroy() argument 190 if (aname == NULL) { in ipp_action_destroy() 212 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_destroy() 238 const char *aname, in ipp_action_modify() argument 249 if (nvlpp == NULL || aname == NULL) { in ipp_action_modify() 266 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { in ipp_action_modify() 290 const char *aname, in ipp_action_info() argument [all …]
|
/titanic_41/usr/src/cmd/fm/fmdump/common/ |
H A D | fault.c | 89 char *class = NULL, *rname = NULL, *aname = NULL, *fname = NULL; in flt_verb1() local 101 aname = fmdump_nvl2str(asru); in flt_verb1() 134 aname ? aname : "-"); in flt_verb1() 143 free(aname); in flt_verb1()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 189 static char aname[128]; in addhost() local 250 np = (char *)inet_ntop(AF_INET6, (void *)ipaddr, aname, in addhost() 251 sizeof (aname)); in addhost() 276 aname[0] = '\0'; in addhost() 278 h.h_hostname = aname; in addhost()
|
H A D | snoop_netbios.c | 510 netbiosname2ascii(char *aname, uchar_t *nbname) in netbiosname2ascii() argument 525 aname[j++] = c; in netbiosname2ascii() 527 sprintf(&aname[j], "[%x]", c); in netbiosname2ascii()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 320 mde_str_cookie_t aname; in mdeg_notify_client_reg() local 362 aname = md_find_name(mdp, "fwd"); in mdeg_notify_client_reg() 364 nnodes = md_scan_dag(mdp, startnode, nname, aname, NULL); in mdeg_notify_client_reg() 381 nodechk = md_scan_dag(mdp, startnode, nname, aname, listp); in mdeg_notify_client_reg() 651 mde_str_cookie_t aname; in mdeg_find_start_node() local 659 aname = md_find_name(md, "fwd"); in mdeg_find_start_node() 661 nnodes = md_scan_dag(md, NULL, nname, aname, NULL); in mdeg_find_start_node() 667 (void) md_scan_dag(md, NULL, nname, aname, nodesp); in mdeg_find_start_node()
|
/titanic_41/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 199 char aname[ANAME_SZ + 1]; member 694 k4->aname, k4->inst, k4->realm); 696 k4->aname[0] = 0; 735 if (k4->aname[0]) 741 k_errno = kname_parse(k4->aname, k4->inst, k4->realm, 759 k_errno = krb_get_tf_fullname(tkt_string(), k4->aname, 769 k_errno = kname_parse(k4->aname, k4->inst, k4->realm, 785 sprintf(k4->name, "%s.%s@%s", k4->aname, k4->inst, k4->realm); 787 sprintf(k4->name, "%s@%s", k4->aname, k4->realm); 791 if (k4->aname[0] && !k_isname(k4->aname)) [all …]
|
/titanic_41/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 135 char *aname = NULL, *fname = NULL, *lname = NULL; in print_node() local 140 (void) topo_fmri_nvl2str(thp, asru, &aname, &err); in print_node() 144 if (aname != NULL) { in print_node() 146 (void) printf("\tASRU: %s\n", aname); in print_node() 147 topo_hdl_strfree(thp, aname); in print_node() 1110 char *aname = NULL, *fname = NULL, *lname = NULL; in print_fmri() local 1115 (void) topo_fmri_nvl2str(thp, asru, &aname, &err); in print_fmri() 1123 if (aname != NULL) { in print_fmri() 1124 (void) printf("\tASRU: %s\n", aname); in print_fmri() 1125 topo_hdl_strfree(thp, aname); in print_fmri()
|
/titanic_41/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 67 const char *aname = PATHNAME(lmp); in elf_config_validate() local 72 if ((_str = strrchr(aname, '/')) != NULL) in elf_config_validate() 73 aname = ++_str; in elf_config_validate() 77 if (strcmp(aname, cname)) { in elf_config_validate()
|
H A D | analyze.c | 1363 const char *aname; in find_path() local 1366 0, &aname)) != 0) { in find_path() 1384 fdp->fd_nname = aname; in find_path() 1392 DBG_CALL(Dbg_libs_found(lml, aname, in find_path() 1431 char *aname; in _find_file() local 1433 if ((aname = audit_objsearch(clmp, nname, in _find_file() 1439 if (aname != nname) { in _find_file() 1441 fdp->fd_nname = aname; in _find_file() 1473 const char *aname = NULL; in find_file() local 1498 dobj->co_id, &aname); in find_file() [all …]
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | pkg.c | 256 char *pkgname = NULL, *aname, *aval; in fmri_nvl2str() local 287 aname = nvpair_name(apair); in fmri_nvl2str() 290 aname, aval); in fmri_nvl2str()
|
H A D | mod.c | 271 char *modname = NULL, *aname, *aval; in fmri_nvl2str() local 310 aname = nvpair_name(apair); in fmri_nvl2str() 313 aname, aval); in fmri_nvl2str()
|
H A D | hc.c | 490 char *aname, *aval; in fmri_nvl2str() local 523 aname = nvpair_name(apair); in fmri_nvl2str() 526 aname, aval); in fmri_nvl2str() 805 char *aname = NULL, *aid = NULL, *fs; in make_hc_auth() local 843 if ((aname = topo_mod_strdup(mod, startn)) == NULL) in make_hc_auth() 858 if (strcmp(aname, FM_FMRI_HC_SERIAL_ID) == 0) { in make_hc_auth() 860 } else if (strcmp(aname, FM_FMRI_HC_PART) == 0) { in make_hc_auth() 862 } else if (strcmp(aname, FM_FMRI_HC_REVISION) == 0) { in make_hc_auth() 868 (void) nvlist_add_string(na, aname, in make_hc_auth() 872 (void) nvlist_add_string(na, aname, aid); in make_hc_auth() [all …]
|
H A D | sw.c | 450 char *aname, *aval; in sw_fmri_nvl2str() local 457 aname = nvpair_name(apair); in sw_fmri_nvl2str() 460 aname, aval); in sw_fmri_nvl2str()
|
/titanic_41/usr/src/common/mdesc/ |
H A D | mdesc_diff.c | 386 mde_str_cookie_t aname; in mdd_scan_for_nodes() local 393 aname = md_find_name(mdp, "fwd"); in mdd_scan_for_nodes() 396 *countp = md_scan_dag(mdp, start, cname, aname, NULL); in mdd_scan_for_nodes() 406 (void) md_scan_dag(mdp, start, cname, aname, *nodespp); in mdd_scan_for_nodes()
|
/titanic_41/usr/src/cmd/dis/ |
H A D | dis_target.c | 158 const char *aname = syma->se_name; in sym_compare() local 203 if (aname == NULL) in sym_compare() 208 while (*aname == '_' && *bname == '_') { in sym_compare() 209 aname++; in sym_compare() 215 if (*aname == '_') in sym_compare()
|
/titanic_41/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 427 char aname[MAXHOSTNAMELEN]; /* alias result (C_NAME) */ in _nss_dns_gethost_withttl() local 674 n = dn_expand(bom, eor, cp, aname, MAXHOSTNAMELEN); in _nss_dns_gethost_withttl() 675 if (n > 0 && (len = strlen(aname)) > 0) { in _nss_dns_gethost_withttl() 694 if (strlcpy(host, aname, MAXHOSTNAMELEN) >= in _nss_dns_gethost_withttl()
|
/titanic_41/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 190 char *aname = dm_get_name(alias, error); in get_disk_aliases() local 195 names[j] = strdup(aname); in get_disk_aliases() 201 dm_free_name(aname); in get_disk_aliases()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 1798 char *aname; in do_show_addr() local 1824 aname = argv[optind]; in do_show_addr() 1825 if ((cp = strchr(aname, '/')) == NULL) in do_show_addr() 1828 ifname = aname; in do_show_addr() 1830 aname = NULL; in do_show_addr() 1833 aname = NULL; in do_show_addr() 1863 if (aname != NULL) { in do_show_addr() 1864 if (strcmp(sargs.sa_info->ia_aobjname, aname) != 0) in do_show_addr() 1872 if (aname != NULL && !found) in do_show_addr()
|
/titanic_41/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 69 char *aname, 243 output_xattr_header(char *fname, char *aname, int fd, in output_xattr_header() argument 271 "/dev/null/%s.hdr", aname); in output_xattr_header() 274 TLM_MAX_PATH_NAME, "%s.%03d", aname, section); in output_xattr_header() 304 aname, hsize, attr->st_mode & 07777, attr->st_uid, attr->st_gid); in output_xattr_header() 334 (void) strlcpy(&xbuf->h_names[strlen(fname) + 1], aname, in output_xattr_header()
|