summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/contregs.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-08-03 18:33:03 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-05 02:16:20 +0200
commit725aad24c3ba96a7c06448c14c265a466cdbd663 (patch)
treebbe0eae923736950030751651f70f3ace4cc7693 /include/asm-m68k/contregs.h
parentMerge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 (diff)
downloadlinux-725aad24c3ba96a7c06448c14c265a466cdbd663.tar.xz
linux-725aad24c3ba96a7c06448c14c265a466cdbd663.zip
__sched_setscheduler: don't do any policy checks when not "user"
The "user" parameter to __sched_setscheduler indicates whether the change is being done on behalf of a user process or not. If not, we shouldn't apply any permissions checks, so don't call security_task_setscheduler(). Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org> Tested-by: Steve Wise <swise@opengridcomputing.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68k/contregs.h')
0 files changed, 0 insertions, 0 deletions