Set scheduling policy before dropping privileges
authorSebastian Blunt <sebastian@c4k3.net>
Tue, 6 Dec 2016 17:11:14 +0000 (18:11 +0100)
committerSebastian Blunt <sebastian@c4k3.net>
Tue, 6 Dec 2016 17:11:14 +0000 (18:11 +0100)
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.


No differences found