First crack at sched.c, __sched_setscheduler().