Re: Avoiding copy_from_user

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

 



Hi !

  Probably you can use the "proc" interface 
for doing this . Also probably an "mmap"
implementation should work for you . 

  Hope I'am correct .

Regards   

 --- Biswaranjan   <biswaranjan_p@rediffmail.com>
wrote: > Hi,
> 
> i'm trying to write a device driver for a particular
> device.
> 
> i need to manipulate the buffer provided to the
> kernel during 
> write()
> directly from the kernel without using
> copy_from_user() due to
> efficiency reasons..
> 
> is there any possible way?
> 
> TIA
> 
> john
> ___________________________________________________
> Get www. mycompany .com and 5 matching email ids.
> Just Rs. 1499/ year.
> Click here http://www.rediffmailpro.com
> 
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>  

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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