Operations inside a module

From: Matt Young (wz6b@arrl.net)
Date: Thu Nov 21 2002 - 14:59:03 EST


Within the open routine of my module I need to open another device; and the
write routine needs to write to the other device.

User space system calls seem to be unavailable to module code.
I know about swapping the DS and ES to fake out other modules; then using
sys_write etc.

Can my code just include the standard syscall lib and use them from kernel
space?

My module code would also like to use user space malloc, is this a problem?

Matt

  
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:37 EST