From: David Quigley Date: Fri, 23 Jun 2006 09:04:00 +0000 (-0700) Subject: [PATCH] SELinux: add security hook call to mediate attach_task (kernel/cpuset.c) X-Git-Tag: v2.6.18-rc1~1081^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22fb52dd736a62e24c44c50739007496265dc38c;p=pandora-kernel.git [PATCH] SELinux: add security hook call to mediate attach_task (kernel/cpuset.c) Add a security hook call to enable security modules to control the ability to attach a task to a cpuset. While limited control over this operation is possible via permission checks on the pseudo fs interface, those checks are not sufficient to control access to the target task, which is looked up in this function. The existing task_setscheduler hook is re-used for this operation since this falls under the same class of operations. Signed-off-by: David Quigley Acked-by: Stephen Smalley Signed-off-by: James Morris Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed