diff options
author | Laurent Vivier | 2020-02-12 13:56:57 +0100 |
---|---|---|
committer | Laurent Vivier | 2020-02-12 18:56:38 +0100 |
commit | 9fcff3a67f2be53de2d9b27c270ba2a4ecba8810 (patch) | |
tree | 441bd784f03e608a88706d3790939acd14759e65 /hw/usb/host-libusb.c | |
parent | linux-user: cleanup signal.c (diff) | |
download | qemu-9fcff3a67f2be53de2d9b27c270ba2a4ecba8810.tar.gz qemu-9fcff3a67f2be53de2d9b27c270ba2a4ecba8810.tar.xz qemu-9fcff3a67f2be53de2d9b27c270ba2a4ecba8810.zip |
linux-user: fix TARGET_NSIG and _NSIG uses
Valid signal numbers are between 1 (SIGHUP) and SIGRTMAX.
System includes define _NSIG to SIGRTMAX + 1, but
QEMU (like kernel) defines TARGET_NSIG to TARGET_SIGRTMAX.
Fix all the checks involving the signal range.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20200212125658.644558-4-laurent@vivier.eu>
Diffstat (limited to 'hw/usb/host-libusb.c')
0 files changed, 0 insertions, 0 deletions