LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: andy <rootstrap@googlemail.com>
To: linux-kernel@vger.kernel.org
Subject: accessing file operations directly in the kernel
Date: Thu, 6 Nov 2008 22:39:59 +0000 [thread overview]
Message-ID: <2c918050811061439k450bf4baqd02c054022249b35@mail.gmail.com> (raw)
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
next reply other threads:[~2008-11-06 22:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 22:39 andy [this message]
[not found] <fa.8yqIDPH3sfvHfyr9YeQyeb9HG/Q@ifi.uio.no>
2008-11-07 1:20 ` Robert Hancock
2008-11-07 14:46 ` andy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c918050811061439k450bf4baqd02c054022249b35@mail.gmail.com \
--to=rootstrap@googlemail.com \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: accessing file operations directly in the kernel' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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).