Re: access_ok problem through system_call

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Sat Jan 22 2000 - 20:12:28 EST


On Sat, Jan 22, 2000 at 04:20:18PM +1300, Chris Wedgwood wrote:

> > 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/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:28 EST