From owner-freebsd-hackers Wed Apr 30 00:41:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA12219 for hackers-outgoing; Wed, 30 Apr 1997 00:41:07 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA12201 for ; Wed, 30 Apr 1997 00:41:03 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id RAA27412; Wed, 30 Apr 1997 17:10:56 +0930 (CST) From: Michael Smith Message-Id: <199704300740.RAA27412@genesis.atrad.adelaide.edu.au> Subject: Re: Unloading LKMs (was Re: A Desparate Plea for Help...) In-Reply-To: <199704300707.QAA27240@genesis.atrad.adelaide.edu.au> from Darren Reed at "Apr 30, 97 05:07:10 pm" To: avalon@coombs.anu.edu.au (Darren Reed) Date: Wed, 30 Apr 1997 17:10:56 +0930 (CST) Cc: hackers@freebsd.org 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 Darren Reed stands accused of saying: > > Hmmm, IP Filter unloads and reloads easily enough. I expect that you take care to release your hooks before you go though, correct? There is no way of removing a devsw entry, and often no check made to ensure that it's safe to go. > However, give some thought to a process which is in a kernel sleep state, > inside the LKM and theLKM is removed, leaving the process still sleeping > on a now invalid address. Indeed. -- ]] 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 [[