/elf/ |
A D | multiload.c | 18 char *buf; in main() local 42 printf ("loading `%s'\n", buf); in main() 43 b = dlopen (buf, RTLD_NOW); in main() 46 printf ("cannot load `%s': %s\n", buf, dlerror ()); in main() 50 stpcpy (stpcpy (buf, wd), "/testobj1.so"); in main() 51 printf ("loading `%s'\n", buf); in main() 52 c = dlopen (buf, RTLD_NOW); in main() 55 printf ("cannot load `%s': %s\n", buf, dlerror ()); in main() 60 printf ("loading `%s'\n", buf); in main() 61 d = dlopen (buf, RTLD_NOW); in main() [all …]
|
A D | tst-latepthread.c | 79 char buf[512]; in do_test() local 81 ssize_t ret = read (fds[0], buf, sizeof (buf) - 1); in do_test() 87 if (ret > 0 && buf[ret - 1] == '\n') in do_test() 89 buf[ret] = '\0'; in do_test() 90 printf ("info: exit status: %d, message: %s\n", status, buf); in do_test() 91 if (strstr (buf, "undefined symbol: this_function_is_not_defined") == NULL) in do_test()
|
A D | tst-env-setuid-tunables.c | 129 char buf[INT_BUFSIZE_BOUND (int)]; in do_test() local 132 snprintf (buf, sizeof (buf), "%d\n", i); in do_test() 136 int status = support_capture_subprogram_self_sgid (buf); in do_test()
|
A D | chroot_canon.c | 126 char *buf = alloca (PATH_MAX); in chroot_canon() local 135 ssize_t n = readlink (rpath, buf, PATH_MAX - 1); in chroot_canon() 142 buf[n] = '\0'; in chroot_canon() 156 name = end = memcpy (extra_buf, buf, n); in chroot_canon() 158 if (buf[0] == '/') in chroot_canon()
|
A D | tst-auditmod1.c | 20 char buf[20]; in la_version() local 21 sprintf (buf, "%u", v); in la_version() 42 char buf[100]; in la_objsearch() local 58 sprintf (buf, "unknown flag %d", flag); in la_objsearch() 59 flagstr = buf; in la_objsearch()
|
A D | dl-diagnostics.c | 46 char buf[4]; in print_quoted_char() local 47 buf[0] = '\\'; in print_quoted_char() 48 buf[1] = '0' + ((ch >> 6) & 7); in print_quoted_char() 49 buf[2] = '0' + ((ch >> 6) & 7); in print_quoted_char() 50 buf[3] = '0' + (ch & 7); in print_quoted_char() 51 _dl_write (STDOUT_FILENO, buf, 4); in print_quoted_char()
|
A D | dl-machine-reject-phdr.h | 28 const char *buf, size_t len, struct link_map *map, in elf_machine_reject_phdr_p() argument
|
A D | dl-version.c | 96 char buf[20]; in match_symbol() local 97 buf[sizeof (buf) - 1] = '\0'; in match_symbol() 102 _itoa (def->vd_version, &buf[sizeof (buf) - 1], 10, 0)); in match_symbol() 186 char buf[20]; in _dl_check_map_versions() local 187 buf[sizeof (buf) - 1] = '\0'; in _dl_check_map_versions() 192 _itoa (ent->vn_version, &buf[sizeof (buf) - 1], 10, 0)); in _dl_check_map_versions()
|
A D | pldd.c | 106 char buf[7 + 3 * sizeof (pid)]; in main() local 107 snprintf (buf, sizeof (buf), "/proc/%lu", pid); in main() 108 int dfd = open (buf, O_RDONLY | O_DIRECTORY); in main() 110 error (EXIT_FAILURE, errno, gettext ("cannot open %s"), buf); in main() 141 error (EXIT_FAILURE, errno, gettext ("cannot open %s/task"), buf); in main() 145 buf); in main() 183 error (EXIT_FAILURE, 0, gettext ("no valid %s/task entries"), buf); in main()
|
A D | sotruss-lib.c | 246 char buf[3 * sizeof (pid_t) + 3]; in print_enter() local 247 buf[0] = '\0'; in print_enter() 249 snprintf (buf, sizeof (buf), "%5ld: ", (long int) getpid ()); in print_enter() 252 buf, (char *) *refcook, (char *) *defcook, in print_enter() 333 char buf[3 * sizeof (pid_t) + 3]; in print_exit() local 334 buf[0] = '\0'; in print_exit() 336 snprintf (buf, sizeof (buf), "%5ld: ", (long int) getpid ()); in print_exit() 339 buf, (char *) *refcook, (char *) *defcook, " ", symname, reg); in print_exit()
|
A D | tst-tls20.c | 47 char *buf = xasprintf ("tst-tls-manydynamic%02dmod.so", i); in load_mod() local 48 mod[i] = xdlopen (buf, RTLD_LAZY); in load_mod() 49 free (buf); in load_mod() 63 char *buf = xasprintf ("tls_global_%02d", i); in access() local 65 int *p = dlsym (mod[i], buf); in access() 72 free (buf); in access()
|
A D | dl-sysdep.c | 268 char buf[64]; in _dl_show_auxv() local 272 buf[63] = '\0'; in _dl_show_auxv() 346 buf + sizeof buf - 1, 10, 0); in _dl_show_auxv() 349 buf + sizeof buf - 1, 16, 0); in _dl_show_auxv() 362 buf + sizeof buf - 1, 16, 0); in _dl_show_auxv()
|
A D | readlib.c | 116 char buf[SELFMAG]; in process_file() local 118 if (fread (buf, n, 1, file) == 1 && memcmp (buf, ELFMAG, n) == 0) in process_file()
|
A D | dl-minimal.c | 122 __strerror_r (int errnum, char *buf, size_t buflen) in __strerror_r() argument 149 buf[buflen - 1] = '\0'; in __strerror_r() 150 msg = _itoa (errnum, buf + buflen - 1, 10, 0); in __strerror_r()
|
A D | dl-profile.c | 330 char buf[400]; in _dl_start_profile() local 340 __strerror_r (errnum, buf, sizeof buf)); in _dl_start_profile() 356 char buf[GLRO(dl_pagesize)]; in _dl_start_profile() local 358 memset (buf, '\0', GLRO(dl_pagesize)); in _dl_start_profile() 368 (__write_nocancel (fd, buf, (expected_size & (GLRO(dl_pagesize) - 1)))) in _dl_start_profile()
|
A D | dl-load.c | 1060 header = (void *) fbp->buf; in _dl_map_object_from_fd() 1515 char buf[max_dirnamelen + max_capstrlen]; in print_search_path() local 1530 if (cp == buf || (cp == buf + 1 && buf[0] == '/')) in print_search_path() 1639 sizeof (fbp->buf) - fbp->len); in open_verify() 1647 ehdr = (ElfW(Ehdr) *) fbp->buf; in open_verify() 1747 phdr = (void *) (fbp->buf + ehdr->e_phoff); in open_verify() 1850 char *buf; in open_path() local 1891 - buf); in open_path() 1916 buf[buflen - namelen - 1] = '\0'; in open_path() 1918 if (__stat64_time64 (buf, &st) != 0 in open_path() [all …]
|
A D | dl-misc.c | 209 char *buf = (char *) alloca (1 + 3 * sizeof (unsigned long int)); in _dl_debug_vdprintf() local 210 char *endp = &buf[1 + 3 * sizeof (unsigned long int)]; in _dl_debug_vdprintf()
|
A D | rtld.c | 2843 char buf[name_len + 12]; in process_envvars() local 2846 buf[name_len + 11] = '\0'; in process_envvars() 2847 startp = _itoa (__getpid (), &buf[name_len + 11], 10, 0); in process_envvars()
|