public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Flavio Alberto Lopes Soares <flaviothunder@terra.com.br>
To: Linux Kernel Newbie <linux-newbie@vger.kernel.org>
Subject: using arrays from user space
Date: Fri, 08 Feb 2008 01:06:57 -0200	[thread overview]
Message-ID: <47ABC751.3090203@terra.com.br> (raw)

Hello all,
this is my very first message in this list, and I'm very, very newbie on 
linux kernel programming, I have a doubt, I need to modify a module to 
pass a great size array (about 600KB) in user space to kernel use-it, I 
think add more one IOCTL in his ioctl control of controled device 
passing the pointer as argument but I don't want to copy this array 
using copy_from_user() to kernel space because the size is too large, 
there's some way to convert the user-space array address to kernel-space 
address to use directly the original array ?


Thanks for all help

Flavio Alberto Lopes Soares
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

                 reply	other threads:[~2008-02-08  3:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=47ABC751.3090203@terra.com.br \
    --to=flaviothunder@terra.com.br \
    --cc=linux-newbie@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox