Hi Krushnaal,

On Fri, Sep 18, 2009 at 4:08 PM, krushnaal pai <krisonea...@gmail.com> wrote:
> Dear all,
>
> I wonder if anyone could provide the example for the usage of copy_from_usr
> and copy_to_usr including the programs both in kernel space and in user
> space.
>

Since, you have asked for a program which uses those calls,
You might want to look at OHSM's ioctl interface.

http://ohsm.git.sourceforge.net/git/gitweb.cgi?p=ohsm/mkatiyar/.git;a=blob;f=kernel/admin.c;h=cef8b6f894399cdb69454e0d946e453d685bb918;hb=refs/heads/ohsm_next

> how to define the memory or buffer where the data is communicated.
>
> thanks very much,
> k



-- 
Regards,
Sandeep.





        
“To learn is to change. Education is a process that changes the learner.”

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to