/busybox-1.35.0/libbb/ |
D | utmp.c | 27 safe_strncpy(utent.ut_line, tty_name, sizeof(utent.ut_line)); in write_new_utmp() 29 safe_strncpy(utent.ut_user, username, sizeof(utent.ut_user)); in write_new_utmp() 31 safe_strncpy(utent.ut_host, hostname, sizeof(utent.ut_host)); in write_new_utmp() 115 safe_strncpy(utent.ut_line, skip_dev_pfx(tty_name), sizeof(utent.ut_line)); in update_utmp() 117 safe_strncpy(utent.ut_user, username, sizeof(utent.ut_user)); in update_utmp() 119 safe_strncpy(utent.ut_host, hostname, sizeof(utent.ut_host)); in update_utmp()
|
D | safe_strncpy.c | 12 char* FAST_FUNC safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() function
|
D | getpty.c | 28 safe_strncpy(line, name, GETPTY_BUFSIZE); in xgetpty()
|
D | bb_strtod.c | 73 safe_strncpy(buf, arg, 10);
|
D | find_root_device.c | 43 safe_strncpy(ap->devpath + len, entry->d_name, rem); in find_block_device_in_dir()
|
D | loop.c | 193 safe_strncpy((char *)loopinfo.lo_file_name, file, LO_NAME_SIZE); in set_loop()
|
D | xconnect.c | 197 safe_strncpy(sun->sun_path, host + 6, sizeof(sun->sun_path)); 225 host = safe_strncpy(alloca(sz), host, sz);
|
D | procps.c | 54 safe_strncpy(cp->cache[i].name, x2x_utoa(id), sizeof(cp->cache[i].name)); in get_cached() 387 safe_strncpy(sp->comm, comm1 + 1, sizeof(sp->comm)); in procps_scan()
|
D | Kbuild.src | 84 lib-y += safe_strncpy.o
|
/busybox-1.35.0/procps/ |
D | ps.c | 214 safe_strncpy(buf, get_cached_username(ps->uid), size+1); in func_user() 224 safe_strncpy(buf, user, size+1); in func_user() 232 safe_strncpy(buf, get_cached_groupname(ps->gid), size+1); in func_group() 237 safe_strncpy(buf, ps->comm, size+1); in func_comm() 242 safe_strncpy(buf, ps->state, size+1); in func_state() 300 safe_strncpy(buf, get_cached_groupname(ps->rgid), size+1); in func_rgroup() 304 safe_strncpy(buf, get_cached_username(ps->ruid), size+1); in func_ruser() 368 safe_strncpy(buf, ps->context ? ps->context : "unknown", size+1); in func_label()
|
D | lsof.c | 67 safe_strncpy(name + baseofs, entry->d_name, 10); in lsof_main()
|
/busybox-1.35.0/modutils/ |
D | rmmod.c | 68 safe_strncpy(modname, bname, MODULE_NAME_LEN); in rmmod_main()
|
/busybox-1.35.0/loginutils/ |
D | cryptpw.c | 120 safe_strncpy(salt_ptr, opt_S, sizeof(salt) - (sizeof("$N$")-1)); in cryptpw_main()
|
D | login.c | 370 safe_strncpy(username, opt_user, sizeof(username)); in login_main() 374 safe_strncpy(username, argv[0], sizeof(username)); in login_main() 462 safe_strncpy(username, pamuser, sizeof(username)); in login_main() 488 safe_strncpy(username, "UNKNOWN", sizeof(username)); in login_main()
|
/busybox-1.35.0/e2fsprogs/ |
D | tune2fs.c | 78 safe_strncpy((char *)sb->s_volume_name, label, sizeof(sb->s_volume_name)); in tune2fs_main()
|
/busybox-1.35.0/coreutils/ |
D | who.c | 136 safe_strncpy(ut->ut_line[0] == '/' ? name : name + sizeof("/dev/")-1, in who_main()
|
/busybox-1.35.0/init/ |
D | halt.c | 115 safe_strncpy(utmp.ut_host, uts.release, sizeof(utmp.ut_host)); in write_wtmp()
|
/busybox-1.35.0/util-linux/ |
D | mkswap.c | 163 safe_strncpy(hdr->sws_volume, label, 16); in mkswap_main()
|
D | last_fancy.c | 59 safe_strncpy(login_time, ctime(&tmp), 17); in show_entry()
|
D | mkfs_reiser.c | 246 safe_strncpy((char *)sb->s_label, label, sizeof(sb->s_label)); in mkfs_reiser_main()
|
/busybox-1.35.0/networking/udhcp/ |
D | arpping.c | 82 safe_strncpy(addr.sa_data, interface, sizeof(addr.sa_data)); in arpping()
|
/busybox-1.35.0/libpwdgrp/ |
D | uidgid_get.c | 44 safe_strncpy(user, ug, sz); in get_uidgid()
|
/busybox-1.35.0/networking/ |
D | zcip.c | 310 safe_strncpy(G.iface_sockaddr.sa_data, argv_intf, sizeof(G.iface_sockaddr.sa_data)); in zcip_main()
|
/busybox-1.35.0/archival/ |
D | tar.c | 320 safe_strncpy(header.uname, get_cached_username(statbuf->st_uid), sizeof(header.uname)); in writeTarHeader() 321 safe_strncpy(header.gname, get_cached_groupname(statbuf->st_gid), sizeof(header.gname)); in writeTarHeader()
|
/busybox-1.35.0/shell/ |
D | math.c | 640 safe_strncpy(numstackptr->var, expr, var_name_size); in evaluate_string()
|