]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] SELinux: Add security hooks to mips-mt {get,set}affinity
authorDavid Quigley <dpquigl@tycho.nsa.gov>
Wed, 28 Jun 2006 13:36:46 +0000 (09:36 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 6 Feb 2007 16:53:21 +0000 (16:53 +0000)
commita868844f84be5c3848ee6c5f7f39e3a1347d7ff2
tree25f3f1a8a48f297c60b9fd696b2e8a0a2c3d1aa5
parent69c88fb746b2c1e3c85286d8307878e040c20ecf
[MIPS] SELinux: Add security hooks to mips-mt {get,set}affinity

This patch adds LSM hooks into the setaffinity and getaffinity functions
for the mips architecture to enable security modules to control these
operations between tasks with different security attributes. This
implementation uses the existing task_setscheduler and task_getscheduler
LSM hooks.

Signed-Off-By: David Quigley <dpquigl@tycho.nsa.gov>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mips-mt.c