From owner-freebsd-hackers Wed Jun 19 10:19:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail04.svc.cra.dublin.eircom.net (mail04.svc.cra.dublin.eircom.net [159.134.118.20]) by hub.freebsd.org (Postfix) with SMTP id 586D537B414 for ; Wed, 19 Jun 2002 10:19:16 -0700 (PDT) Received: (qmail 23758 messnum 1152883 invoked from network[159.134.237.75/jimbo.eircom.net]); 19 Jun 2002 17:19:15 -0000 Received: from jimbo.eircom.net (HELO webmail.eircom.net) (159.134.237.75) by mail04.svc.cra.dublin.eircom.net (qp 23758) with SMTP; 19 Jun 2002 17:19:15 -0000 From: "Peter Edwards" To: "Richard Seaman, Jr." Cc: hackers@freebsd.org Subject: Re: sched_setscheduler() permissions and the linux JDK 1.4 Date: Wed, 19 Jun 2002 18:19:15 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Originating-IP: 62.17.151.61 X-Mailer: Eircom Net CRC Webmail (http://www.eircom.net/) Organization: Eircom Net (http://www.eircom.net/) Message-Id: <20020619171916.586D537B414@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Richard Seaman, Jr." wrote: > sched_setscheduler/sched_getscheduler are broken, permission wise, in > both stable and current. In stable, permissions are too unreasonably > restrictive, and in current too unreasonably loose. Can you either describe what would be acceptable, or point me to somewhere that does? (Without having to fork out €BIGNUM to a standards body.) If I can get a decent description, I'm sure I can come up with something that comes closer to the standard, and doesnt produce as many unpleasant surprises for linux apps. > However, the sched_XXXX functions are mostly broken anyway. In what way? Is there something broken in their local implementation, a lack of semantically adequate mappings to the FreeBSD scheduler, or a general lack of functionality in the BSD rtprio stuff it maps to? -- Peter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message