- Added a syscall for sysctl
- Small bug fixes to sched.c