/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | mksh.cc | 62 static void change_sunpro_dependencies_value(char *oldpath, char *newpath); 98 * from oldpath to newpath. 101 change_sunpro_dependencies_value(char *oldpath, char *newpath) argument 116 newpath,
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | audio_link.c | 179 char newpath[PATH_MAX + 1]; local 243 (void) snprintf(newpath, sizeof (newpath), "sound/%s:%d%s", 245 (void) devfsadm_mklink(newpath, node, minor, flags); 279 (void) strlcpy(devpath, newpath, sizeof (devpath));
|
H A D | cfg_link.c | 924 char *newpath; local 928 newpath = malloc(sizeof (char) * (headlen + pathlen + 1)); 929 np = newpath; 942 return (newpath);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_subr.c | 123 convert_special(char **specialp, char *host, char *oldpath, char *newpath, argument 206 p2 = newpath;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 397 make_hard_link(const char *oldpath, const char *newpath) argument 402 return link(oldpath, newpath);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/ |
H A D | main.c | 273 newpath[PATH_MAX], local 315 while (fscanf(pp, "%[^\n]\n", newpath) == 1) 316 output(newpath, n, local);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | corectl.c | 540 corectl_path_t *oldpath, *newpath; local 546 newpath = cg->core_default_path; 549 corectl_path_hold(newpath); 553 p->p_corefile = newpath;
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgparam.c | 430 set_PKGADM(char *newpath) argument 432 (void) strcpy(Adm_pkgadm, newpath); 436 set_PKGLOC(char *newpath) argument 438 (void) strcpy(Adm_pkgloc, newpath);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | mci.c | 1136 char newpath[MAXPATHLEN]; local 1154 len = sizeof(newpath) - 3; 1155 if (sm_strlcpy(newpath, pathname, len) >= len) 1166 newptr = newpath + strlen(newpath); 1168 len = sizeof(newpath) - (newptr - newpath); 1192 newpath, e->d_name); 1199 ret = mci_traverse_persistent(action, newpath); 1228 ret = (*action)(newpath, NUL [all...] |
/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 471 isa_ified(char *path, char **newpath) argument 477 (void) memcpy(*newpath, path, p - path); 478 q = *newpath + (p - path); 484 *newpath = path;
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | hald.c | 367 char newpath[512]; local 384 g_strlcpy (newpath, path, sizeof (newpath)); 385 g_strlcat (newpath, ":", sizeof (newpath)); 388 newpath[0] = '\0'; 391 g_strlcat (newpath, PACKAGE_LIBEXEC_DIR, sizeof (newpath)); 392 g_strlcat (newpath, ":", sizeof (newpath)); [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | service.c | 135 unsigned char *path, *newpath; local 151 newpath = locstak(); 152 (void) memcpystak(newpath, path, pathlen); 153 newpath[pathlen] = ':'; 154 endstak(newpath + pathlen + 1); 155 return (newpath);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_nameinfo.c | 306 char newpath[MAXPATHLEN]; local 320 (void) snprintf(newpath, sizeof (newpath), "lib%s.so.1", 322 if ((cookie = dlopen(newpath, RTLD_LAZY)) == NULL) { 325 (void) snprintf(newpath, sizeof (newpath), 328 if ((cookie = dlopen(newpath, RTLD_LAZY)) != NULL) {
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did_props.c | 337 char *newpath; local 361 if ((newpath = topo_mod_alloc(mp, need)) == NULL) { 367 (void) snprintf(newpath, need, "%s@%x", path, devno); 369 (void) snprintf(newpath, need, "%s@%x,%x", path, devno, fnno); 372 return (newpath); 383 char *newpath; local 404 if ((newpath = topo_mod_strdup(mp, path)) == NULL) { 411 return (newpath);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 101 char *newpath; local 118 if ((newpath = malloc(len)) == NULL) { 123 (void) strlcpy(newpath, path, (pc - path) + 1); 126 (void) strcat(newpath, new_str); 127 (void) strcat(newpath, pc); 128 return (newpath);
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 1273 char newpath[MAXPATHLEN]; local 1295 (void) strlcpy(newpath, path, sizeof (newpath)); 1296 pathp = newpath;
|
H A D | libshare.c | 447 * checksubdirgroup(group, newpath, strictness) 449 * check all the specified newpath against all the paths in the 453 * SA_CHECK_NORMAL == only check newpath against shares that are active 454 * SA_CHECK_STRICT == check newpath against both active shares and those 458 checksubdirgroup(sa_group_t group, char *newpath, int strictness) argument 466 if (newpath == NULL) 494 if (strcmp(path, newpath) == 0) { 497 subdir = issubdir(newpath, path); 498 parent = issubdir(path, newpath); 513 * checksubdir(newpath, strictnes 524 checksubdir(sa_handle_t handle, char *newpath, int strictness) argument [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 439 char *name, *newpath, *remainder_path; local 502 newpath = (char *)malloc(MAXPATHLEN); 503 if (newpath == NULL) { 510 free(newpath); 519 free(newpath); 528 free(newpath); 539 (void) snprintf(newpath, 542 (void) snprintf(newpath, 552 if (dir_dev_acc(newpath, remainder_path, 560 free(newpath); [all...] |
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 1168 static char newpath[MAXPATHLEN]; local 1174 while ((len = readlink(*path, newpath, sizeof (newpath))) != -1) { 1175 newpath[len] = '\0'; 1176 if (newpath[0] != '/') { 1177 if ((tp = strdup(newpath)) == NULL) { 1182 ret = snprintf(newpath, sizeof (newpath), 1185 if ((ret >= sizeof (newpath)) || (ret < 0)) 1188 (void) strcpy(lastpath, newpath); [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | keystore.c | 1147 char newpath[MAXPATHLEN]; local 1153 if (((len = snprintf(newpath, MAXPATHLEN, "%s.new", 1167 if ((newfd = open(newpath, O_RDWR|O_NONBLOCK, 0)) != -1) { 1176 newpath, backuppath)) { 1179 newpath, strerror(errno)); 1188 gettext(ERR_NOT_REG), newpath); 1195 gettext(ERR_WRITE), newpath, 2179 char newpath[MAXPATHLEN]; local 2184 (void) snprintf(newpath, MAXPATHLEN, "%s.new", dest); 2187 if ((fd = open(newpath, O_CREA [all...] |
H A D | pkgweb.c | 2758 char *newpath, *p; local 2764 newpath = xstrdup(path); 2766 for (p = newpath; *p != '\0'; p++) { 2772 return (newpath);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 1307 modify_device_path(char *oldpath, char *newpath) argument 1313 (void) strcpy(newpath, "/devices"); 1320 (void) strncat(newpath, oldpath, changeptr - oldpath); 1322 (void) strcat(newpath, targetstr);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 568 char newpath[MAXNAMELEN]; local 595 (void) strncpy(newpath, refstr_value(pathref), sizeof (newpath)); 596 VERIFY((tail = strrchr(newpath, '/')) != NULL); 598 ASSERT3U(strlen(newpath) + strlen(nm), <, sizeof (newpath)); 599 (void) strcat(newpath, nm); 601 vfs_setmntpoint(vfsp, newpath, 0); 604 (void) strncpy(newpath, refstr_value(pathref), sizeof (newpath)); [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 406 char *newpath = NULL; local 618 newpath = malloc(strlen(path)+2); 620 if (newpath == NULL) { 627 strcpy(newpath, "/"); 628 strcat(newpath, path); 630 r = get_fh(argp, host, newpath, &vers, 634 path = newpath; 737 if (newpath != NULL) { 738 free(newpath); 739 newpath [all...] |
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvnops.c | 1333 char *newpath; local 1336 newpath = kmem_alloc(elemp->mnte_text_size, KM_SLEEP); 1337 bcopy(elemp->mnte_text, newpath, (off_t)(elemp->mnte_tab.mnt_mountp)); 1338 *(newpath + (off_t)elemp->mnte_tab.mnt_mountp - 1) = '\0'; 1339 type = mntfs_special_info_string(newpath, NULL, NULL, cr); 1340 kmem_free(newpath, elemp->mnte_text_size);
|