about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIlya Yu. Malakhov <malakhov@mcst.ru>2018-10-22 13:43:59 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-10-22 13:43:59 +0200
commit48bef587bfd4b6c11ae227075eb1492b10a395a8 (patch)
treeb5def8f73a116fa58c30d9eb6b4b4a6031ea23eb
parent202d08db40f297e718699f628e3c2111be335c2c (diff)
downloadglibc-48bef587bfd4b6c11ae227075eb1492b10a395a8.tar.gz
glibc-48bef587bfd4b6c11ae227075eb1492b10a395a8.tar.xz
glibc-48bef587bfd4b6c11ae227075eb1492b10a395a8.zip
signal: Use correct type for si_band in siginfo_t [BZ #23562]
(cherry picked from commit f997b4be18f7e57d757d39e42f7715db26528aa0)
-rw-r--r--ChangeLog6
-rw-r--r--NEWS1
-rw-r--r--sysdeps/unix/sysv/linux/bits/types/siginfo_t.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index faa13471fb..9f47705871 100644
--- 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-09-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	[BZ #23579]
diff --git a/NEWS b/NEWS
index 299fba24b1..33bc5196c8 100644
--- a/NEWS
+++ b/NEWS
@@ -151,6 +151,7 @@ The following bugs are resolved with this release:
   [23363] stdio-common/tst-printf.c has non-free license
   [23456] Wrong index_cpu_LZCNT
   [23459] COMMON_CPUID_INDEX_80000001 isn't populated for Intel processors
+  [23562] signal: Use correct type for si_band in siginfo_t
   [23579] libc: Errors misreported in preadv2
 
 Version 2.26
diff --git a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
index bed69148f9..18d60bc705 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;