From: Sebastian Blunt Date: Tue, 6 Dec 2016 17:11:14 +0000 (+0100) Subject: Set scheduling policy before dropping privileges X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=1aa006c5960c17ccb941fc850b29d49cd5c6d1c3;hp=1aa006c5960c17ccb941fc850b29d49cd5c6d1c3;p=umurmur.git Set scheduling policy before dropping privileges Previously if set to daemonize, set to run with realtime priority, and set to drop privileges, umurmur would try to set the scheduling policy after dropping privileges, which would fail as unprivileged processes are not allowed to set a realtime scheduling policy as of Linux 2.6.12. Fixes #94. ---