PATH_MAX 48 include/ipc/exec.h char path[PATH_MAX]; /* program path */ PATH_MAX 49 include/ipc/exec.h char cwd[PATH_MAX]; /* current directory */ PATH_MAX 61 include/ipc/exec.h char path[PATH_MAX]; /* program path */ PATH_MAX 90 include/ipc/fs.h char dev[PATH_MAX]; /* mount device */ PATH_MAX 91 include/ipc/fs.h char dir[PATH_MAX]; /* mount directory */ PATH_MAX 104 include/ipc/fs.h char path[PATH_MAX]; /* open file */ PATH_MAX 124 include/ipc/fs.h char path[PATH_MAX]; /* open file */ PATH_MAX 134 include/ipc/fs.h char path[PATH_MAX]; PATH_MAX 135 include/ipc/fs.h char path2[PATH_MAX]; PATH_MAX 67 include/sys/mount.h char m_path[PATH_MAX]; /* mounted path */ PATH_MAX 155 include/sys/param.h #define MAXPATHLEN PATH_MAX PATH_MAX 131 usr/bin/cp/cp.c char path[PATH_MAX]; PATH_MAX 259 usr/bin/ls/ls.c char buf[PATH_MAX]; PATH_MAX 46 usr/bin/mv/mv.c char path[PATH_MAX]; PATH_MAX 44 usr/bin/pwd/pwd.c char cwd[PATH_MAX]; PATH_MAX 51 usr/bin/pwd/pwd.c if ((p = getcwd(cwd, PATH_MAX)) == NULL) { PATH_MAX 104 usr/bin/sh/sh.c static char cwd[PATH_MAX]; PATH_MAX 105 usr/bin/sh/sh.c static char prompt[PATH_MAX+20]; PATH_MAX 107 usr/bin/sh/sh.c getcwd(cwd, PATH_MAX); PATH_MAX 50 usr/lib/libc/gen/execvp.c char buf[PATH_MAX]; PATH_MAX 102 usr/lib/posix/exec/execve.c getcwd(msg.cwd, PATH_MAX); PATH_MAX 103 usr/lib/posix/exec/execve.c strlcpy(msg.path, path, PATH_MAX); PATH_MAX 42 usr/lib/posix/file/access.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 48 usr/lib/posix/file/chdir.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 50 usr/lib/posix/file/getcwd.c strlcpy(buf, m.path, PATH_MAX); PATH_MAX 47 usr/lib/posix/file/link.c if (strlen(oldpath) >= PATH_MAX || PATH_MAX 48 usr/lib/posix/file/link.c strlen(newpath) >= PATH_MAX) { PATH_MAX 52 usr/lib/posix/file/link.c strlcpy(m.path, oldpath, PATH_MAX); PATH_MAX 53 usr/lib/posix/file/link.c strlcpy(m.path2, newpath, PATH_MAX); PATH_MAX 47 usr/lib/posix/file/mkdir.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 47 usr/lib/posix/file/mknod.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 44 usr/lib/posix/file/mount.c strlcpy(m.dev, (char *)dev, PATH_MAX); PATH_MAX 45 usr/lib/posix/file/mount.c strlcpy(m.dir, (char *)dir, PATH_MAX); PATH_MAX 53 usr/lib/posix/file/open.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 50 usr/lib/posix/file/opendir.c strlcpy(m.path, (char *)name, PATH_MAX); PATH_MAX 47 usr/lib/posix/file/rename.c if (strlen(oldpath) >= PATH_MAX || PATH_MAX 48 usr/lib/posix/file/rename.c strlen(newpath) >= PATH_MAX) { PATH_MAX 52 usr/lib/posix/file/rename.c strlcpy(m.path, oldpath, PATH_MAX); PATH_MAX 53 usr/lib/posix/file/rename.c strlcpy(m.path2, newpath, PATH_MAX); PATH_MAX 47 usr/lib/posix/file/rmdir.c if (strlen(path) >= PATH_MAX) { PATH_MAX 52 usr/lib/posix/file/rmdir.c strlcpy(m.path, path, PATH_MAX); PATH_MAX 45 usr/lib/posix/file/stat.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 44 usr/lib/posix/file/truncate.c strlcpy(m.path, (char *)path, PATH_MAX); PATH_MAX 45 usr/lib/posix/file/umount.c strlcpy(m.path, (char *)dir, PATH_MAX); PATH_MAX 43 usr/lib/posix/file/unlink.c if (path == NULL || strlen(path) >= PATH_MAX) { PATH_MAX 48 usr/lib/posix/file/unlink.c strlcpy(m.path, path, PATH_MAX); PATH_MAX 115 usr/sbin/install/install.c char path[PATH_MAX]; PATH_MAX 56 usr/server/exec/exec_cap.c if (!strncmp(path, map->c_path, PATH_MAX)) { PATH_MAX 79 usr/server/exec/exec_execve.c char path[PATH_MAX]; PATH_MAX 238 usr/server/exec/exec_execve.c path[PATH_MAX - 1] = '\0'; PATH_MAX 240 usr/server/exec/exec_execve.c if (len >= PATH_MAX) PATH_MAX 242 usr/server/exec/exec_execve.c if (strlen(cwd) + len >= PATH_MAX) PATH_MAX 251 usr/server/exec/exec_execve.c strlcpy(full, cwd, PATH_MAX); PATH_MAX 346 usr/server/exec/exec_execve.c strlcpy((char *)sp, path, PATH_MAX); PATH_MAX 47 usr/server/exec/exec_script.c static char interp[PATH_MAX]; /* interpreter name */ PATH_MAX 88 usr/server/exec/exec_script.c if (!strncmp(name, "/bin/sh", PATH_MAX)) { PATH_MAX 129 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 187 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 293 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 386 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 398 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 412 usr/server/fs/vfs/main.c char src[PATH_MAX]; PATH_MAX 413 usr/server/fs/vfs/main.c char dest[PATH_MAX]; PATH_MAX 431 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 476 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 490 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 621 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 762 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 822 usr/server/fs/vfs/main.c char path[PATH_MAX]; PATH_MAX 84 usr/server/fs/vfs/vfs.h char t_cwd[PATH_MAX]; /* current working directory */ PATH_MAX 54 usr/server/fs/vfs/vfs_lookup.c char node[PATH_MAX]; PATH_MAX 55 usr/server/fs/vfs/vfs_lookup.c char name[PATH_MAX]; PATH_MAX 94 usr/server/fs/vfs/vfs_lookup.c for (i = 0; i < PATH_MAX; i++) { PATH_MAX 152 usr/server/fs/vfs/vfs_lookup.c char buf[PATH_MAX]; PATH_MAX 583 usr/server/fs/vfs/vfs_syscalls.c if (!strncmp(src, dest, PATH_MAX)) PATH_MAX 754 usr/server/fs/vfs/vfs_syscalls.c strlcpy(cwd, dvp->v_path, PATH_MAX); PATH_MAX 230 usr/server/fs/vfs/vfs_task.c path[PATH_MAX - 1] = '\0'; PATH_MAX 232 usr/server/fs/vfs/vfs_task.c if (len >= PATH_MAX) PATH_MAX 234 usr/server/fs/vfs/vfs_task.c if (strlen(cwd) + len >= PATH_MAX) PATH_MAX 243 usr/server/fs/vfs/vfs_task.c strlcpy(full, cwd, PATH_MAX); PATH_MAX 115 usr/server/fs/vfs/vfs_vnode.c !strncmp(vp->v_path, path, PATH_MAX)) {