From owner-freebsd-java Tue Jul 16 2: 5:11 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7878237B400 for ; Tue, 16 Jul 2002 02:05:09 -0700 (PDT) Received: from eowyn.vianetworks.nl (eowyn.vianetworks.nl [212.61.25.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B75843E3B for ; Tue, 16 Jul 2002 02:05:08 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eowyn.vianetworks.nl (Postfix) with ESMTP id 6516B20F18; Tue, 16 Jul 2002 11:05:07 +0200 (CEST) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id LAA14838; Tue, 16 Jul 2002 11:05:07 +0200 (MET DST) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) by bowtie.nl (8.11.1/8.11.1) with ESMTP id g6G90pX55737; Tue, 16 Jul 2002 11:00:51 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-ID: <3D33E0C3.4090405@bowtie.nl> Date: Tue, 16 Jul 2002 11:00:51 +0200 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1a) Gecko/20020701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antony T Curtis Cc: freebsd-java@FreeBSD.ORG Subject: Re: linux JRE 1.4 under linux compatibility only runs as root References: <20020711214742.C259A37B406@hub.freebsd.org> <20020711150748.B14694@alicia.nttmcl.com> <20020711174958.E32743@seaman.org> <3D2F4743.4010403@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Antony T Curtis wrote: > > I gave this a go patching both sched_getscheduler and sched_getparam on > -STABLE... > > The result: jdk1.4 works well on non-root account (tested running Java2D > demo and SwingSet2) > > Thanks! > > Richard Seaman, Jr. wrote: > >> On Thu, Jul 11, 2002 at 03:07:48PM -0700, Shannon -jj Behrens wrote: > > > > >> >> Not hard at all. The perms in sched_getscheduler in -stable are silly. >> (also sched_getparam). Just try changing it to something like the patch >> below (note that I don't have a stable system at the moment, so I don't >> guarantee it works, nor that it even compiles -- take it as a guide >> only). > > > > Hi Antony, Could you post your patch? I tried Richard's patch on a 4.5 system, but unfortunately without succes. Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message