mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 1274873 - Part 1: Change search order for free signal r=jld
This commit is contained in:
parent
958ccb25fb
commit
1f2003d5b1
@ -253,7 +253,7 @@ static const sock_fprog* gSetSandboxFilter;
|
||||
static int
|
||||
FindFreeSignalNumber()
|
||||
{
|
||||
for (int signum = SIGRTMIN; signum <= SIGRTMAX; ++signum) {
|
||||
for (int signum = SIGRTMAX; signum >= SIGRTMIN; --signum) {
|
||||
struct sigaction sa;
|
||||
|
||||
if (sigaction(signum, nullptr, &sa) == 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user