> > Could someone explain why this is happening? Is it wrong to use
> > sys_read/sys_write through another system call?
>
> you are passing bad arguments to read/write
More probably he is missing to do the get_fs / set_fs thing.
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/