/titanic_41/usr/src/lib/pam_modules/authtok_check/ |
H A D | rules.c | 66 static char area[PATH_MAX]; in Reverse() 80 static char area[PATH_MAX]; in Uppercase() 96 static char area[PATH_MAX]; in Lowercase() 112 static char area[PATH_MAX]; in Capitalise() 130 static char area[PATH_MAX]; in Pluralise() 133 (void) strlcpy(area, string, PATH_MAX); in Pluralise() 166 static char area[PATH_MAX]; in Substitute() 182 static char area[PATH_MAX]; in Purge() 318 static char area[PATH_MAX]; in PolySubst() 334 static char area[PATH_MAX]; in PolyPurge() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/common/frutree/ |
H A D | piclfrutree.c | 88 char pname[PATH_MAX]; in get_config_file() 91 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file() 92 (void) strlcat(pname, FRUTREE_CONFFILE_NAME, PATH_MAX); in get_config_file() 94 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file() 100 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file() 101 (void) strlcat(pname, FRUTREE_CONFFILE_NAME, PATH_MAX); in get_config_file() 103 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file() 108 (void) snprintf(pname, PATH_MAX, "%s/%s", PICLD_COMMON_PLUGIN_DIR, in get_config_file() 112 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file() 122 char fullfilename[PATH_MAX]; in piclfrutree_init()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | realpath.c | 50 char cwd[PATH_MAX]; in realpath_impl() 63 if ((len = resolvepath(file_name, resolved_name, PATH_MAX)) < 0) { in realpath_impl() 64 (void) strlcpy(resolved_name, file_name, PATH_MAX); in realpath_impl() 68 if (len >= PATH_MAX) /* "can't happen" */ in realpath_impl() 69 len = PATH_MAX - 1; in realpath_impl() 82 (void) strlcpy(resolved_name, file_name, PATH_MAX); in realpath_impl() 108 if (endcwd + len >= cwd + PATH_MAX) { in realpath_impl() 110 file_name, PATH_MAX); in realpath_impl() 131 char buffer[PATH_MAX]; in realpath()
|
H A D | catopen.c | 95 char pathname[PATH_MAX + 1]; in process_nls_path() 201 while (*s && t < pathname + PATH_MAX) in process_nls_path() 204 while (*s && t < pathname + PATH_MAX) in process_nls_path() 207 while (*s && t < pathname + PATH_MAX) in process_nls_path() 226 if (t < pathname + PATH_MAX) { in replace_nls_option() 237 while (*u && t < pathname + PATH_MAX) in replace_nls_option() 242 while (*u && t < pathname + PATH_MAX) in replace_nls_option() 249 t < pathname + PATH_MAX) in replace_nls_option() 256 t < pathname + PATH_MAX) in replace_nls_option() 262 while (*u && t < pathname + PATH_MAX) in replace_nls_option() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/pkgproto/ |
H A D | main.c | 81 static char construction[PATH_MAX], mylocal[PATH_MAX]; 92 char *pt, path[PATH_MAX]; in main() 168 char mypath[PATH_MAX]; in output() 186 (void) strlcpy(entry.path, path, PATH_MAX); in output() 214 if ((s = readlink(path, mylocal, PATH_MAX)) > 0) { in output() 240 PATH_MAX); in output() 245 (void) strlcpy(entry.path, local, PATH_MAX); in output() 250 PATH_MAX); in output() 272 local[PATH_MAX], in follow() 273 newpath[PATH_MAX], in follow() [all …]
|
/titanic_41/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 102 static char buf[PATH_MAX]; in mk_pathname() 107 len = strnlen(path, PATH_MAX); in mk_pathname() 114 (void) snprintf(buf, PATH_MAX, fmt, path, name); in mk_pathname() 198 char oldfname[PATH_MAX]; in ndmp_log_open_file() 236 (void) strncpy(oldfname, fname, PATH_MAX); in ndmp_log_open_file() 285 char ndmp_log_buf[PATH_MAX+KILOBYTE]; in ndmp_log() 286 char ndmp_syslog_buf[PATH_MAX+KILOBYTE]; in ndmp_log() 287 char buf[PATH_MAX+KILOBYTE]; in ndmp_log() 303 (b < &buf[PATH_MAX+KILOBYTE])) { in ndmp_log() 315 (void) snprintf(b, &buf[PATH_MAX+KILOBYTE] - b, in ndmp_log() [all …]
|
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | merginfo.c | 138 char path[PATH_MAX]; in merginfo() 139 char cmd[PATH_MAX]; in merginfo() 140 char pkginfoPath[PATH_MAX]; in merginfo() 141 char temp[PATH_MAX]; in merginfo() 197 i = snprintf(path, PATH_MAX, "%s/%s", pkgloc, PKGINFO); in merginfo() 198 if (i > PATH_MAX) { in merginfo() 381 char theAttr[PATH_MAX+1]; in merginfo() 442 i = snprintf(path, PATH_MAX, "%s/install", instdir); in merginfo() 443 if (i > PATH_MAX) { in merginfo() 455 i = snprintf(path, PATH_MAX, "%s/install/%s", in merginfo() [all …]
|
/titanic_41/usr/src/lib/libdevinfo/ |
H A D | devinfo_realpath.c | 88 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in s_realpath() 100 if (getcwd(resolved, PATH_MAX) == NULL) { in s_realpath() 101 (void) strlcpy(resolved, ".", PATH_MAX); in s_realpath() 107 if (left_len >= sizeof (left) || resolved_len >= PATH_MAX) { in s_realpath() 132 if (resolved_len + 1 >= PATH_MAX) { in s_realpath() 162 resolved_len = strlcat(resolved, next_token, PATH_MAX); in s_realpath() 163 if (resolved_len >= PATH_MAX) { in s_realpath()
|
/titanic_41/usr/src/lib/libast/common/path/ |
H A D | pathcd.c | 35 #undef PATH_MAX 37 #define PATH_MAX 16 macro 44 if (strlen(path) >= PATH_MAX) in vchdir() 86 if ((n = strlen(p)) < PATH_MAX) in pathcd() 107 s = p + PATH_MAX; in pathcd() 124 if ((n -= s - p) < PATH_MAX) in pathcd()
|
H A D | pathprobe.c | 105 char buf[PATH_MAX]; in pathprobe() 106 char cmd[PATH_MAX]; in pathprobe() 107 char exe[PATH_MAX]; in pathprobe() 108 char lib[PATH_MAX]; in pathprobe() 109 char ver[PATH_MAX]; in pathprobe() 129 strncopy(proc + n, p, PATH_MAX - n - 1); in pathprobe() 152 if (n < (PATH_MAX - 5)) in pathprobe() 160 nx = path + PATH_MAX - 1; in pathprobe() 197 p = path + sfsprintf(path, PATH_MAX - 1, "%s/.%s/%s/", p, probe, HOSTTYPE); in pathprobe()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | special.c | 247 char path[PATH_MAX]; in get_special_contents() 259 if (snprintf(path, PATH_MAX, "%s%s", pcroot, pc) >= PATH_MAX) { in get_special_contents() 264 if (snprintf(path, PATH_MAX, "%s/%s", pcroot, pc) in get_special_contents() 265 >= PATH_MAX) { in get_special_contents() 505 char cpath[PATH_MAX], /* Contents file path */ in special_contents_remove() 506 tcpath[PATH_MAX]; /* Temp contents file path */ in special_contents_remove() 532 if (snprintf(cpath, PATH_MAX, "%s%s", pcroot, pccontents) in special_contents_remove() 533 >= PATH_MAX || in special_contents_remove() 534 snprintf(tcpath, PATH_MAX, "%s%s", pcroot, pctcontents) in special_contents_remove() 535 >= PATH_MAX) { in special_contents_remove() [all …]
|
/titanic_41/usr/src/lib/libast/common/misc/ |
H A D | findlib.h | 69 char path[PATH_MAX]; 70 char temp[PATH_MAX]; 84 char path[PATH_MAX]; 85 char mark[PATH_MAX]; 86 char file[PATH_MAX]; 87 char temp[PATH_MAX];
|
/titanic_41/usr/src/cmd/sgs/libconv/common/ |
H A D | lddstub.c | 41 if (strlcat(buffer, orgfile, PATH_MAX) >= PATH_MAX) in originlddstub() 43 if ((len = resolvepath(buffer, buffer, (PATH_MAX - 1))) == -1) in originlddstub() 52 static char orgstub[PATH_MAX], orgstub64[PATH_MAX];
|
/titanic_41/usr/src/lib/lvm/libsvm/common/ |
H A D | metaconf.c | 77 char buf[PATH_MAX], *cp; in write_targ_nm_table() 91 while (fgets(buf, PATH_MAX, targfp) != NULL && in write_targ_nm_table() 138 char edevname[PATH_MAX]; in write_xlate_to_mdconf() 139 char targname[PATH_MAX]; in write_xlate_to_mdconf() 140 char diskdir[PATH_MAX]; in write_xlate_to_mdconf() 141 char linkpath[PATH_MAX]; in write_xlate_to_mdconf() 163 if ((strlen(diskdir) + strlen(dp->d_name) + 2) > PATH_MAX) { in write_xlate_to_mdconf()
|
/titanic_41/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | db.c | 49 char Current_Library[PATH_MAX]; 50 char Current_File[PATH_MAX]; 51 char Output_File[PATH_MAX]; 52 char Current_Interface[PATH_MAX]; 53 char Source_Directory[PATH_MAX]; 54 char Target_Directory[PATH_MAX]; 57 char Library_List[PATH_MAX]; 60 char Kludge[PATH_MAX];
|
/titanic_41/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 202 char link[PATH_MAX]; in diskette() 248 char path[PATH_MAX + 1]; in lp() 295 char link[PATH_MAX]; in serial() 397 I_path = (char *)malloc(PATH_MAX); in agp_process() 405 p_path = (char *)malloc(PATH_MAX); in agp_process() 414 (void) strlcpy(p_path, devfspath, PATH_MAX); in agp_process() 415 (void) strlcat(p_path, ":", PATH_MAX); in agp_process() 416 (void) strlcat(p_path, minor_nm, PATH_MAX); in agp_process() 433 (void) snprintf(I_path, PATH_MAX, "%s", name); in agp_process() 478 (void) snprintf(I_path, PATH_MAX, "agp/%s%s", name, buf); in agp_process() [all …]
|
/titanic_41/usr/src/cmd/sh/ |
H A D | pwd.c | 56 unsigned char cwdname[PATH_MAX+1]; 149 if (pcwd >= &cwdname[PATH_MAX+1]) in cwd() 157 if (pcwd >= &cwdname[PATH_MAX+1]) in cwd() 166 if (pcwd >= &cwdname[PATH_MAX+1]) in cwd() 174 if (pcwd >= &cwdname[PATH_MAX+1]) in cwd() 240 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL) in cwdget() 258 if (getcwd((char *)cwdname, PATH_MAX+1) == NULL) { in cwdprint()
|
/titanic_41/usr/src/cmd/devfsadm/ |
H A D | dcam1394_link.c | 100 char m_name[PATH_MAX], restring0[DCAM_RE_STRING_LEN]; in dcam1394_process() 101 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in dcam1394_process() 147 (void) snprintf(l_path, PATH_MAX, "dcamctl%s", buf); in dcam1394_process() 149 (void) snprintf(l_path, PATH_MAX, "dcam%s", buf); in dcam1394_process()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 54 char fname[PATH_MAX]; in proc_get_cred() 76 char fname[PATH_MAX]; in proc_get_priv() 105 char fname[PATH_MAX]; in proc_get_ldt() 138 char fname[PATH_MAX]; in proc_get_psinfo() 155 char fname[PATH_MAX]; in proc_get_status() 178 char fname[PATH_MAX]; in proc_get_auxv()
|
H A D | Pexecname.c | 60 (void) snprintf(buf, PATH_MAX, "%s/%s", cwd, path); in try_exec() 66 (void) Pfindobj(P, buf, buf, PATH_MAX); in try_exec() 67 if ((i = resolvepath(buf, buf, PATH_MAX)) > 0) { in try_exec() 86 char cwd[PATH_MAX * 2]; in Pfindexec() 87 char path[PATH_MAX]; in Pfindexec() 88 char buf[PATH_MAX]; in Pfindexec() 132 char zpath[PATH_MAX]; in Pfindexec()
|
/titanic_41/usr/src/lib/libadm/common/ |
H A D | pkgparam.c | 61 static char Adm_pkgloc[PATH_MAX] = { 0 }; /* added for newroot */ 62 static char Adm_pkgadm[PATH_MAX] = { 0 }; /* added for newroot */ 84 len = snprintf(path, PATH_MAX, "%s/.save.%s/pkginfo", pkg_dir, in pkginfofind() 86 if (len > PATH_MAX) in pkginfofind() 93 len = snprintf(path, PATH_MAX, "%s/%s/pkginfo", pkg_dir, in pkginfofind() 95 if (len > PATH_MAX) in pkginfofind() 111 char temp[PATH_MAX]; in pkginfopen() 320 static char lastfname[PATH_MAX]; in pkgparam() 322 char *pt, *copy, *value, line[PATH_MAX]; in pkgparam()
|
/titanic_41/usr/src/cmd/svr4pkg/libinst/ |
H A D | srcpath.c | 43 static char tmppath[PATH_MAX]; in srcpath() 87 static char pi_srcPath[PATH_MAX]; in trans_srcp_pi() 125 (void) snprintf(pi_srcPath, PATH_MAX, "/%s", in trans_srcp_pi() 131 (void) snprintf(pi_srcPath, PATH_MAX, "%s/%s", in trans_srcp_pi()
|
/titanic_41/usr/src/cmd/bart/ |
H A D | compare.c | 107 test_buf[BUF_SIZE], control_fname[PATH_MAX], in compare_manifests() 108 control_type[TYPE_SIZE], test_fname[PATH_MAX], in compare_manifests() 238 get_token(line, &pos, line_len, fname, PATH_MAX); in parse_line() 255 get_token(line, &pos, line_len, contents, PATH_MAX); in parse_line() 257 get_token(line, &pos, line_len, devnode, PATH_MAX); in parse_line() 259 get_token(line, &pos, line_len, dest, PATH_MAX); in parse_line() 290 get_token(line, &pos, line_len, fname, PATH_MAX); in extract_fname_ftype() 343 char ctrl_fname[PATH_MAX], test_fname[PATH_MAX], in evaluate_differences() 348 ctrl_dest[PATH_MAX], ctrl_contents[PATH_MAX], in evaluate_differences() 349 ctrl_devnode[PATH_MAX], test_size[MISC_SIZE], in evaluate_differences() [all …]
|
/titanic_41/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 240 char common_path[PATH_MAX]; in ucode_gen_files_amd() 247 (void) snprintf(common_path, PATH_MAX, "%s/%s", path, "container"); in ucode_gen_files_amd() 272 (void) snprintf(common_path, PATH_MAX, "%s/%s", path, in ucode_gen_files_amd() 308 (void) snprintf(common_path, PATH_MAX, "%s/%04X-%02X", path, in ucode_gen_files_amd() 317 char common_path[PATH_MAX]; in ucode_gen_files_intel() 321 (void) snprintf(common_path, PATH_MAX, "%s/%s", path, in ucode_gen_files_intel() 331 char firstname[PATH_MAX]; in ucode_gen_files_intel() 332 char name[PATH_MAX]; in ucode_gen_files_intel() 345 (void) snprintf(firstname, PATH_MAX, "%s/%08X-%02X", in ucode_gen_files_intel() 380 (void) snprintf(name, PATH_MAX, in ucode_gen_files_intel() [all …]
|
/titanic_41/usr/src/cmd/sendmail/include/sm/ |
H A D | limits.h | 49 # ifndef PATH_MAX 51 # define PATH_MAX MAXPATHLEN macro 53 # define PATH_MAX 2048 macro
|