LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* accessing file operations directly in the kernel
@ 2008-11-06 22:39 andy
  0 siblings, 0 replies; 3+ messages in thread
From: andy @ 2008-11-06 22:39 UTC (permalink / raw)
  To: linux-kernel

Hi,

I am dealing with an interesting situation, which I have to access a
serial device driver
from the kernel space. I tried to use sys_open, sys_ioctl ... but
there is a problem
with the file descriptors.  Now, I started using direct calls to the
drivers functions
driver_open, driver_ioctl... passing the *inode from user_path_walk(),
but it doesn't
seem that works right. This serial device is going to be used only
from the other
module that runs in the kernel.

TIA
Andy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-07 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <fa.8yqIDPH3sfvHfyr9YeQyeb9HG/Q@ifi.uio.no>
2008-11-07  1:20 ` accessing file operations directly in the kernel Robert Hancock
2008-11-07 14:46   ` andy
2008-11-06 22:39 andy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).