access_ok problem through system_call
Niloufer Vajifdar
niloufer en utdallas.edu
Sab Ene 22 13:06:31 CST 2000
hi,
i'm new to linux kernel programming and i'm having the following problem:
When trying to use the sys_read and sys_write calls from within another
system call the return value is -14 (bad address EFAULT). This seems to be
happening because the 'access_ok' function is not allowing the access to
the buffer being used to read or write.
Could someone explain why this is happening? Is it wrong to use
sys_read/sys_write through another system call?
thanks,
niloufer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Más información sobre la lista de distribución Ayuda