diff options
| author | David Quigley <[email protected]> | 2006-06-30 01:55:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-06-30 11:25:37 -0700 |
| commit | a1836a42daf5ddfe9a891973734bd9a7d62eb504 (patch) | |
| tree | e8819aec40aff3fa0eecd2ef9d92df8213bce58b /scripts/patch-kernel | |
| parent | 7a01955f99b65622a00ba5c8b39202ddc6fa65f8 (diff) | |
[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 <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: James Morris <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions