[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mapping memory from one process to another
On Wed, 1 Aug 2001, Rob Fuller wrote:
> I want to temporarily map a buffer that is passed to my driver
> through an ioctl into another process's address space. I do not
> want to copy the data. Any ideas?
Let the buffer originate in the driver in the
first place.
Ie. let the first program (the one which does
ioctl now) mmap() some control buffer of the
driver.
Now the memory is inside the driver and thus
very easy to pass on to the second program.
regards,
Rik
--
Executive summary of a recent Microsoft press release:
"we are concerned about the GNU General Public License (GPL)"
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/