From owner-cvs-all Sun Apr 29 15: 9:32 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E45537B42C; Sun, 29 Apr 2001 15:09:27 -0700 (PDT) (envelope-from jake@FreeBSD.org) Received: (from jake@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3TM9RW73888; Sun, 29 Apr 2001 15:09:27 -0700 (PDT) (envelope-from jake) Message-Id: <200104292209.f3TM9RW73888@freefall.freebsd.org> From: Jake Burkholder Date: Sun, 29 Apr 2001 15:09:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_resource.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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