/titanic_51/usr/src/lib/libbsm/common/ |
H A D | audit_krb5kdc.c | 63 char *sname, /* requested service name */ in common_audit() argument 98 AUD_NULL_STR(sname)); in common_audit() 117 char *sname, /* requested service name */ in audit_krb5kdc_as_req() argument 121 sname, sorf); in audit_krb5kdc_as_req() 130 char *sname, /* requested service name */ in audit_krb5kdc_tgs_req() argument 134 sname, sorf); in audit_krb5kdc_tgs_req() 143 char *sname) /* requested service name */ in audit_krb5kdc_tgs_req_2ndtktmm() argument 146 cname, sname, 1); in audit_krb5kdc_tgs_req_2ndtktmm() 155 char *sname, /* requested service name */ in audit_krb5kdc_tgs_req_alt_tgt() argument 159 cname, sname, sor in audit_krb5kdc_tgs_req_alt_tgt() [all...] |
/titanic_51/usr/src/lib/libpkg/common/ |
H A D | security.c | 170 static char sname[ATTR_MAX]; in get_subject_display_name() local 174 NID_commonName, sname, in get_subject_display_name() 176 (void) strncpy(sname, in get_subject_display_name() 179 sname[ATTR_MAX - 1] = '\0'; in get_subject_display_name() 181 return (sname); in get_subject_display_name() 201 static char sname[ATTR_MAX]; in get_issuer_display_name() local 205 NID_commonName, sname, in get_issuer_display_name() 207 (void) strncpy(sname, in get_issuer_display_name() 210 sname[ATTR_MAX - 1] = '\0'; in get_issuer_display_name() 212 return (sname); in get_issuer_display_name() [all...] |
/titanic_51/usr/src/cmd/svc/servinfo/ |
H A D | servinfo.c | 102 svc_getrpcinfo(char *sname, char *sproto, int options) in svc_getrpcinfo() argument 114 prognum = atoi(sname); in svc_getrpcinfo() 118 rpc = (struct rpcent *)getrpcbyname(sname); in svc_getrpcinfo() 133 rpc->r_name = sname; in svc_getrpcinfo() 212 char *sname = NULL; in main() local 225 sname = optarg; in main() 250 if (sname == NULL) { in main() 266 return (svc_getrpcinfo(sname, sproto, options)); in main() 269 if ((service = getservbyname(sname, sproto)) == NULL) { in main() 271 "Failed to get information for %s\n"), sname); in main() [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | pt.c | 95 char *sname; in ptsname() local 100 sname = tsdalloc(_T_PTSNAME, PTLEN, NULL); in ptsname() 101 if (sname == NULL) in ptsname() 103 (void) strcpy(sname, PTSNAME); in ptsname() 104 itoa(dev, sname + strlen(PTSNAME)); in ptsname() 110 if (access(sname, F_OK) == 0) in ptsname() 111 return (sname); in ptsname()
|
/titanic_51/usr/src/lib/libsmbfs/smb/ |
H A D | nb.c | 242 const char *sname, int level) in nb_ctx_readrcsection() argument 257 rc_getint(rcfile, sname, "nbtimeout", &ctx->nb_timo); in nb_ctx_readrcsection() 258 rc_getstringptr(rcfile, sname, "nbscope", &p); in nb_ctx_readrcsection() 266 rc_getstringptr(rcfile, sname, "wins1", &wins1); in nb_ctx_readrcsection() 268 rc_getstringptr(rcfile, sname, "nbns", &wins1); in nb_ctx_readrcsection() 269 rc_getstringptr(rcfile, sname, "wins2", &wins2); in nb_ctx_readrcsection() 276 0, sname); in nb_ctx_readrcsection() 287 rc_getbool(rcfile, sname, "nbns_enable", &nbns_enable); in nb_ctx_readrcsection() 288 rc_getbool(rcfile, sname, "nbns_broadcast", &nbns_broadcast); in nb_ctx_readrcsection()
|
H A D | ctx.c | 1360 smb_ctx_readrcsection(struct smb_ctx *ctx, const char *sname, int level) in smb_ctx_readrcsection() argument 1367 rc_getstringptr(smb_rc, sname, "charsets", &p); in smb_ctx_readrcsection() 1373 error, sname); in smb_ctx_readrcsection() 1381 rc_getstringptr(smb_rc, sname, "minauth", &p); in smb_ctx_readrcsection() 1399 0, p, sname); in smb_ctx_readrcsection() 1404 rc_getstringptr(smb_rc, sname, "signing", &p); in smb_ctx_readrcsection() 1423 0, p, sname); in smb_ctx_readrcsection() 1435 rc_getstringptr(smb_rc, sname, "workgroup", &p); in smb_ctx_readrcsection() 1441 "section '%s' ignored"), error, sname); in smb_ctx_readrcsection() 1443 rc_getstringptr(smb_rc, sname, "domai in smb_ctx_readrcsection() 1502 char *sname = NULL; smb_ctx_readrc() local [all...] |
/titanic_51/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_tgs_req.c | 86 char *cname = 0, *sname = 0, *tmp = 0; in process_tgs_req() local 121 if ((errcode = krb5_unparse_name(kdc_context, request->server, &sname))) { in process_tgs_req() 125 limit_string(sname); in process_tgs_req() 540 sname ? sname : "<unknown server>", in process_tgs_req() 550 sname ? sname : "<unknown server>", in process_tgs_req() 588 0, cname, sname); in process_tgs_req() 594 sname ? sname in process_tgs_req() 857 char *sname; find_alternate_tgs() local [all...] |
H A D | do_as_req.c | 84 char *cname = 0, *sname = 0; in process_as_req() local 126 if ((errcode = krb5_unparse_name(kdc_context, request->server, &sname))) { in process_as_req() 130 limit_string(sname); in process_as_req() 456 cname, sname, 0); in process_as_req() 464 cname, sname); in process_as_req() 485 0, cname, sname, errcode); in process_as_req() 490 sname ? sname : "<unknown server>", in process_as_req() 523 if (sname) in process_as_req() 524 free(sname); in process_as_req() [all...] |
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 85 krb5_sname_to_principal(krb5_context context, const char *hostname, const char *sname, krb5_int32 type, krb5_principal *ret_princ) in krb5_sname_to_principal() argument 94 printf("krb5_sname_to_principal(host=%s, sname=%s, type=%d)\n",hostname,sname,type); in krb5_sname_to_principal() 111 /* if sname is NULL, use "host" */ in krb5_sname_to_principal() 112 if (! sname) in krb5_sname_to_principal() 113 sname = "host"; in krb5_sname_to_principal() 259 realm, sname, remote_host, in krb5_sname_to_principal() 267 printf("realm: <%s>, sname: <%s>, remote_host: <%s>\n", in krb5_sname_to_principal() 268 realm,sname,remote_host); in krb5_sname_to_principal()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | trap.c | 383 register char *sname; in sig_list() local 424 if(sig > shp->gd->sigmax || !(sname=(char*)names[sig])) in sig_list() 425 sname = sig_name(shp,sig,name,1); in sig_list() 426 sfprintf(sfstdout,trapfmt,sh_fmtq(trap),sname); in sig_list() 440 if(!(sname=(char*)names[sig])) in sig_list() 442 sname = sig_name(shp,sig,name,1); in sig_list() 444 sname = stakcopy(sname); in sig_list() 447 names[sig] = sname; in sig_list() 449 sfputr(sfstdout,sname,'\ in sig_list() [all...] |
/titanic_51/usr/src/cmd/sgs/lex/common/ |
H A D | main.c | 144 /* may be gotten: def, subs, sname, schar, ccl, dchar */ 151 sname[0] = sp; 153 sname[1] = 0; 211 * left, right, parent, ccl, schar, sname 266 sname = (CHR **)myalloc(STARTSIZE, sizeof (*sname)); 274 sname == 0 || exclusive == 0 || schar == 0) 329 free(sname);
|
/titanic_51/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 134 char *sname; in ctf_write_elf() local 140 sname = elf_strptr(src, strndx, shdr.sh_name); in ctf_write_elf() 141 if (sname == NULL) { in ctf_write_elf() 146 if (strcmp(sname, CTF_ELF_SCN_NAME) == 0) { in ctf_write_elf() 150 curnmoff += strlen(sname) + 1; in ctf_write_elf() 157 char *sname; in ctf_write_elf() local 196 sname = elf_strptr(src, strndx, shdr.sh_name); in ctf_write_elf() 197 if (sname == NULL) { in ctf_write_elf()
|
/titanic_51/usr/src/cmd/sgs/liblddbg/common/ |
H A D | move.c | 143 const char *sname; in Dbg_move_entry2() local 149 sname = name; in Dbg_move_entry2() 151 sname = MSG_INTL(MSG_STR_UNKNOWN); in Dbg_move_entry2() 155 EC_LWORD(mv->m_value), sname); in Dbg_move_entry2()
|
H A D | bindings.c | 203 const char *sname) in Dbg_bind_pltpad_to() argument 211 NAME(lmp), dfile, sname); in Dbg_bind_pltpad_to() 215 Dbg_bind_pltpad_from(Rt_map *lmp, Addr pltpad, const char *sname) in Dbg_bind_pltpad_from() argument 223 NAME(lmp), sname); in Dbg_bind_pltpad_from()
|
/titanic_51/usr/src/tools/ctf/cvt/ |
H A D | output.c | 497 char *sname; in write_file() local 500 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); in write_file() 501 if (sname == NULL) { in write_file() 506 if (strcmp(sname, CTF_ELF_SCN_NAME) == 0) { in write_file() 517 curnmoff += strlen(sname) + 1; in write_file() 524 char *sname; in write_file() local 556 sname = elf_strptr(src, sehdr.e_shstrndx, shdr.sh_name); in write_file() 557 if (sname == NULL) { in write_file() 562 elfterminate(srcname, "Cannot get sect %s data", sname); in write_file() 564 elfterminate(dstname, "Can't make sect %s data", sname); in write_file() [all...] |
/titanic_51/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 384 char sname[SNAME_SZ]; /* name of service */ local 406 memset(sname, 0, sizeof (sname)); 409 if (!(getstr(fp, sname, SNAME_SZ) > 0 && 419 sname, sinst, srealm, 481 char sname[SNAME_SZ]; local 544 sname, sinst, srealm); 547 fwrite(sname, strlen(sname) + 1, 1, fp);
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | send_tgs.c | 42 sname is used for sname " " " 136 krb5_const_principal sname, krb5_address *const *addrs, in krb5_send_tgs() argument 143 sname, addrs, in krb5_send_tgs() 158 krb5_const_principal sname, krb5_address *const *addrs, in krb5_send_tgs2() argument 189 tgsreq.server = (krb5_principal) sname; in krb5_send_tgs2() 233 if ((retval = krb5_get_tgs_ktypes(context, sname, &(tgsreq.ktype)))) in krb5_send_tgs2() 304 krb5_princ_realm(context, sname), in krb5_send_tgs2()
|
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | trap.c | 358 register char *sname; in sig_list() local 399 if(sig > shp->sigmax || !(sname=(char*)names[sig])) in sig_list() 400 sname = sig_name(sig,name,1); in sig_list() 401 sfprintf(sfstdout,trapfmt,sh_fmtq(trap),sname); in sig_list() 415 if(!(sname=(char*)names[sig])) in sig_list() 416 sname = sig_name(sig,name,1); in sig_list() 417 sfputr(sfstdout,sname,'\n'); in sig_list()
|
/titanic_51/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetAdapterName.cc | 58 std::string sname = list->getHBAName(index); in Sun_fcGetAdapterName() local 59 strcpy(name, sname.c_str()); in Sun_fcGetAdapterName()
|
H A D | Sun_fcGetTgtAdapterName.cc | 58 std::string sname = list->getTgtHBAName(index); in Sun_fcGetTgtAdapterName() local 59 strcpy(name, sname.c_str()); in Sun_fcGetTgtAdapterName()
|
/titanic_51/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_pathname.c | 660 * Parse path: pname\\fname:sname:stype 667 * including the stream type and preceding colon: :sname:%DATA 676 char *pname, *fname, *sname; in smb_pathname_init() local 714 * find sname and stype in fname. in smb_pathname_init() 715 * sname can't be NULL smb_is_stream_name checks this in smb_pathname_init() 717 sname = strchr(fname, ':'); in smb_pathname_init() 718 if (sname == fname) in smb_pathname_init() 721 *sname = '\0'; in smb_pathname_init() 724 *sname = ':'; in smb_pathname_init() 727 pn->pn_sname = smb_pathname_strdup(sr, sname); in smb_pathname_init() 999 char *fname, *sname, *stype; smb_stream_parse_name() local [all...] |
H A D | smb_fsops.c | 286 char *fname, *sname; in smb_fsop_create() local 319 sname = kmem_alloc(MAXNAMELEN, KM_SLEEP); in smb_fsop_create() 320 smb_stream_parse_name(name, fname, sname); in smb_fsop_create() 323 fname, sname, flags, attr, ret_snode); in smb_fsop_create() 326 kmem_free(sname, MAXNAMELEN); in smb_fsop_create() 353 * Create NTFS named stream file (sname) on unnamed stream 370 smb_node_t *dnode, char *fname, char *sname, int flags, in smb_fsop_create_stream() argument 396 /* create the named stream, sname */ in smb_fsop_create_stream() 397 rc = smb_vop_stream_create(fnode->vp, sname, attr, in smb_fsop_create_stream() 421 vp, sname); in smb_fsop_create_stream() 673 char *sname; smb_fsop_remove() local 1724 char *sname; smb_fsop_lookup_name() local [all...] |
/titanic_51/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kadm5_create.c | 59 char *sname, int attrs, int lifetime); 398 char *sname, int attrs, int lifetime) in add_admin_sname_princ() argument 403 if (ret = krb5_sname_to_principal(context, NULL, sname, in add_admin_sname_princ() 407 "service name for %s principal\n"), sname); in add_admin_sname_princ()
|
/titanic_51/usr/src/cmd/acct/ |
H A D | acctcon1.c | 72 char sname[LSZ]; /* reasons for ACCOUNTING records */ member 294 for (i = 0; i < nsys && !EQN(wb.ut_line, sy[i].sname); i++) in bootshut() 303 CPYN(sy[i].sname, wb.ut_line); in bootshut() 428 sizeof (sy[i].sname), sy[i].sname); in printrep()
|
/titanic_51/usr/src/cmd/svc/startd/ |
H A D | expand.c | 365 char *sname; in expand_token() local 391 sname = malloc(sname_len + 1); in expand_token() 392 if (sname == NULL) { in expand_token() 399 szret = scf_service_get_name(svc, sname, sname_len + 1); in expand_token() 403 free(sname); in expand_token() 410 *retstr = sname; in expand_token()
|