From: Jason Baron Date: Thu, 19 Jan 2006 01:43:03 +0000 (-0800) Subject: [PATCH] fix sched_setscheduler semantics X-Git-Tag: v2.6.16-rc2~314 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c21761f168894b356626c847fe13be39605d76b4;p=pandora-kernel.git [PATCH] fix sched_setscheduler semantics Currently, a negative policy argument passed into the 'sys_sched_setscheduler()' system call, will return with success. However, the manpage for 'sys_sched_setscheduler' says: EINVAL The scheduling policy is not one of the recognized policies, or the parameter p does not make sense for the policy. Signed-off-by: Jason Baron Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed