diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-11-03 11:20:23 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-11-03 18:10:11 +0100 |
commit | 6a771621414cc85f218d6b13c204552afd0294c3 (patch) | |
tree | 4f4c474061fab60c95865fce644b44e7d48ba93b /sysdeps/unix/sysv/linux/i386/setreuid.c | |
parent | b1c595cec06fabf65249a907db7d91e709ba6fd9 (diff) | |
download | glibc-6a771621414cc85f218d6b13c204552afd0294c3.tar glibc-6a771621414cc85f218d6b13c204552afd0294c3.tar.gz glibc-6a771621414cc85f218d6b13c204552afd0294c3.tar.bz2 glibc-6a771621414cc85f218d6b13c204552afd0294c3.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/i386/setreuid.c')
0 files changed, 0 insertions, 0 deletions