/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | pname_to_uid.c | 60 char lname[256]; local 78 sizeof (lname), lname); 85 if (pw = getpwnam(lname))
|
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | erie.c | 448 char lname[MAXSTRLEN]; local 451 err = picl_get_propval_by_name(nodeh, PICL_PROP_NAME, &lname, size); 453 (void) strcpy(lname, ""); 464 if (strcmp(lname, binding_name) != 0) { 465 (void) strlcat(lname, "-", MAXSTRLEN); 466 (void) strlcat(lname, binding_name, MAXSTRLEN); 475 (void) strlcat(lname, "-", MAXSTRLEN); 476 (void) strlcat(lname, compatible, MAXSTRLEN); 484 (void) strcpy(name, lname);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 96 * to generate a lname. 102 db_an_to_ln(context, dbname, aname, lnsize, lname) 107 char *lname; 134 strncpy(lname, contents.dptr, lnsize); 137 else if (lname[contents.dsize-1] != '\0') 566 /* Handle aname to lname translations for RULE rules. */ 569 const unsigned int lnsize, char *lname) 594 if (strlcpy(lname, outstring, lnsize) >= lnsize) 651 * that name is returned as the lname. 654 default_an_to_ln(krb5_context context, krb5_const_principal aname, const unsigned int lnsize, char *lname) argument 568 rule_an_to_ln(krb5_context context, char *rule, krb5_const_principal aname, const unsigned int lnsize, char *lname) argument 719 krb5_aname_to_localname(krb5_context context, krb5_const_principal aname, int lnsize_in, char *lname) argument [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 1397 char lname[PATH_MAX], buf[PATH_MAX]; local 1401 if (Pread_string(P, lname, PATH_MAX, (off_t)rlp->rl_nameaddr) <= 0) { 1407 lname, (void *)rlp->rl_base); 1438 if (lname[0] != '\0') { 1442 * file_info_t is unnamed, name it after the lname. 1445 (void) strncpy(mp->map_pmap.pr_mapname, lname, PRMAPSZ); 1450 fp->file_lname = strdup(lname);
|
H A D | Pcontrol.c | 2684 read_lfile(struct ps_prochandle *P, const char *lname) argument 2694 (int)P->status.pr_pid, lname);
|
H A D | Psymtab.c | 382 map_set(struct ps_prochandle *P, map_info_t *mptr, const char *lname) argument 408 (fptr->file_lname = strdup(lname)) != NULL) 2675 const char *lname; local 2678 lname = fptr->file_rname; 2680 lname = fptr->file_lname; 2682 lname = ""; 2687 if ((rc = func(cd, &mptr->map_pmap, lname)) != 0)
|
/osnet-11/usr/src/lib/libdevalloc/common/ |
H A D | libdevalloc.c | 1978 char *lasts, *lname, *oldlist; local 2023 for (lname = strtok_r(oldlist, " ", &lasts); 2024 lname != NULL; 2025 lname = strtok_r(NULL, " ", &lasts)) { 2026 if (stat(lname, &rmstat) != 0) { 2058 for (lname = strtok_r(oldlist, " ", &lasts); 2059 lname != NULL; 2060 lname = strtok_r(NULL, " ", &lasts)) { 2061 if (strcmp(lname, link) == 0) 2063 nlen = strlen(lname) [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | scf_tmpl.c | 709 char *lname = NULL; local 723 lname = malloc(lsz); 724 if (lname == NULL) { 729 (void) strlcpy(lname, name, lsz); 730 if (strlcat(lname, loc, lsz) >= lsz) { 732 free(lname); 733 lname = NULL; 738 return (lname);
|