summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorWalter Doekes <walter+github@wjd.nu>2016-09-19 21:21:23 +0200
committerWalter Doekes <walter+asterisk@wjd.nu>2016-09-20 02:05:27 -0500
commit9372d32100b82669d56fcb147b0f8b2fa10ab529 (patch)
tree4459e554fa98545db15c8e6186208ac99bb61110 /channels
parent34461b89ace3742056100bb226a3c0c2d90ca5ff (diff)
asterisk.c: Non-root users also get the astcanary after core restart.
Without this change, a 'core restart' would kill the astcanary forever if you're not running as root. Both with and without this patch, the scheduling priority was still SCHED_RR after restart. Additionally, the astcanary is now spawned if you start with high priority and Asterisk doesn't get a chance to lower it. For example through: `chrt -r 10 sudo -u asterisk asterisk -c` Also reap killed astcanary processes on core restart. ASTERISK-26352 #close Change-Id: Iacb49f26491a0717084ad46ed96b0bea5f627a55
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions