Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - C index

CONFIG_COMPAT_VDSO: Disable the 32-bit vDSO (needed for glibc 2.3.3)

General informations

The Linux kernel configuration item CONFIG_COMPAT_VDSO has multiple definitions:

Disable the 32-bit vDSO (needed for glibc 2.3.3) found in arch/x86/Kconfig

The configuration item CONFIG_COMPAT_VDSO:

Help text

Certain buggy versions of glibc will crash if they are presented with a 32-bit vDSO that is not mapped at the address indicated in its segment table.

The bug was introduced by f866314b89d56845f55e6f365e18b31ec978ec3a and fixed by 3b3ddb4f7db98ec9e912ccdf54d35df4aa30e04a and 49ad572a70b8aeb91e57483a11dd1b77e31c4468. Glibc 2.3.3 is the only released version with the bug, but OpenSUSE 9 contains a buggy "glibc 2.3.2".

The symptom of the bug is that everything crashes on startup, saying: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!

Saying Y here changes the default value of the vdso32 boot option from 1 to 0, which turns off the 32-bit vDSO entirely. This works around the glibc bug but hurts performance.

If unsure, say N: if you are compiling your own kernel, you are unlikely to be using a buggy version of glibc.

Enable vDSO for 32-bit applications found in arch/arm64/Kconfig

The configuration item CONFIG_COMPAT_VDSO:

Help text

Place in the process address space of 32-bit applications an ELF shared object providing fast implementations of gettimeofday and clock_gettime.

You must have a 32-bit build of glibc 2.22 or later for programs to seamlessly take advantage of this.

found in arch/s390/Kconfig

The configuration item CONFIG_COMPAT_VDSO:

Help text

(none)

Compat VDSO support found in arch/x86/Kconfig

The configuration item CONFIG_COMPAT_VDSO:

Help text

Map the 32-bit VDSO to the predictable old-style address too.

Say N here if you are running a sufficiently recent glibc version (2.3.3 or later), to remove the high-mapped VDSO mapping and to exclusively use the randomized VDSO.

If unsure, say Y.

Compat VDSO support found in arch/i386/Kconfig

The configuration item CONFIG_COMPAT_VDSO:

Help text

Map the VDSO to the predictable old-style address too. Say N here if you are running a sufficiently recent glibc version (2.3.3 or later), to remove the high-mapped VDSO mapping and to exclusively use the randomized VDSO.

If unsure, say Y.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - C index

Automatically generated (in year 2024). See also LKDDb sources on GitLab