1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Hardcode RT signal numbers (#338)

Looking up SIGRTMIN/SIGRTMAX isn't portable.
Hardcode the Linux signal number instead.

Fixes issue #337.
This commit is contained in:
Oliver Walsh 2021-11-20 01:06:07 +00:00 committed by GitHub
parent e6d2e86e35
commit f3e95d0d3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,8 +123,8 @@ _signal_map = {
"PROF": 27,
"PWR": 30,
"QUIT": 3,
"RTMAX": int(signal.SIGRTMAX),
"RTMIN": int(signal.SIGRTMIN),
"RTMAX": 64,
"RTMIN": 34,
"SEGV": 11,
"STKFLT": 16,
"STOP": 19,