From: Serge Hallyn Date: Tue, 23 Jul 2013 18:18:53 +0000 (-0500) Subject: capabilities: allow nice if we are privileged X-Git-Tag: v3.12-rc1~106^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f54fb863c6bbcbafdfc332b4a4260abb5a002137;p=pandora-kernel.git capabilities: allow nice if we are privileged We allow task A to change B's nice level if it has a supserset of B's privileges, or of it has CAP_SYS_NICE. Also allow it if A has CAP_SYS_NICE with respect to B - meaning it is root in the same namespace, or it created B's namespace. Signed-off-by: Serge Hallyn Reviewed-by: "Eric W. Biederman" Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed