mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Increase auxv vector to support higher values
This makes the server run on Oracle Linux UEK 6.10+.
This commit is contained in:
parent
7ae91eeda6
commit
c2ce618ec9
@ -25,9 +25,10 @@
|
|||||||
// We don't have libc struct available here.
|
// We don't have libc struct available here.
|
||||||
// Compute aux vector manually (from /proc/self/auxv).
|
// Compute aux vector manually (from /proc/self/auxv).
|
||||||
//
|
//
|
||||||
// Right now there is only 51 AT_* constants,
|
// Right now there are 51 AT_* constants. Custom kernels have been encountered
|
||||||
// so 64 should be enough until this implementation will be replaced with musl.
|
// making use of up to 71. 128 should be enough until this implementation is
|
||||||
static unsigned long __auxv_procfs[64];
|
// replaced with musl.
|
||||||
|
static unsigned long __auxv_procfs[128];
|
||||||
static unsigned long __auxv_secure = 0;
|
static unsigned long __auxv_secure = 0;
|
||||||
// Common
|
// Common
|
||||||
static unsigned long * __auxv_environ = NULL;
|
static unsigned long * __auxv_environ = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user