Re: unable to copy data from the kernel to the user space

2004-07-07 Thread Julian Elischer
hmmm On Wed, 7 Jul 2004, pradeep reddy punnam wrote: > hi hackers, > > i am new to kernel hacking , i am just trying to play with the networking code. > i wrote a system call that will copy the mbuf address from the kernel to user space.. > the sys call look like this > > 355 STD BSD { int

unable to copy data from the kernel to the user space

2004-07-07 Thread pradeep reddy punnam
hi hackers, i am new to kernel hacking , i am just trying to play with the networking code. i wrote a system call that will copy the mbuf address from the kernel to user space.. the sys call look like this 355 STD BSD { int sn_rqueue(struct mbuf *m);} and the code in the sn_rqueue syscall