about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/syslog.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-11-03 11:20:23 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-11-15 13:03:59 +0100
commite21a7867713c87d0b0698254685d414d811d72b2 (patch)
tree5f6a4ce16652bdd9c9f59ec9d3b5d4629104ee45 /sysdeps/unix/sysv/linux/syslog.c
parente1d559f337de2c8ab68a6749dfe873477c883807 (diff)
downloadglibc-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