diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-11-03 11:20:23 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-11-15 13:03:59 +0100 |
commit | e21a7867713c87d0b0698254685d414d811d72b2 (patch) | |
tree | 5f6a4ce16652bdd9c9f59ec9d3b5d4629104ee45 /sysdeps/unix/sysv/linux/syslog.c | |
parent | e1d559f337de2c8ab68a6749dfe873477c883807 (diff) | |
download | glibc-e21a7867713c87d0b0698254685d414d811d72b2.tar.gz glibc-e21a7867713c87d0b0698254685d414d811d72b2.tar.xz glibc-e21a7867713c87d0b0698254685d414d811d72b2.zip |
Avoid zero-length array at the end of struct link_map [BZ #25097]
l_audit ends up as an internal array with _rtld_global, and GCC 10 warns about this. This commit does not change the layout of _rtld_global, so it is suitable for backporting. Future changes could allocate more of the audit state dynamically and remove it from always-allocated data structures, to optimize the common case of inactive auditing. Change-Id: Ic911100730f9124d4ea977ead8e13cee64b84d45
Diffstat (limited to 'sysdeps/unix/sysv/linux/syslog.c')
0 files changed, 0 insertions, 0 deletions