Skip to content
Commit e206033c authored by Adhemerval Zanella's avatar Adhemerval Zanella Committed by Carlos O'Donell
Browse files

elf: Issue audit la_objopen for vDSO



The vDSO is is listed in the link_map chain, but is never the subject of
an la_objopen call.  A new internal flag __RTLD_VDSO is added that
acts as __RTLD_OPENEXEC to allocate the required 'struct auditstate'
extra space for the 'struct link_map'.

The return value from the callback is currently ignored, since there
is no PLT call involved by glibc when using the vDSO, neither the vDSO
are exported directly.

Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
(cherry picked from commit f0e23d34)

Resolved conflicts:
	elf/Makefile
parent 37233198
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment