]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
signal: Use correct type for si_band in siginfo_t [BZ #23562]
authorIlya Yu. Malakhov <malakhov@mcst.ru>
Mon, 22 Oct 2018 11:03:57 +0000 (13:03 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Oct 2018 11:03:57 +0000 (13:03 +0200)
(cherry picked from commit f997b4be18f7e57d757d39e42f7715db26528aa0)

ChangeLog
NEWS
sysdeps/unix/sysv/linux/bits/types/siginfo_t.h

index 5b743f2fdb840e88b6bded27edf3d03e840b54f2..77264386585ed10c0ec541d986966f5a5174eb2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2018-10-17  Stefan Liebler  <stli@linux.ibm.com>
 
        [BZ #23275]
diff --git a/NEWS b/NEWS
index 594cecfc75327b9aeb6afccc8982919fcd0f6506..e95a0ea1595503e9428f392282aaa54bc0f4ca86 100644 (file)
--- 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
index 33766d1813c689a8942e8f5d37758105a7501036..43c4e009a44faef57558093d248a715f75759f89 100644 (file)
@@ -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;