[2.28 COMMITTED] signal: Use correct type for si_band in siginfo_t [BZ #23562]
Florian Weimer
fweimer@redhat.com
Mon Jan 1 00:00:00 GMT 2018
From: Ilya Yu. Malakhov <malakhov@mcst.ru>
(cherry picked from commit f997b4be18f7e57d757d39e42f7715db26528aa0)
2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
[BZ #23562]
* sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
(struct siginfo_t): Use correct type for si_band.
diff --git a/NEWS b/NEWS
index 594cecfc75..e95a0ea159 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ The following bugs are resolved with this release:
[23497] readdir64@GLIBC_2.1 cannot parse the kernel directory stream
[23521] nss_files aliases database file stream leak
[23538] pthread_cond_broadcast: Fix waiters-after-spinning case
+ [23562] signal: Use correct type for si_band in siginfo_t
[23578] regex: Fix memory overread in re_compile_pattern
[23579] libc: Errors misreported in preadv2
[23606] Missing ENDBR32 in sysdeps/i386/start.S
diff --git a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
index 33766d1813..43c4e009a4 100644
--- a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
+++ b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
@@ -107,7 +107,7 @@ typedef struct
/* SIGPOLL. */
struct
{
- long int si_band; /* Band event for SIGPOLL. */
+ __SI_BAND_TYPE si_band; /* Band event for SIGPOLL. */
int si_fd;
} _sigpoll;
More information about the Libc-stable
mailing list