/titanic_44/usr/src/cmd/avs/rdc/ |
H A D | sndrboot.c | 216 (void) strncpy(fromfile, in sndrboot_lintmain() 218 (void) strncpy(tofile, in sndrboot_lintmain() 220 (void) strncpy(frombitmap, in sndrboot_lintmain() 222 (void) strncpy(fromhost, in sndrboot_lintmain() 224 (void) strncpy(tohost, in sndrboot_lintmain() 226 (void) strncpy(tobitmap, in sndrboot_lintmain() 228 (void) strncpy(directfile, in sndrboot_lintmain() 230 (void) strncpy(diskqueue, in sndrboot_lintmain() 232 (void) strncpy(group, in sndrboot_lintmain() 234 (void) strncpy(lhost, in sndrboot_lintmain() [all …]
|
H A D | sndradm.c | 424 (void) strncpy(pair_list[i].group, args[j + 1], in parse_extras() 433 (void) strncpy(pair_list[i].ctag, args[j + 1], in parse_extras() 441 (void) strncpy(pair_list[i].diskqueue, args[j + 1], in parse_extras() 491 (void) strncpy(lghn, p, len); in parse_cfg_buf() 519 (void) strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); in ctag_check() 521 (void) strncpy(toname, hp->h_name, MAXHOSTNAMELEN); in ctag_check() 550 (void) strncpy(ctag, file_dgname, MAX_RDC_HOST_SIZE); in ctag_check() 717 (void) strncpy(newq, diskqueue, NSC_MAXPATH); in check_diskqueue() 760 (void) strncpy(pair_list[newpair].diskqueue, in pair_diskqueue_check() 770 (void) strncpy(pair_list[j].diskqueue, in pair_diskqueue_check() [all …]
|
/titanic_44/usr/src/cmd/ttymon/ |
H A D | tmutmp.c | 71 (void) strncpy(&up->ut_user[1], Tag, sizeof (up->ut_user)-1); 72 (void) strncpy(up->ut_line, lastname(line), sizeof (up->ut_line)); 100 (void) strncpy(buf, lastname(line), sizeof (u->ut_line)); in checkut_line() 107 strncpy(ttyn, u->ut_line, sizeof (u->ut_line)); in checkut_line() 140 strncpy(user, up->ut_user, sizeof (up->ut_user)); 142 strncpy(ttyn, up->ut_line, sizeof (up->ut_line)); 144 strncpy(rhost, up->ut_host, sizeof (up->ut_host)); 195 (void) strncpy(u->ut_line, lastname(line), 197 (void) strncpy(u->ut_user, "LOGIN",
|
/titanic_44/usr/src/lib/librdc/common/ |
H A D | rdcconfig.c | 134 strncpy(urdc.primary.intf, rdc->phost, MAX_RDC_HOST_SIZE); in config2set() 135 strncpy(urdc.primary.file, rdc->pfile, NSC_MAXPATH); in config2set() 136 strncpy(urdc.primary.bitmap, rdc->pbmp, NSC_MAXPATH); in config2set() 137 strncpy(urdc.secondary.intf, rdc->shost, MAX_RDC_HOST_SIZE); in config2set() 138 strncpy(urdc.secondary.file, rdc->sfile, NSC_MAXPATH); in config2set() 139 strncpy(urdc.secondary.bitmap, rdc->sbmp, NSC_MAXPATH); in config2set() 140 strncpy(urdc.group_name, rdc->group, NSC_MAXPATH); in config2set() 178 strncpy(rc.set.phost, set->primary.intf, MAX_RDC_HOST_SIZE); in rdc_config() 179 strncpy(rc.set.pfile, set->primary.file, NSC_MAXPATH); in rdc_config() 180 strncpy(rc.set.shost, set->secondary.intf, MAX_RDC_HOST_SIZE); in rdc_config() [all …]
|
H A D | rdcpersist.c | 152 strncpy(svc.svc_path, vol, sizeof (svc.svc_path)); in sv_enable_one_nocfg() 190 strncpy(vol, rdc->pfile, NSC_MAXPATH); in sv_enable_nocfg() 191 strncpy(bmp, rdc->pbmp, NSC_MAXPATH); in sv_enable_nocfg() 193 strncpy(vol, rdc->sfile, NSC_MAXPATH); in sv_enable_nocfg() 194 strncpy(bmp, rdc->sbmp, NSC_MAXPATH); in sv_enable_nocfg() 209 strncpy(svcv.svc_path, vol, sizeof (svcv.svc_path)); in sv_enable_nocfg() 210 strncpy(svcb.svc_path, bmp, sizeof (svcb.svc_path)); in sv_enable_nocfg() 275 strncpy(vol, rdc->pfile, NSC_MAXPATH); in do_autosv_enable() 276 strncpy(bmp, rdc->pbmp, NSC_MAXPATH); in do_autosv_enable() 278 strncpy(vol, rdc->sfile, NSC_MAXPATH); in do_autosv_enable() [all …]
|
H A D | rdcrules.c | 314 strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); in ctag_check() 316 strncpy(toname, hp->h_name, MAXHOSTNAMELEN); in ctag_check() 349 strncpy(ctag, file_dgname, MAX_RDC_HOST_SIZE); in ctag_check() 529 strncpy(rc->set.phost, rdc->phost, MAX_RDC_HOST_SIZE); in cant_rsync() 530 strncpy(rc->set.pfile, rdc->pfile, NSC_MAXPATH); in cant_rsync() 531 strncpy(rc->set.pbmp, rdc->pbmp, NSC_MAXPATH); in cant_rsync() 532 strncpy(rc->set.shost, rdc->shost, MAX_RDC_HOST_SIZE); in cant_rsync() 533 strncpy(rc->set.sfile, rdc->sfile, NSC_MAXPATH); in cant_rsync() 534 strncpy(rc->set.sbmp, rdc->sbmp, NSC_MAXPATH); in cant_rsync() 540 strncpy(rc->msg, rdc_error(NULL), RDC_ERR_SIZE); in cant_rsync()
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | gtcfile.c | 76 (void) strncpy(cmfile, csave[i].file, NAMESIZE-1); in commitall() 87 (void) strncpy(csave[i].file, cmfile, NAMESIZE); in commitall() 94 (void) strncpy(jobid, BASENAME(csave[0].file, '.'), NAMESIZE); in commitall() 115 (void) strncpy(file, csave[i].file, NAMESIZE-1); 147 (void) strncpy(csave[ncsave].file, BASENAME(file, '/'), NAMESIZE-1); 148 (void) strncpy(csave[ncsave].sys, sys, NAMESIZE-1); 149 (void) strncpy (csave[ncsave].sgrade, grd, NAMESIZE-1); 182 (void) strncpy(remote, sys, NAMESIZE);
|
/titanic_44/usr/src/cmd/ypcmd/ |
H A D | ypalias.c | 68 strncpy(result, name, NAME_MAX-4); 69 strncpy(&result[NAME_MAX-4], 75 strncpy(tmpbuf, result, NAME_MAX); 98 (void) strncpy(result, name, MAXALIASLEN-4); 99 (void) strncpy(&result[MAXALIASLEN-4], 105 (void) strncpy(tmpbuf, result, MAXALIASLEN);
|
/titanic_44/usr/src/lib/krb5/kadm5/ |
H A D | chpass_util.c | 126 (void) strncpy(msg_ret, string_text(CHPASS_UTIL_NEW_PASSWORD_MISMATCH), in _kadm5_chpass_principal_util() 131 (void) strncpy(msg_ret, error_message(code), msg_len - 1); in _kadm5_chpass_principal_util() 145 strncpy(msg_ret, string_text(CHPASS_UTIL_NO_PASSWORD_READ), msg_len - 1); in _kadm5_chpass_principal_util() 187 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_CHANGED), msg_len - 1); in _kadm5_chpass_principal_util() 206 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_REUSE), msg_len - 1); in _kadm5_chpass_principal_util() 212 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_IN_DICTIONARY), in _kadm5_chpass_principal_util() 223 strncpy(msg_ret, error_message(code2), msg_len - 1); in _kadm5_chpass_principal_util() 240 strncpy(msg_ret, error_message(code), msg_len - 1 - strlen(msg_ret)); in _kadm5_chpass_principal_util() 242 strncpy(msg_ret, string_text(CHPASS_UTIL_NO_POLICY_YET_Q_ERROR), in _kadm5_chpass_principal_util() 245 strncpy(msg_ret, string_text(CHPASS_UTIL_PASSWORD_NOT_CHANGED), in _kadm5_chpass_principal_util()
|
/titanic_44/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 181 (void) strncpy(kcf_digest_mechs_tab[0].me_name, SUN_CKM_MD5, in kcf_init_mech_tabs() 185 (void) strncpy(kcf_digest_mechs_tab[1].me_name, SUN_CKM_SHA1, in kcf_init_mech_tabs() 190 (void) strncpy(kcf_cipher_mechs_tab[0].me_name, SUN_CKM_DES_CBC, in kcf_init_mech_tabs() 194 (void) strncpy(kcf_cipher_mechs_tab[1].me_name, SUN_CKM_DES3_CBC, in kcf_init_mech_tabs() 198 (void) strncpy(kcf_cipher_mechs_tab[2].me_name, SUN_CKM_DES_ECB, in kcf_init_mech_tabs() 202 (void) strncpy(kcf_cipher_mechs_tab[3].me_name, SUN_CKM_DES3_ECB, in kcf_init_mech_tabs() 206 (void) strncpy(kcf_cipher_mechs_tab[4].me_name, SUN_CKM_BLOWFISH_CBC, in kcf_init_mech_tabs() 210 (void) strncpy(kcf_cipher_mechs_tab[5].me_name, SUN_CKM_BLOWFISH_ECB, in kcf_init_mech_tabs() 214 (void) strncpy(kcf_cipher_mechs_tab[6].me_name, SUN_CKM_AES_CBC, in kcf_init_mech_tabs() 218 (void) strncpy(kcf_cipher_mechs_tab[7].me_name, SUN_CKM_AES_ECB, in kcf_init_mech_tabs() [all …]
|
/titanic_44/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | db.c | 75 (void) strncpy(Database.Current_Library, p, in db_set_current_library() 92 (void) strncpy(Database.Current_Interface, p, in db_set_current_interface() 111 (void) strncpy(Database.Source_Directory, p, in db_set_source_directory() 130 (void) strncpy(Database.Target_Directory, p, in db_set_target_directory() 147 (void) strncpy(Database.Current_File, p, in db_set_current_file() 173 (void) strncpy(Database.Output_File, p, sizeof (Database.Output_File)); in db_set_output_file() 198 (void) strncpy(buffer, Database.Current_File, sizeof (buffer)); in db_get_output_file()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclsensors.c | 290 (void) strncpy(temp_sensor.state, PICLEVENTARGVAL_UNKNOWN, in get_sensor_condition() 292 (void) strncpy((char *)bufp, PICLEVENTARGVAL_UNKNOWN, in get_sensor_condition() 302 (void) strncpy(temp_sensor.state, in get_sensor_condition() 307 (void) strncpy(temp_sensor.state, in get_sensor_condition() 311 (void) strncpy(temp_sensor.state, PICLEVENTARGVAL_OK, in get_sensor_condition() 313 (void) strncpy((char *)bufp, temp_sensor.state, in get_sensor_condition() 333 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name)); in get_sensor_thr() 373 (void) strncpy(prop_name, pi.piclinfo.name, sizeof (prop_name)); in set_sensor_thr() 514 (void) strncpy(sensor->state, in env_init_temp_sensor_values() 519 (void) strncpy(sensor->state, in env_init_temp_sensor_values() [all …]
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ktdefname.c | 55 strncpy(name, krb5_overridekeyname, namesize); in krb5_kt_default_name() 61 strncpy(name, cp, namesize); in krb5_kt_default_name() 70 strncpy(name, retval, namesize); in krb5_kt_default_name() 88 strncpy(name, krb5_defkeyname, namesize); in krb5_kt_default_name()
|
H A D | an_to_ln.c | 87 strncpy(mname, fprincname, mlen); in aname_full_to_mapping_name() 135 strncpy(lname, contents.dptr, lnsize); 231 strncpy(regexp, startp, regexlen); in aname_do_match() 303 strncpy(op, cp, match_match.rm_so); in do_replacement() 307 strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 312 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 318 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 343 strncpy(op, cp, sdispl); in do_replacement() 347 strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 352 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() [all …]
|
/titanic_44/usr/src/cmd/rexd/ |
H A D | where.c | 192 strncpy(bestname, mp.mnt_special, sizeof (bestname)); 208 strncpy(host, bestname, MAXHOSTNAMELEN); 209 strncpy(fsname, endhost, MAXPATHLEN); 228 strncpy(bestname, exp->sh_path, 233 strncpy(fsname, qualpn, bestlen); 236 strncpy(within, qualpn + bestlen, MAXPATHLEN);
|
/titanic_44/usr/src/psm/stand/boot/sparc/common/ |
H A D | inetboot.c | 106 (void) strncpy(tmpname, fn, strlen(fn)+1); in post_mountroot_nfs() 112 (void) strncpy(tmpname, ctmpname, in post_mountroot_nfs() 127 (void) strncpy(tmpname, cmd_line_boot_archive, in post_mountroot_nfs() 132 (void) strncpy(tmpname, def_boot_archive, in post_mountroot_nfs() 136 (void) strncpy(tmpname, def_miniroot, in post_mountroot_nfs()
|
/titanic_44/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetMPLogicalUnitProperties.c | 186 (void) strncpy(deviceFileName, devLink, in getDeviceFileName() 197 (void) strncpy(deviceFileName, pathName, 255); in getDeviceFileName() 316 (void) strncpy(pProps->deviceFileName, in MP_GetMPLogicalUnitProperties() 326 (void) strncpy(pProps->name, luInfo.name, sizeof (pProps->name) - 1); in MP_GetMPLogicalUnitProperties() 342 (void) strncpy(pProps->vendor, in MP_GetMPLogicalUnitProperties() 346 (void) strncpy(pProps->product, in MP_GetMPLogicalUnitProperties() 350 (void) strncpy(pProps->revision, in MP_GetMPLogicalUnitProperties()
|
/titanic_44/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 89 (void) strncpy(path, argv[1], MAXPATHLEN); in main() 110 (void) strncpy(errctl.name, buf, MAXNAMELEN); in main() 115 (void) strncpy(errctl.name, argv[1], MAXNAMELEN); in main() 191 (void) strncpy(get_handles.name, errctl.name, MAXNAMELEN); in main() 210 (void) strncpy(hdli.name, errctl.name, MAXNAMELEN); in main() 355 (void) strncpy(name, driver_name, namelen); in getnameinst() 382 (void) strncpy(warg->path, path, warg->pathlen); in walk_callback() 397 (void) strncpy(warg.name, name, MAXPATHLEN); in getpath()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | picllibdevinfo.c | 205 (void) strncpy(label, SANIBEL_NETWORK_LABEL, in create_port_config_info() 207 (void) strncpy(port_type, SANIBEL_NETWORK_PORT, in create_port_config_info() 211 (void) strncpy(label, SANIBEL_PARALLEL_PORT, in create_port_config_info() 213 (void) strncpy(port_type, SANIBEL_PARALLEL_PORT, in create_port_config_info() 217 (void) strncpy(label, SANIBEL_SERIAL_PORT, in create_port_config_info() 219 (void) strncpy(port_type, SANIBEL_SERIAL_PORT, in create_port_config_info() 368 (void) strncpy(port_info->devfs_path, devfs_path, in probe_tree() 370 (void) strncpy(port_info->bus_addr, bus_addr, in probe_tree() 372 (void) strncpy(port_info->drv_name, drv_name, in probe_tree() 580 (void) strncpy(devinfo->path, path, sizeof (devinfo->path)); in walk_tree() [all …]
|
/titanic_44/usr/src/lib/efcode/engine/ |
H A D | env.c | 339 strncpy(cdigs, dig1, nbytes); in validfmt() 557 strncpy(tbuf, fmt, bytes); in fmt_str() 558 strncpy(tbuf+bytes, "%", 1); in fmt_str() 559 strncpy(tbuf+bytes+1, fmt+bytes, 1); in fmt_str() 567 strncpy(fmtbuf, tbuf, bsize); in fmt_str() 573 strncpy(tbuf, fmt, bytes); in fmt_str() 579 strncpy(tbuf, fmt, bytes); in fmt_str() 583 strncpy(tbuf, fmt, bytes); in fmt_str() 585 strncpy(tbuf+bytes+1, fmt+bytes, 2); in fmt_str() 622 strncpy(fmtbuf, fmt, bsize); in fmt_str() [all …]
|
/titanic_44/usr/src/cmd/prstat/ |
H A D | prutil.c | 188 (void) strncpy(str, "sleep", length); in Format_state() 191 (void) strncpy(str, "run", length); in Format_state() 194 (void) strncpy(str, "zombie", length); in Format_state() 197 (void) strncpy(str, "stop", length); in Format_state() 200 (void) strncpy(str, "idle", length); in Format_state() 203 (void) strncpy(str, "wait", length); in Format_state() 209 (void) strncpy(str, "?", length); in Format_state()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 385 (void) strncpy(name, "-a", sizeof (name)); in main() 393 (void) strncpy(name, *argv, sizeof (name)); in main() 396 (void) strncpy(origname, name, sizeof (origname)); /* For addif */ in main() 560 (void) strncpy(name, ifa->ifa_name, sizeof (name)); in foreachinterface() 561 (void) strncpy(origname, name, sizeof (origname)); in foreachinterface() 598 (void) strncpy(name, lifrp->lifr_name, sizeof (name)); in plumball() 599 (void) strncpy(origname, name, sizeof (origname)); in plumball() 855 (void) strncpy(lifr.lifr_name, name, sizeof (lifr.lifr_name)); in ifconfig() 1030 (void) strncpy(lifr1.lifr_name, name, sizeof (lifr1.lifr_name)); in setifaddr() 1042 (void) strncpy(lifr.lifr_name, name, sizeof (lifr.lifr_name)); in setifaddr() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | kerberos5.c | 506 (void) strncpy(name, UserNameRequested, MAXNAMELEN); in kerberos5_status() 530 (void) strncpy((char *)buf, " REJECT ", buflen); in kerberos5_printsub() 534 (void) strncpy((char *)buf, " ACCEPT ", buflen); in kerberos5_printsub() 547 (void) strncpy((char *)buf, " AUTH", buflen); in kerberos5_printsub() 551 (void) strncpy((char *)buf, " RESPONSE", buflen); in kerberos5_printsub() 555 (void) strncpy((char *)buf, " FORWARD", buflen); in kerberos5_printsub() 559 (void) strncpy((char *)buf, " FORWARD_ACCEPT", buflen); in kerberos5_printsub() 564 (void) strncpy((char *)buf, " FORWARD_REJECT", buflen); in kerberos5_printsub() 571 (void) strncpy((char *)buf, lbuf, buflen); in kerberos5_printsub() 576 (void) strncpy((char *)buf, lbuf, buflen); in kerberos5_printsub()
|
/titanic_44/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | read.c | 89 (void) strncpy(ut->ut_line, utx->ut_line, sizeof (ut->ut_line)); in to_utmp() 90 (void) strncpy(ut->ut_name, utx->ut_user, sizeof (ut->ut_name)); in to_utmp() 91 (void) strncpy(ut->ut_host, utx->ut_host, sizeof (ut->ut_host)); in to_utmp()
|
/titanic_44/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | read.c | 94 (void) strncpy(ut->ut_line, utx->ut_line, sizeof (ut->ut_line)); in to_utmp() 95 (void) strncpy(ut->ut_name, utx->ut_user, sizeof (ut->ut_name)); in to_utmp() 96 (void) strncpy(ut->ut_host, utx->ut_host, sizeof (ut->ut_host)); in to_utmp()
|