Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 1076) sorted by relevance

12345678910>>...44

/titanic_50/usr/src/lib/print/libipp-core/common/
H A Dstrings.c274 (void) strlcpy(ret, tag_strings[id], len); in ipp_tag_string()
276 (void) strlcpy(ret, "extension", len); in ipp_tag_string()
287 (void) strlcpy(ret, opid_strings[id], len); in ipp_opid_string()
291 (void) strlcpy(ret, in ipp_opid_string()
319 (void) strlcpy(ret, ok_status_strings[id], len); in ipp_status_string()
321 (void) strlcpy(ret, in ipp_status_string()
324 (void) strlcpy(ret, in ipp_status_string()
327 (void) strlcpy(ret, in ipp_status_string()
/titanic_50/usr/src/lib/libproc/common/
H A DPzone.c177 (void) strlcpy(path, pn->pn_path, PATH_MAX); in pn_pop()
245 (void) strlcpy(s, P->zoneroot, n); in Pzoneroot()
256 (void) strlcpy(s, P->zoneroot, n); in Pzoneroot()
268 (void) strlcpy(s, P->zoneroot, n); in Pzoneroot()
281 (void) strlcpy(s, P->zoneroot, n); in Pzoneroot()
285 (void) strlcpy(zpath, tmp, sizeof (zpath)); in Pzoneroot()
292 (void) strlcpy(s, P->zoneroot, n); in Pzoneroot()
326 (void) strlcpy(tmp, path, sizeof (tmp) - 1); in Plofspath()
396 (void) strlcpy(tmp2, special, sizeof (tmp2) - 1); in Plofspath()
402 (void) strlcpy(tmp, tmp2, sizeof (tmp) - 1); in Plofspath()
[all …]
/titanic_50/usr/src/lib/pam_modules/authtok_check/
H A Drules.c133 (void) strlcpy(area, string, PATH_MAX); in Pluralise()
371 (void) strlcpy(area, input, PATH_MAX); in Mangle()
378 (void) strlcpy(area, Reverse(area), PATH_MAX); in Mangle()
381 (void) strlcpy(area, Uppercase(area), PATH_MAX); in Mangle()
384 (void) strlcpy(area, Lowercase(area), PATH_MAX); in Mangle()
387 (void) strlcpy(area, Capitalise(area), in Mangle()
391 (void) strlcpy(area, Pluralise(area), PATH_MAX); in Mangle()
397 (void) strlcpy(area2, area, PATH_MAX); in Mangle()
431 (void) strlcpy(area2 + 1, area, in Mangle()
433 (void) strlcpy(area, area2, PATH_MAX); in Mangle()
[all …]
/titanic_50/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c91 (void) strlcpy(strresult, "Request was truncated", in process_chpw_request()
131 (void) strlcpy(strresult, "Request was truncated in AP-REQ", in process_chpw_request()
148 (void) strlcpy(strresult, "Failed initializing auth context", in process_chpw_request()
161 (void) strlcpy(strresult, "Failed initializing auth context", in process_chpw_request()
174 (void) strlcpy(strresult, in process_chpw_request()
211 (void) strlcpy(strresult, "Failed reading application request", in process_chpw_request()
224 (void) strlcpy(strresult, in process_chpw_request()
251 (void) strlcpy(strresult, in process_chpw_request()
269 (void) strlcpy(strresult, in process_chpw_request()
302 (void) strlcpy(strresult, in process_chpw_request()
[all …]
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dstpaul.c118 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes)); in stpaul_pci_callback()
127 (void) strlcpy(name, "", sizeof (name)); in stpaul_pci_callback()
206 (void) strlcpy(pci_card.name, name, sizeof (pci_card.name)); in stpaul_pci_callback()
213 (void) strlcpy(model, "", sizeof (model)); in stpaul_pci_callback()
216 (void) strlcpy(pci_card.model, model, sizeof (pci_card.model)); in stpaul_pci_callback()
344 (void) strlcpy(device_path, path, sizeof (device_path)); in stpaul_hw_rev_callback()
372 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
374 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
376 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
378 (void) strlcpy(card->bus_type, "PCIE", sizeof (card->bus_type)); in get_bus_type()
[all …]
/titanic_50/usr/src/lib/libast/common/string/
H A Dstrlcpy.c27 #define strlcpy ______strlcpy macro
31 #undef strlcpy
38 NoN(strlcpy)
53 strlcpy(register char* s, register const char* t, register size_t n)
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c146 (void) strlcpy(shr_name, username, sizeof (shr_name)); in smb_autohome_add_private()
164 (void) strlcpy(si.shr_path, ai->ah_path, MAXPATHLEN); in smb_autohome_add_private()
167 (void) strlcpy(si.shr_name, username, MAXNAMELEN); in smb_autohome_add_private()
168 (void) strlcpy(si.shr_container, ai->ah_container, MAXPATHLEN); in smb_autohome_add_private()
169 (void) strlcpy(si.shr_cmnt, "Autohome", SMB_SHARE_CMNT_MAX); in smb_autohome_add_private()
402 (void) strlcpy(key, buf, SMB_AUTOHOME_KEYSIZ); in smb_autohome_keysub()
416 (void) strlcpy(key, name, SMB_AUTOHOME_KEYSIZ); in smb_autohome_keysub()
425 (void) strlcpy(ampersand, key, bufsize); in smb_autohome_keysub()
472 if (strlcpy(buf, si->shr_container, MAXPATHLEN) == 0) in smb_autohome_parse_options()
518 (void) strlcpy(si->shr_cmnt, (value + 12), in smb_autohome_parse_options()
[all …]
/titanic_50/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c185 (void) strlcpy(entry.pkg_class, def_class, sizeof (entry.pkg_class)); in output()
186 (void) strlcpy(entry.path, path, PATH_MAX); in output()
189 (void) strlcpy(entry.ainfo.owner, BADOWNER, sizeof (entry.ainfo.owner)); in output()
190 (void) strlcpy(entry.ainfo.group, BADGROUP, sizeof (entry.ainfo.group)); in output()
239 (void) strlcpy(entry.ainfo.local, entry.path, in output()
245 (void) strlcpy(entry.path, local, PATH_MAX); in output()
248 (void) strlcpy(entry.path, in output()
291 (void) strlcpy(local, pt, sizeof (local)); in follow()
428 (void) strlcpy(tptr, in scan_raw_ln()
432 (void) strlcpy(tptr, targ_ptr, in scan_raw_ln()
[all …]
/titanic_50/usr/src/cmd/svc/startd/
H A Denv.c278 (void) strlcpy(*np, path, sz); in set_smf_env()
285 (void) strlcpy(*np, "SMF_FMRI=", sz); in set_smf_env()
293 (void) strlcpy(*np, "SMF_METHOD=", sz); in set_smf_env()
300 (void) strlcpy(*np, "SMF_RESTARTER=", sz); in set_smf_env()
306 (void) strlcpy(*np, "SMF_ZONENAME=", sz); in set_smf_env()
314 (void) strlcpy(*np, *p, sz); in set_smf_env()
330 (void) strlcpy(*dup_pos, *p, sz); in set_smf_env()
334 (void) strlcpy(*np, *p, sz); in set_smf_env()
/titanic_50/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c118 strlcpy(method, "ipp", methodlen); in httpSeparate2()
140 strlcpy(resource, ptr, resourcelen); in httpSeparate2()
155 strlcpy(resource, uri, resourcelen); in httpSeparate2()
160 strlcpy(method, "http", methodlen); in httpSeparate2()
165 strlcpy(method, host, methodlen); in httpSeparate2()
174 strlcpy(resource, uri, resourcelen); in httpSeparate2()
/titanic_50/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c130 (void) strlcpy(zc.zc_name, name, sizeof (zc.zc_name)); in lzc_ioctl()
229 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_snapshot()
279 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_destroy_snaps()
304 (void) strlcpy(fs, firstsnap, sizeof (fs)); in lzc_snaprange_space()
331 (void) strlcpy(zc.zc_name, dataset, sizeof (zc.zc_name)); in lzc_exists()
374 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_hold()
419 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_release()
569 (void) strlcpy(zc.zc_name, snapname, sizeof (zc.zc_name)); in recv_impl()
585 (void) strlcpy(zc.zc_value, snapname, sizeof (zc.zc_value)); in recv_impl()
596 (void) strlcpy(zc.zc_string, origin, sizeof (zc.zc_string)); in recv_impl()
[all …]
/titanic_50/usr/src/lib/sun_sas/common/
H A DSun_sasGetVendorLibraryAttributes.c42 (void) strlcpy(attrs->LibPath, SUN_SMHBA_VENDOR_LIB_PATH, in Sun_sasGetVendorLibraryAttributes()
44 (void) strlcpy(attrs->VName, SUN_SMHBA_VENDOR_LIB, in Sun_sasGetVendorLibraryAttributes()
46 (void) strlcpy(attrs->VVersion, SUN_SMHBA_VENDOR_LIB_VERSION, in Sun_sasGetVendorLibraryAttributes()
H A Ddevtree_hba_disco.c162 (void) strlcpy(port_ptr->device_path, portDevpath, MAXPATHLEN + 1); in add_hba_port_info()
166 (void) strlcpy(port_ptr->port_attributes.OSDeviceName, cntlLink, in add_hba_port_info()
411 (void) strlcpy(new_hba->device_path, hbaDevpath, in devtree_get_one_hba()
422 (void) strlcpy(new_hba->adapter_attributes.Manufacturer, in devtree_get_one_hba()
426 (void) strlcpy(new_hba->adapter_attributes.Manufacturer, in devtree_get_one_hba()
436 (void) strlcpy(new_hba->adapter_attributes.SerialNumber, in devtree_get_one_hba()
446 (void) strlcpy(new_hba->adapter_attributes.Model, in devtree_get_one_hba()
458 (void) strlcpy(new_hba->adapter_attributes.FirmwareVersion, in devtree_get_one_hba()
470 (void) strlcpy(new_hba->adapter_attributes.HardwareVersion, in devtree_get_one_hba()
482 (void) strlcpy(new_hba->adapter_attributes.DriverVersion, in devtree_get_one_hba()
[all …]
/titanic_50/usr/src/cmd/svr4pkg/libinst/
H A Dlockinst.c127 (void) strlcpy(lock_name, LOCK_NAME_OLD_PKG, in rdlockdata()
130 (void) strlcpy(lock_pkg, LOCK_PKG_UNKNOWN, in rdlockdata()
133 (void) strlcpy(lock_place, LOCK_PLACE_UNKNOWN, in rdlockdata()
226 (void) strlcpy(lock_name, (util_name) ? in lockinst()
229 (void) strlcpy(lock_pkg, (pkg_name) ? in lockinst()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_hc.c100 (void) strlcpy(buf, info->hci_name, bufsize); in print_hc()
195 (void) strlcpy(buf, srv->hcs_rule_name, bufsize); in print_hc_result()
198 (void) strlcpy(buf, srv->hcs_hc_name, bufsize); in print_hc_result()
201 (void) strlcpy(buf, srv->hcs_ID, bufsize); in print_hc_result()
206 (void) strlcpy(buf, "un-init", bufsize); in print_hc_result()
209 (void) strlcpy(buf, "unreach", bufsize); in print_hc_result()
212 (void) strlcpy(buf, "alive", bufsize); in print_hc_result()
215 (void) strlcpy(buf, "dead", bufsize); in print_hc_result()
218 (void) strlcpy(buf, "disabled", bufsize); in print_hc_result()
401 (void) strlcpy(hc_info.hci_name, argv[optind], in ilbadm_create_hc()
/titanic_50/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Ddirname.c50 (void)strlcpy(bname, ".", sizeof bname);
65 (void)strlcpy(bname, *endp == '/' ? "/" : ".", sizeof bname);
77 strlcpy(bname, path, endp - path + 2);
/titanic_50/usr/src/lib/libilb/common/
H A Dilb_rules.c114 (void) strlcpy(rl->rl_name, rd->r_name, sizeof (rl->rl_name)); in ilb_create_rule()
115 (void) strlcpy(rl->rl_sgname, rd->r_sgname, sizeof (rl->rl_sgname)); in ilb_create_rule()
116 (void) strlcpy(rl->rl_hcname, rd->r_hcname, sizeof (rl->rl_hcname)); in ilb_create_rule()
166 (void) strlcpy((char *)&ic->ic_data, name, in i_ilb_rule_action()
246 (void) strlcpy((char *)&ic->ic_data, name, sizeof (ilbd_name_t)); in i_ilb_walk_one_rule()
261 (void) strlcpy(rd.r_name, rl->rl_name, sizeof (rd.r_name)); in i_ilb_walk_one_rule()
262 (void) strlcpy(rd.r_hcname, rl->rl_hcname, sizeof (rd.r_hcname)); in i_ilb_walk_one_rule()
263 (void) strlcpy(rd.r_sgname, rl->rl_sgname, sizeof (rd.r_sgname)); in i_ilb_walk_one_rule()
H A Dilb_sg.c52 (void) strlcpy((char *)&ic->ic_data, sgname, sizeof (ilbd_name_t)); in i_ilb_addrem_sg()
101 (void) strlcpy(sg->sg_name, sgname, sizeof (sg->sg_name)); in i_ilb_addrem_server_to_group()
116 (void) strlcpy(sgs->sgs_srvID, srv->sd_srvID, in i_ilb_addrem_server_to_group()
190 (void) strlcpy((char *)&ic->ic_data, sgname, sizeof (ilbd_name_t)); in i_ilb_retrieve_sg_hosts()
239 (void) strlcpy(sgd.sgd_name, sg_info->sg_name, in i_ilb_walk_one_sg()
256 (void) strlcpy(sd.sd_srvID, srv->sgs_srvID, in i_ilb_walk_one_sg()
365 (void) strlcpy(sgs->sgs_srvID, srv->sd_srvID, sizeof (sgs->sgs_srvID)); in ilb_Xable_server()
422 (void) strlcpy(sg_info->sg_name, sgname, sizeof (sg_info->sg_name)); in i_ilb_fillin_srvdata()
427 (void) strlcpy(sgs->sgs_srvID, srv->sd_srvID, in i_ilb_fillin_srvdata()
441 (void) strlcpy(srv->sd_srvID, sgs->sgs_srvID, in i_ilb_fillin_srvdata()
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c105 (void) strlcpy(ioc.nbdomain, cfg->skc_nbdomain, sizeof (ioc.nbdomain)); in smb_kmod_setcfg()
106 (void) strlcpy(ioc.fqdn, cfg->skc_fqdn, sizeof (ioc.fqdn)); in smb_kmod_setcfg()
107 (void) strlcpy(ioc.hostname, cfg->skc_hostname, sizeof (ioc.hostname)); in smb_kmod_setcfg()
108 (void) strlcpy(ioc.system_comment, cfg->skc_system_comment, in smb_kmod_setcfg()
209 (void) strlcpy(ioc.shrname, shrname, MAXNAMELEN); in smb_kmod_shareinfo()
228 (void) strlcpy(ioc.qualifier, opennum->qualifier, MAXNAMELEN); in smb_kmod_get_open_num()
251 (void) strlcpy(username, ioc.username, MAXNAMELEN); in smb_kmod_get_spool_doc()
252 (void) strlcpy(path, ioc.path, MAXPATHLEN); in smb_kmod_get_spool_doc()
428 (void) strlcpy(ioc.client, client, MAXNAMELEN); in smb_kmod_session_close()
430 (void) strlcpy(ioc.username, username, MAXNAMELEN); in smb_kmod_session_close()
/titanic_50/usr/src/lib/libadm/common/
H A Dputprmpt.c47 (void) strlcpy(buffer, defstr ? defstr : "No default prompt.", in putprmpt()
59 (void) strlcpy(buffer, prompt, sizeof (buffer)); in putprmpt()
61 (void) strlcpy(buffer, "", sizeof (buffer)); in putprmpt()
/titanic_50/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c94 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file()
103 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file()
112 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file()
/titanic_50/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c173 (void) strlcpy(tar_hdr->th_name, "UFSACL", TLM_NAME_SIZE); in output_acl_header()
182 (void) strlcpy(tar_hdr->th_magic, TLM_MAGIC, in output_acl_header()
287 (void) strlcpy(tar_hdr->th_name, section_name, TLM_NAME_SIZE); in output_xattr_header()
300 (void) strlcpy(tar_hdr->th_magic, TLM_MAGIC, in output_xattr_header()
333 (void) strlcpy(xbuf->h_names, fname, TLM_NAME_SIZE); in output_xattr_header()
334 (void) strlcpy(&xbuf->h_names[strlen(fname) + 1], aname, in output_xattr_header()
374 (void) strlcpy(section_name, name, TLM_MAX_PATH_NAME); in output_file_header()
423 (void) strlcpy(tar_hdr->th_magic, TLM_MAGIC, in output_file_header()
466 (void) strlcpy(tar_hdr->th_magic, TLM_MAGIC, in output_file_header()
488 (void) strlcpy(tar_hdr->th_name, section_name, TLM_NAME_SIZE); in output_file_header()
[all …]
/titanic_50/usr/src/lib/libipadm/common/
H A Dipadm_if.c61 (void) strlcpy(cifname, ifap->ifa_name, sizeof (cifname)); in i_ipadm_is_if_down()
130 (void) strlcpy(ifp->ifi_name, lifrp->lifr_name, in i_ipadm_active_if_info()
144 (void) strlcpy(lifrl.lifr_name, in i_ipadm_active_if_info()
201 (void) strlcpy(getif.ia_ifname, ifname, LIFNAMSIZ); in i_ipadm_persist_if_info()
471 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_create_ipmp()
473 (void) strlcpy(lifr.lifr_groupname, grname, LIFGRNAMSIZ); in i_ipadm_create_ipmp()
509 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_create_ipmp_peer()
513 (void) strlcpy(lifgr.gi_grname, lifr.lifr_groupname, LIFGRNAMSIZ); in i_ipadm_create_ipmp_peer()
544 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_slifname_arp()
655 (void) strlcpy(lifr.lifr_name, ifname, sizeof (lifr.lifr_name)); in i_ipadm_slifname()
[all …]
/titanic_50/usr/src/lib/libdevinfo/
H A Ddevinfo_realpath.c98 left_len = strlcpy(left, path + 1, sizeof (left)); in s_realpath()
101 (void) strlcpy(resolved, ".", PATH_MAX); in s_realpath()
105 left_len = strlcpy(left, path, sizeof (left)); in s_realpath()
231 left_len = strlcpy(left, symlink, sizeof (left)); in s_realpath()
/titanic_50/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_shr.c46 (void) strlcpy(si.shr_name, name, MAXNAMELEN); in new_share()
47 (void) strlcpy(si.shr_path, path, MAXPATHLEN); in new_share()
48 (void) strlcpy(si.shr_cmnt, comment, SMB_SHARE_CMNT_MAX); in new_share()

12345678910>>...44