OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Andy Isaacson (adihexapodia.org)
Date: Mon Jul 01 2002 - 14:34:49 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Mon, Jul 01, 2002 at 09:16:57PM +0200, wojtekifirma.pl wrote:
    > Is it possible (on BSD :-) to copy a chunk of memory directly from one
    > process' address space to another process' address space?

    This probably belongs on comp.unix.programming or comp.unix.bsd.*,
    but...

    If you have control of both processes, it is most efficient to simply
    have them both mmap(MAP_SHARED) a file.

    If you need to snoop around in the memory of another process, you
    probably need to use ptrace().

    -andy