Date: Sun, 29 Apr 2001 15:09:27 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_resource.c Message-ID: <200104292209.f3TM9RW73888@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2001/04/29 15:09:27 PDT
Modified files:
sys/kern kern_resource.c
Log:
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
Revision Changes Path
1.82 +15 -20 src/sys/kern/kern_resource.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104292209.f3TM9RW73888>
