/glibc-2.36/elf/ |
D | chroot_canon.c | 30 #ifndef PATH_MAX 31 #define PATH_MAX 1024 macro 59 rpath = xmalloc (chroot_len + PATH_MAX); in chroot_canon() 61 rpath_limit = rpath + chroot_len + PATH_MAX; in chroot_canon() 103 if (end - start + 1 > PATH_MAX) in chroot_canon() 106 new_size += PATH_MAX; in chroot_canon() 126 char *buf = alloca (PATH_MAX); in chroot_canon() 135 ssize_t n = readlink (rpath, buf, PATH_MAX - 1); in chroot_canon() 145 extra_buf = alloca (PATH_MAX); in chroot_canon() 148 if (len >= PATH_MAX - n) in chroot_canon()
|
D | dl-main.h | 33 #ifdef PATH_MAX 34 # define SECURE_PATH_LIMIT PATH_MAX
|
/glibc-2.36/posix/ |
D | tst-glob_symlinks.c | 60 #ifndef PATH_MAX 61 # define PATH_MAX 1024 macro 63 static char valid_link[PATH_MAX]; 64 static char dangling_link[PATH_MAX]; 65 static char dangling_dir[PATH_MAX]; 88 char tmpdir[PATH_MAX]; in do_prepare() 100 char buf[PATH_MAX + 1]; in do_test()
|
D | execvpe.c | 28 #ifndef PATH_MAX 30 # define PATH_MAX MAXPATHLEN macro 32 # define PATH_MAX 1024 macro 99 size_t path_len = __strnlen (path, PATH_MAX - 1) + 1; in __execvpe_common()
|
D | tst-spawn6.c | 36 #ifndef PATH_MAX 37 # define PATH_MAX 1024 macro 39 static char ptmxpath[PATH_MAX];
|
/glibc-2.36/stdlib/ |
D | tst-canon-bz26341.c | 37 #ifndef PATH_MAX 38 # define PATH_MAX 1024 macro 81 const size_t syscall_usage = 1 * PATH_MAX + 1024; in do_realpath() 82 const size_t realpath_usage = 2 * PATH_MAX + 1024; in do_realpath() 83 const size_t thread_usage = 1 * PATH_MAX + 1024; in do_realpath()
|
D | tst-realpath-toolong.c | 32 #ifndef PATH_MAX 33 # define PATH_MAX 1024 macro 41 char buf[PATH_MAX + 1]; in do_test()
|
D | test-canon.c | 34 #ifndef PATH_MAX 35 # define PATH_MAX 4096 macro 37 static char cwd[PATH_MAX]; 124 char buf[PATH_MAX]; in do_test()
|
/glibc-2.36/io/ |
D | getwd.c | 28 #ifndef PATH_MAX in getwd() 29 #define PATH_MAX 1024 in getwd() macro 31 char tmpbuf[PATH_MAX]; in getwd() 39 if (__getcwd (tmpbuf, PATH_MAX) == NULL) in getwd()
|
/glibc-2.36/nss/ |
D | tst-reload2.c | 37 #ifndef PATH_MAX 38 # define PATH_MAX 1024 macro 95 char buf1[PATH_MAX]; in do_test() 96 char buf2[PATH_MAX]; in do_test()
|
/glibc-2.36/support/ |
D | tst-support-open-dev-null-range.c | 29 #ifndef PATH_MAX 30 # define PATH_MAX 1024 macro 39 char file_path[PATH_MAX]; in check_path()
|
/glibc-2.36/debug/ |
D | tst-realpath-chk.c | 28 #ifdef PATH_MAX in do_test() 29 char buf[PATH_MAX + 1]; in do_test()
|
D | realpath_chk.c | 27 #ifdef PATH_MAX in __realpath_chk() 28 if (resolvedlen < PATH_MAX) in __realpath_chk()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | ttyname.c | 46 ttyname_buf = malloc (PATH_MAX); in ttyname() 51 int result = __ttyname_r (fd, ttyname_buf, PATH_MAX); in ttyname()
|
D | dl-origin.c | 36 char linkval[PATH_MAX]; in _dl_get_origin()
|
/glibc-2.36/sysdeps/posix/ |
D | pathconf.c | 90 #ifdef PATH_MAX in __pathconf() 91 return PATH_MAX; in __pathconf()
|
D | fpathconf.c | 92 #ifdef PATH_MAX in __fpathconf() 93 return PATH_MAX; in __fpathconf()
|
D | getcwd.c | 77 #ifndef PATH_MAX 78 # define PATH_MAX 8192 macro 168 BIG_FILE_NAME_LENGTH = MIN (4095, PATH_MAX - 1), in __getcwd_generic()
|
/glibc-2.36/misc/sys/ |
D | param.h | 47 #if !defined MAXPATHLEN && defined PATH_MAX 48 # define MAXPATHLEN PATH_MAX
|
/glibc-2.36/login/ |
D | login.c | 82 #ifdef PATH_MAX in __login() 83 char _tty[PATH_MAX + UT_LINESIZE]; in __login()
|
D | openpty.c | 88 #ifdef PATH_MAX in __openpty() 89 char _buf[PATH_MAX]; in __openpty()
|
/glibc-2.36/nscd/ |
D | nscd.h | 76 # ifndef PATH_MAX 77 # define PATH_MAX 1024 macro 80 char dname[PATH_MAX];
|
/glibc-2.36/intl/ |
D | dcigettext.c | 191 #if !defined PATH_MAX && defined _PC_PATH_MAX 192 # define PATH_MAX (__pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : __pathconf ("/", _PC_PATH_MAX)) macro 196 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 200 #if !defined PATH_MAX && defined MAXPATHLEN 201 # define PATH_MAX MAXPATHLEN macro 204 #ifndef PATH_MAX 205 # define PATH_MAX _POSIX_PATH_MAX macro
|
/glibc-2.36/sysdeps/unix/ |
D | grantpt.c | 102 #ifdef PATH_MAX in grantpt() 103 char _buf[PATH_MAX]; in grantpt()
|
/glibc-2.36/stdlib/bits/ |
D | stdlib.h | 44 #if defined _LIBC_LIMITS_H_ && defined PATH_MAX in __NTH() 45 if (__glibc_unsafe_len (PATH_MAX, sizeof (char), sz)) in __NTH()
|