commit | 018804204f41e6e60cec536843275f8fdd4d3620 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Mon Mar 13 22:32:05 2017 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Mon Mar 13 22:35:30 2017 +0100 |
tree | 8d1adfc3acba1cbfb24e952e12f1a329a3a15a21 | |
parent | e88608eae24ae5934034e1ecb6c494fefbf1b9ae [diff] |
runit: fix chpst -n -N -u USER busybox's chpst first switches user/group and then tries to call nice(). Once the root priviledges are dropped, process priority can only be lowered. So negative nice values don't work anymore. Upstream version of chpst correctly calls nice() before switching user. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>