From: Ilya Yu. Malakhov Date: Mon, 22 Oct 2018 11:16:08 +0000 (+0200) Subject: signal: Use correct type for si_band in siginfo_t [BZ #23562] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b4b8231e77702cfaceeac04f5a556f58573565;p=thirdparty%2Fglibc.git signal: Use correct type for si_band in siginfo_t [BZ #23562] (cherry picked from commit f997b4be18f7e57d757d39e42f7715db26528aa0) --- diff --git a/ChangeLog b/ChangeLog index 331aabfdbc8..40ddae489f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-10-19 Ilya Yu. Malakhov + + [BZ #23562] + * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h + (struct siginfo_t): Use correct type for si_band. + 2018-10-17 Stefan Liebler [BZ #23275] diff --git a/NEWS b/NEWS index 0054228a99e..afb956149c4 100644 --- a/NEWS +++ b/NEWS @@ -91,6 +91,7 @@ The following bugs are resolved with this release: [23456] Wrong index_cpu_LZCNT [23459] COMMON_CPUID_INDEX_80000001 isn't populated for Intel processors [23538] pthread_cond_broadcast: Fix waiters-after-spinning case + [23562] signal: Use correct type for si_band in siginfo_t [23579] libc: Errors misreported in preadv2 diff --git a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h index 33766d1813c..43c4e009a44 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;