mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
063f9ba220
The rtld-audit interfaces introduces a slowdown due to enabling profiling instrumentation (as if LD_AUDIT implied LD_PROFILE). However, instrumenting is only necessary if one of audit libraries provides PLT callbacks (la_pltenter or la_pltexit symbols). Otherwise, the slowdown can be avoided. The following patch adjusts the logic that enables profiling to iterate over all audit modules and check if any of those provides a PLT hook. To keep la_symbind to work even without PLT callbacks, _dl_fixup now calls the audit callback if the modules implements it. Co-authored-by: Alexander Monakov <amonakov@ispras.ru> Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com> |
||
---|---|---|
.. | ||
arpa | ||
bits | ||
gnu | ||
net | ||
netinet | ||
programs | ||
protocols | ||
rpc | ||
rpcsvc | ||
sys | ||
aio.h | ||
aliases.h | ||
alloc_buffer.h | ||
alloca.h | ||
allocate_once.h | ||
ar.h | ||
argp-fmtstream.h | ||
argp.h | ||
argz.h | ||
array_length.h | ||
assert.h | ||
atomic_wide_counter.h | ||
atomic.h | ||
byteswap.h | ||
clone_internal.h | ||
complex.h | ||
cpio.h | ||
crypt.h | ||
ctype.h | ||
des.h | ||
dirent.h | ||
dlfcn.h | ||
dso_handle.h | ||
elf.h | ||
endian.h | ||
envz.h | ||
err.h | ||
errno.h | ||
error.h | ||
execinfo.h | ||
fcntl.h | ||
features-time64.h | ||
features.h | ||
fenv.h | ||
file_change_detection.h | ||
filename.h | ||
float.h | ||
fmtmsg.h | ||
fnmatch.h | ||
fpu_control.h | ||
fstab.h | ||
fts.h | ||
ftw.h | ||
gconv.h | ||
getopt_int.h | ||
getopt.h | ||
glob.h | ||
gmp.h | ||
gnu-versions.h | ||
grp-merge.h | ||
grp.h | ||
gshadow.h | ||
iconv.h | ||
idx.h | ||
ifaddrs.h | ||
ifreq.h | ||
ifunc-impl-list.h | ||
inline-hashtab.h | ||
intprops.h | ||
inttypes.h | ||
langinfo.h | ||
lastlog.h | ||
libc-diag.h | ||
libc-internal.h | ||
libc-pointer-arith.h | ||
libc-symbols.h | ||
libgen.h | ||
libintl.h | ||
limits.h | ||
link.h | ||
list_t.h | ||
list.h | ||
locale.h | ||
loop_unroll.h | ||
malloc.h | ||
math-narrow-eval.h | ||
math.h | ||
mcheck.h | ||
memory.h | ||
mntent.h | ||
monetary.h | ||
mqueue.h | ||
netdb.h | ||
netgroup.h | ||
nl_types.h | ||
nss_dns.h | ||
nss_files.h | ||
nss.h | ||
nsswitch.h | ||
obstack.h | ||
plural-exp.h | ||
poll.h | ||
printf.h | ||
pthread.h | ||
pty.h | ||
pwd.h | ||
random-bits.h | ||
re_comp.h | ||
regex.h | ||
regexp.h | ||
register-atfork.h | ||
resolv.h | ||
rounding-mode.h | ||
rtld-malloc.h | ||
sched.h | ||
scratch_buffer.h | ||
search.h | ||
set-hooks.h | ||
setjmp.h | ||
sgtty.h | ||
shadow.h | ||
shlib-compat.h | ||
shm-directory.h | ||
signal.h | ||
spawn.h | ||
stab.h | ||
stackinfo.h | ||
stap-probe.h | ||
stdc-predef.h | ||
stdint.h | ||
stdio_ext.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
struct___timeb64.h | ||
struct___timespec64.h | ||
struct___timeval64.h | ||
stubs-prologue.h | ||
syscall.h | ||
sysexits.h | ||
syslog.h | ||
tar.h | ||
termios.h | ||
tgmath.h | ||
time.h | ||
ttyent.h | ||
uchar.h | ||
ucontext.h | ||
ulimit.h | ||
unistd.h | ||
utime.h | ||
utmp.h | ||
values.h | ||
verify.h | ||
wait.h | ||
wchar.h | ||
wctype.h | ||
wordexp.h |