summary refs log tree commit diff stats
path: root/scripts/analyse-9p-simpletrace.py
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2020-02-12 13:56:57 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-02-12 18:56:38 +0100
commit9fcff3a67f2be53de2d9b27c270ba2a4ecba8810 (patch)
tree441bd784f03e608a88706d3790939acd14759e65 /scripts/analyse-9p-simpletrace.py
parent365510fb860a91dbead7d6c9e5815ef9d4e72062 (diff)
downloadfocaccia-qemu-9fcff3a67f2be53de2d9b27c270ba2a4ecba8810.tar.gz
focaccia-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 'scripts/analyse-9p-simpletrace.py')
0 files changed, 0 insertions, 0 deletions