mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jean Fekry Rizk <jeanfekry@yahoo.com>
To: David Feuer <David_Feuer@brown.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linking with kernel code (Makefile)
Date: Mon, 11 Dec 2000 15:31:59 -0800 (PST)	[thread overview]
Message-ID: <20001211233159.12922.qmail@web216.mail.yahoo.com> (raw)

Thanks for your advice,

I already know one way to accomodate shared memory between a user process
and the kernel.
This is done by making a character device which allocates memory in the
kernel, then from the user appl, using the mmap function of the driver.

I was only wondering why I could not link my code with the kernel, though
they are compiled together, this means I should be able to use any
function in the kernel files as long as I succeed to define it right

So in my question X would be any application, Y would be linking my code
with the kernel and Z would be to get more control over structures

--- David Feuer <David_Feuer@brown.edu> wrote:
> At 03:12 PM 12/10/2000 -0800, you wrote:
> >Hi Kernel World,
> >I'm new to linux-kernel developement, so I would appreciate any help.
> >
> >What I want to do:
> >     create a shared memory segment between user space and kernel space
> 
> Generally, you can get the most useful help from linux-kernel if as well
> as 
> saying what you do you also say _why_.  So if you say you are developing
> an 
> application to do X, and you want to interact with the kernel in a
> certain 
> way Y because Z, then if Y is the correct way to accomplish X, people
> will 
> tell you how.  If, however, there is a better way, they will tell you
> this 
> instead.  Sorry, I don't know anything about the particular question you
> 
> posted, but if you want my own uneducated guess, I will guess that it's
> not 
> possible.
> 
> --
> This message has been brought to you by the letter alpha and the number
> pi.
> Open Source: Think locally; act globally.
> David Feuer
> David_Feuer@brown.edu
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2000-12-12  0:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-11 23:31 Jean Fekry Rizk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-12-12  0:34 Jean Fekry Rizk
2000-12-10 23:12 Jean Fekry Rizk

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=20001211233159.12922.qmail@web216.mail.yahoo.com \
    --to=jeanfekry@yahoo.com \
    --cc=David_Feuer@brown.edu \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®