Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gen/
Dsetprogname.c22 setprogname(const char *progname) in setprogname() argument
26 tmpn = strrchr(progname, '/'); in setprogname()
28 __progname = (char *)progname; in setprogname()
/bionic/libc/bionic/
Dlibc_init_static.cpp134 const char* progname = args.argv[0]; in layout_static_tls() local
143 progname, mod.segment.aligned_size.align.value); in layout_static_tls()
145 mod.static_offset = layout.reserve_exe_segment_and_tcb(&mod.segment, progname); in layout_static_tls()
152 layout.reserve_exe_segment_and_tcb(nullptr, progname); in layout_static_tls()
218 const char* progname = __libc_shared_globals()->init_progname; in get_environment_memtag_setting() local
219 if (progname == nullptr) return false; in get_environment_memtag_setting()
221 const char* basename = __gnu_basename(progname); in get_environment_memtag_setting()
305 const char* progname = __libc_shared_globals()->init_progname; in __get_memtag_upgrade_secs() local
306 progname = progname ? __gnu_basename(progname) : nullptr; in __get_memtag_upgrade_secs()
309 if (!progname || strncmp(progname, kAppProcessName, sizeof(kAppProcessName)) != 0) { in __get_memtag_upgrade_secs()
Dgwp_asan_wrappers.cpp489 const char* progname = getprogname(); in MaybeInitGwpAsanFromLibc() local
490 if (strncmp(progname, kAppProcessNamePrefix, sizeof(kAppProcessNamePrefix) - 1) == 0) in MaybeInitGwpAsanFromLibc()
494 mallopt_options.program_name = progname; in MaybeInitGwpAsanFromLibc()
Dbionic_elf_tls.cpp120 const char* progname __attribute__((unused))) { in reserve_exe_segment_and_tcb() argument
169 progname, seg->aligned_size.align.value, seg->aligned_size.align.skew, tcb_size_post, in reserve_exe_segment_and_tcb()
/bionic/linker/
Dlinker_tls.cpp110 void linker_setup_exe_static_tls(const char* progname) { in linker_setup_exe_static_tls() argument
118 layout.reserve_exe_segment_and_tcb(nullptr, progname); in linker_setup_exe_static_tls()
120 …ster_tls_module(somain, layout.reserve_exe_segment_and_tcb(&somain->get_tls()->segment, progname)); in linker_setup_exe_static_tls()
Dlinker_tls.h38 void linker_setup_exe_static_tls(const char* progname);
/bionic/libc/private/
Dbionic_elf_tls.h83 size_t reserve_exe_segment_and_tcb(const TlsSegment* exe_segment, const char* progname);