* Forking in kernel
@ 2004-11-22 7:23 Jagadeesh Bhaskar P
[not found] ` <652016d304112200184ce31da8@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jagadeesh Bhaskar P @ 2004-11-22 7:23 UTC (permalink / raw)
To: Linux Newbie
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Forking in kernel
[not found] ` <652016d304112200184ce31da8@mail.gmail.com>
@ 2004-11-22 8:27 ` Jagadeesh Bhaskar P
[not found] ` <652016d304112200533639e6b0@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jagadeesh Bhaskar P @ 2004-11-22 8:27 UTC (permalink / raw)
To: Manish Regmi; +Cc: Linux Newbie
I read that the init process is the first actual process to run, and it
spawns all other processes even including the shell. So I wanted to
explore the same aspect, and study what happens in such a case, like,
zombie process and all!!
So is that possible to be done
On Mon, 2004-11-22 at 13:48, Manish Regmi wrote:
> On Mon, 22 Nov 2004 12:53:49 +0530, Jagadeesh Bhaskar P
> <jbhaskar@hclinsys.com> wrote:
> > Hi,
> >
> > How can I fork a new process at the kernel level, say, as in a module?
>
> why would you want that????????????????????????????????????
>
-
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Forking in kernel
[not found] ` <1101114046.5382.39.camel@myLinux>
@ 2004-11-22 9:15 ` Manish Regmi
0 siblings, 0 replies; 3+ messages in thread
From: Manish Regmi @ 2004-11-22 9:15 UTC (permalink / raw)
To: Jagadeesh Bhaskar P; +Cc: linux-newbie
On Mon, 22 Nov 2004 14:30:46 +0530, Jagadeesh Bhaskar P
<jbhaskar@hclinsys.com> wrote:
> > BTW:
> > Linux Kernel is better discussed in kernelnewbies site.
> > www.kernelnewbies.org
>
> I had seen this site. But didnt get which address to subscribe for and
> which to post the queries. Can u help me on that issue?
>
> --
> With regards,
>
> Jagadeesh Bhaskar P
> R&D Engineer
> HCL Infosystems Ltd
> Pondicherry
> INDIA
>
>
See this page.
http://mail.nl.linux.org/kernelnewbies/2004-11/msg00285.html
see line,
List-subscribe:
regards manish
--
Manish Regmi
-
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-22 9:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 7:23 Forking in kernel Jagadeesh Bhaskar P
[not found] ` <652016d304112200184ce31da8@mail.gmail.com>
2004-11-22 8:27 ` Jagadeesh Bhaskar P
[not found] ` <652016d304112200533639e6b0@mail.gmail.com>
[not found] ` <1101114046.5382.39.camel@myLinux>
2004-11-22 9:15 ` Manish Regmi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox