From 2793b018446552e71e9125dc39366f9dbf9042ba Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 17 Aug 2010 09:13:26 +0000 Subject: 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 --- lib/libc/include/libc_private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/include') diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index cb0b40740f46f..570441b1f6fac 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_ */ -- cgit v1.3