diff options
| author | rmind <rmind@NetBSD.org> | 2008-01-26 17:55:29 +0000 |
|---|---|---|
| committer | rmind <rmind@NetBSD.org> | 2008-01-26 17:55:29 +0000 |
| commit | b5e9addd22eabcce2e017947a3b5e8569ca6500a (patch) | |
| tree | 3dd6e6289a1458aafa08984cba5c0c1f18ae4180 /sys/dev/raidframe | |
| parent | ef515ac1dc49cc036e4437a2a8dbf89d538707fe (diff) | |
sched_setparam: fix the case when incorrect (according to the class)
in-kernel priority is used. Reported by <drochner>.
Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;
Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions
