From owner-freebsd-hackers Mon Jan 22 13:02:04 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA13209 for hackers-outgoing; Mon, 22 Jan 1996 13:02:04 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA13204 for ; Mon, 22 Jan 1996 13:01:58 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id NAA04221 for ; Mon, 22 Jan 1996 13:00:56 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA08060; Mon, 22 Jan 1996 21:55:44 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id VAA09033; Mon, 22 Jan 1996 21:55:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id VAA06964; Mon, 22 Jan 1996 21:43:07 +0100 (MET) From: J Wunsch Message-Id: <199601222043.VAA06964@uriah.heep.sax.de> Subject: Re: exec To: pcua@linux1.dlsu.edu.ph (John Patrick Cua) Date: Mon, 22 Jan 1996 21:43:07 +0100 (MET) Cc: hackers@FreeBSD.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "John Patrick Cua" at Jan 22, 96 09:19:59 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@FreeBSD.org Precedence: bulk As John Patrick Cua wrote: > > how do i replace the code of a stopped(by SIGSTOP) process externally so > that once i signal it to continue it will be executing my replaced code? I don't think you can do this. Perhaps you are rather looking for handling dynamic libraries (dlopen() et al.)? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)