Re: [PATCH 4/4] linux-user: fix use of SIGRTMIN

2020-02-04 Thread Laurent Vivier
leksandar Markovic > rk.com>; Marlies Ruck ; Laurent Vivier >> ; Peter Maydell ; Taylor >> Simpson ; Riku Voipio >> Subject: [PATCH 4/4] linux-user: fix use of SIGRTMIN >> >> Some RT signals can be in use by glibc, >> it's why SIGRTMIN (34) is gene

RE: [PATCH 4/4] linux-user: fix use of SIGRTMIN

2020-02-03 Thread Taylor Simpson
Taylor > Simpson ; Riku Voipio > Subject: [PATCH 4/4] linux-user: fix use of SIGRTMIN > > Some RT signals can be in use by glibc, > it's why SIGRTMIN (34) is generally greater than __SIGRTMIN (32). > > So SIGRTMIN cannot be mapped to TARGET_SIGRTMIN. > > Instead o

[PATCH 4/4] linux-user: fix use of SIGRTMIN

2020-02-01 Thread Laurent Vivier
Some RT signals can be in use by glibc, it's why SIGRTMIN (34) is generally greater than __SIGRTMIN (32). So SIGRTMIN cannot be mapped to TARGET_SIGRTMIN. Instead of swapping only SIGRTMIN and SIGRTMAX, map all the range [TARGET_SIGRTMIN ... TARGET_SIGRTMAX - X] to [__SIGRTMIN + X ... SIGRT