diff options
author | kib <kib@FreeBSD.org> | 2010-08-17 09:13:26 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-08-17 09:13:26 +0000 |
commit | 5a79777b4407edd39781e06216e4dc6ca68bb6a7 (patch) | |
tree | 2f639ad563c61b228d123038b15beca40d36a4ba /lib/libc/include | |
parent | 680fe863d9e18febb130562fe69135f824b59b45 (diff) | |
download | FreeBSD-src-5a79777b4407edd39781e06216e4dc6ca68bb6a7.zip FreeBSD-src-5a79777b4407edd39781e06216e4dc6ca68bb6a7.tar.gz |
Use aux vector to get values for SSP canary, pagesize, pagesizes array,
number of host CPUs and osreldate.
This eliminates the last sysctl(2) calls from the dynamically linked image
startup.
No objections from: kan
Tested by: marius (sparc64)
MFC after: 1 month
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/libc_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index cb0b407..570441b 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -213,4 +213,6 @@ extern int __sys_fcntl(int, int, ...); /* execve() with PATH processing to implement posix_spawnp() */ int _execvpe(const char *, char * const *, char * const *); +int _elf_aux_info(int aux, void *buf, int buflen); + #endif /* _LIBC_PRIVATE_H_ */ |