diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-04-03 13:17:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-04-03 16:26:10 +0200 |
commit | 4c6e0415ef206a595c62d5d37e3b9a821782c533 (patch) | |
tree | 26b4f51d3adbae7846873bd3c9cf1a3097b70b47 /elf/tst-dlopen-nodelete-reloc-mod12.cc | |
parent | cea56af185eae45b1f0963351e3d4daa1cbde521 (diff) | |
download | glibc-4c6e0415ef206a595c62d5d37e3b9a821782c533.tar.gz glibc-4c6e0415ef206a595c62d5d37e3b9a821782c533.tar.xz 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 'elf/tst-dlopen-nodelete-reloc-mod12.cc')
0 files changed, 0 insertions, 0 deletions