aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pt-equal.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-04-03 13:17:48 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-04-03 16:26:10 +0200
commit4c6e0415ef206a595c62d5d37e3b9a821782c533 (patch)
tree26b4f51d3adbae7846873bd3c9cf1a3097b70b47 /sysdeps/htl/pt-equal.c
parentcea56af185eae45b1f0963351e3d4daa1cbde521 (diff)
downloadglibc-4c6e0415ef206a595c62d5d37e3b9a821782c533.tar
glibc-4c6e0415ef206a595c62d5d37e3b9a821782c533.tar.gz
glibc-4c6e0415ef206a595c62d5d37e3b9a821782c533.tar.bz2
glibc-4c6e0415ef206a595c62d5d37e3b9a821782c533.zip
elf: Simplify handling of lists of audit strings
All list elements are colon-separated strings, and there is a hard upper limit for the number of audit modules, so it is possible to pre-allocate a fixed-size array of strings to which the LD_AUDIT environment variable and --audit arguments are added. Also eliminate the global variables for the audit list because the list is only needed briefly during startup. There is a slight behavior change: All duplicate LD_AUDIT environment variables are now processed, not just the last one as before. However, such environment vectors are invalid anyway. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/htl/pt-equal.c')
0 files changed, 0 insertions, 0 deletions