I am currently working on a project which involves opening and reading a file from user space to take some data, but this has to be done from a device driver. I'm aware of why this shouldn't be done and have read of different methods to accomplish this, but they are not currently working in recent kernel versions, so I wonder if anyone knows how this could be done.
Thanks in advance