From owner-freebsd-hackers Thu Mar 6 16:39:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA25072 for hackers-outgoing; Thu, 6 Mar 1997 16:39:46 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA25064 for ; Thu, 6 Mar 1997 16:39:43 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA15367; Fri, 7 Mar 1997 11:07:48 +1030 (CST) From: Michael Smith Message-Id: <199703070037.LAA15367@genesis.atrad.adelaide.edu.au> Subject: Re: Linux JDK on 2.2 In-Reply-To: <199703062343.PAA16789@iago.ienet.com> from "pius@ienet.com" at "Mar 6, 97 03:43:04 pm" To: pius@ienet.com Date: Fri, 7 Mar 1997 11:07:48 +1030 (CST) Cc: sos@ravenock.cybercity.dk, hackers@FreeBSD.ORG, msmith@atrad.adelaide.edu.au, mark@quickweb.com X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pius@ienet.com stands accused of saying: > > Hmm, to be honest I don't know what FIOSETOWN/FIOGETOWN do exactly, but > the following two patches to the linux lkm seem to work for me (at least > with respect to running the Linux JDK): (from the linux fcntl(2) manpage) F_GETOWN Get the process ID (or process group) of the owner of a socket. Process groups are returned as negative values. F_SETOWN Set the process or process group that owns a socket. For these commands, ownership means receiving SIGIO or SIGURG signals. Process groups are specified using negative val- ues. This reads the same as the BSD one : F_GETOWN Get the process ID or process group currently receiving SIGIO and SIGURG signals; process groups are returned as negative values (arg is ignored). F_SETOWN Set the process or process group to receive SIGIO and SIGURG signals; process groups are specified by supplying arg as neg- ative, otherwise arg is interpreted as a process ID. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[