Re: kernel to user space copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 29, 2003 at 04:17:13PM -0700, Kirk Bollinger wrote:
> Does anyone know of a good working example
> of copying from kernel to user space? I've seen a couple 
> example but can't get them to work.

I found a more-or-less OK example in drivers/char/random.c. Search for
RNDGETPOOL, then look for copy_to_user(). This file has several other
uses of copy_to_user(), some a little different than others, which is
nice.

-- 
http://www.wirex.com/

Attachment: pgp00417.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux