]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make rtprio work again.
authorjake <jake@FreeBSD.org>
Sun, 29 Apr 2001 22:09:26 +0000 (22:09 +0000)
committerjake <jake@FreeBSD.org>
Sun, 29 Apr 2001 22:09:26 +0000 (22:09 +0000)
commit452dc293f22830be6db2382f0316cf655aa5e20e
tree639e15ac68bb8e528c6abffacb486f58445a78be
parent819ac323929d41a0b4ad4676ceb759bdeb200d44
Make rtprio work again.
- add a missing break which caused RTP_SET to always return EINVAL
- break instead of returning if p_can fails so proc_lock is always
  dropped correctly
- only copyin data that is actually needed
- use break instead of goto
- make rtp_to_pri return EINVAL instead of -1 if the values are out
  or range so we don't have to translate
sys/kern/kern_resource.c