From: David Quigley Date: Fri, 30 Jun 2006 08:55:49 +0000 (-0700) Subject: [PATCH] SELinux: Add security hook definition for getioprio and insert hooks X-Git-Tag: v2.6.18-rc1~294 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1836a42daf5ddfe9a891973734bd9a7d62eb504;p=pandora-kernel.git [PATCH] SELinux: Add security hook definition for getioprio and insert hooks Add a new security hook definition for the sys_ioprio_get operation. At present, the SELinux hook function implementation for this hook is identical to the getscheduler implementation but a separate hook is introduced to allow this check to be specialized in the future if necessary. This patch also creates a helper function get_task_ioprio which handles the access check in addition to retrieving the ioprio value for the task. Signed-off-by: David Quigley Acked-by: Stephen Smalley Signed-off-by: James Morris Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed