Bug ID: 23734
Summary: la_symbind*() doesn't get called when LD_BIND_NOW is
Assignee: unassigned at sourceware dot org
Reporter: woodard at redhat dot com
Target Milestone: ---
If you tell the linker to bind now and you have an audit library la_symbind()
The problem appears to be that while there is a hook for calling the audit libs
when lazy binding is on, there is no hook for la_symbind when the symbols are
bound at the time of module loading.
1. construct a simple audit library that prints something out when
la_symbind*() is called. Example source code for this can be found in the ld.so
man page and in the glibc test cases.
2. $ LD_BIND_NOW=1 LD_AUDIT=audit.so ./foo
This problem seems to exist in all versions of glibc.