All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagadeesh Bhaskar P <jbhaskar@hclinsys.com>
To: Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Forking in kernel
Date: Mon, 22 Nov 2004 12:53:49 +0530	[thread overview]
Message-ID: <1101108229.5382.3.camel@myLinux> (raw)

Hi,

How can I fork a new process at the kernel level, say, as in a module?
When compiling a module with a fork() function inside it,
it will get complied as gcc -o ... -c ... -D__KERNEL__

But it says unresolved symbol fork() during insmod-ing. Is there a
kernel level compliment for fork and clone, like printk for printf??


Please do help!!

-- 
With regards,

Jagadeesh Bhaskar P

-
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:[~2004-11-22  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22  7:23 Jagadeesh Bhaskar P [this message]
     [not found] ` <652016d304112200184ce31da8@mail.gmail.com>
2004-11-22  8:27   ` Forking in kernel Jagadeesh Bhaskar P
     [not found]     ` <652016d304112200533639e6b0@mail.gmail.com>
     [not found]       ` <1101114046.5382.39.camel@myLinux>
2004-11-22  9:15         ` Manish Regmi

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=1101108229.5382.3.camel@myLinux \
    --to=jbhaskar@hclinsys.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.