aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-02-17 10:49:29 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-02-17 10:49:29 +0000
commita7d61fc17dc8db1da4b29862e85a0ff47d1aeb15 (patch)
tree4ac15d54cf734a144a3a7707224503456d970cbc /lib/libc/include
parent2a4106cfef327b046181ff683ebc803dbbddeaac (diff)
Notes
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/libc_private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index c7284cc3afee1..d4b24a7c962eb 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -44,6 +44,15 @@
extern int __isthreaded;
/*
+ * Elf_Auxinfo *__elf_aux_vector, the pointer to the ELF aux vector
+ * provided by kernel. Either set for us by rtld, or found at runtime
+ * on stack for static binaries.
+ *
+ * Type is void to avoid polluting whole libc with ELF types.
+ */
+extern void *__elf_aux_vector;
+
+/*
* libc should use libc_dlopen internally, which respects a global
* flag where loading of new shared objects can be restricted.
*/
@@ -229,6 +238,7 @@ int _execvpe(const char *, char * const *, char * const *);
int _elf_aux_info(int aux, void *buf, int buflen);
struct dl_phdr_info;
int __elf_phdr_match_addr(struct dl_phdr_info *, void *);
+void __init_elf_aux_vector(void);
void _pthread_cancel_enter(int);
void _pthread_cancel_leave(int);