What is the cleanest way of using a system call from inside a device
driver code. I need to open a file from driver code , sys_open() gives a
bad addrress error.
I think sys_open treats the filename buffer to be in user space and hence
it fails.
Any help will be appreciated.
-- Suman
- 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/faq.html