user malloc from kernel

Pawel Jakub Dawidek nick at garage.freebsd.pl
Mon Sep 29 08:46:12 PDT 2003


On Mon, Sep 29, 2003 at 05:22:47PM +0300, earthman wrote:
+> how to allocate some memory chunk
+> in user space memory from kernel code?
+> how to do it correctly?

Here you got sample kernel module which do this:

	http://garage.freebsd.pl/usmalloc.tgz
	http://garage.freebsd.pl/usmalloc.README

-- 
Pawel Jakub Dawidek                       pawel at dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030929/a9f293aa/attachment.bin


More information about the freebsd-hackers mailing list