diff options
author | Laurent Vivier <laurent@vivier.eu> | 2020-02-12 13:56:57 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-02-12 18:56:38 +0100 |
commit | 9fcff3a67f2be53de2d9b27c270ba2a4ecba8810 (patch) | |
tree | 441bd784f03e608a88706d3790939acd14759e65 /scripts/git-submodule.sh | |
parent | 365510fb860a91dbead7d6c9e5815ef9d4e72062 (diff) |
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/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions