Messages in this thread | | | From | Matt Young <> | Subject | Operations inside a module | Date | Thu, 21 Nov 2002 11:59:03 -0800 |
| |
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/
| |