All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] process group problem
@ 2005-01-25 14:06 surendra singh  bisht
  2005-01-25 20:43 ` maximilian attems
  2005-01-26  6:47 ` Christophe Lucas
  0 siblings, 2 replies; 3+ messages in thread
From: surendra singh  bisht @ 2005-01-25 14:06 UTC (permalink / raw)
  To: kernel-janitors


[-- Attachment #1.1: Type: text/plain, Size: 634 bytes --]

  

    hi,
   
       it is known that child inherit the process group ID of its   parent then, why the process run by the shell do not inherit its
(shell) process group ID?? 

       suppose process p1 is run from the shell and it forks process p2 then p2 inherit process group of p1 but p1 doesn't inherit the proces group of shell....( can be seen by command ps -xj )

       even i'm doing it in kernel < copy_process() in  fork.c   >

           like p->pgrp = p->parent->pgrp 
          (p is task structure of child process)

    it is not working, why is it so..??

    any idea....

   surendra singh bisht

[-- Attachment #1.2: Type: text/html, Size: 1116 bytes --]

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [KJ] process group problem
  2005-01-25 14:06 [KJ] process group problem surendra singh  bisht
@ 2005-01-25 20:43 ` maximilian attems
  2005-01-26  6:47 ` Christophe Lucas
  1 sibling, 0 replies; 3+ messages in thread
From: maximilian attems @ 2005-01-25 20:43 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

On Tue, 25 Jan 2005, surendra singh  bisht wrote:

>        it is known that child inherit the process group ID of its   parent then, why the process run by the shell do not inherit its
> (shell) process group ID?? 

you posted to a wrong mailinglist:
better ask such questions on your local unix group,
or for your local guru?
have fun exploring the unixverse.

--
maks

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [KJ] process group problem
  2005-01-25 14:06 [KJ] process group problem surendra singh  bisht
  2005-01-25 20:43 ` maximilian attems
@ 2005-01-26  6:47 ` Christophe Lucas
  1 sibling, 0 replies; 3+ messages in thread
From: Christophe Lucas @ 2005-01-26  6:47 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

maximilian attems (janitor@sternwelten.at) wrote:
> On Tue, 25 Jan 2005, surendra singh  bisht wrote:
> 
> > it is known that child inherit the process group 
> > ID of its parent then, why the process run by the shell 
> > do not inherit its (shell) process group ID?? 
> 
> you posted to a wrong mailinglist:
> better ask such questions on your local unix group,
> or for your local guru?
> have fun exploring the unixverse.

kernelnewbies mailing list could be a place for this question.

Have A Good Day.
-- 
Christophe


[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-26  6:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 14:06 [KJ] process group problem surendra singh  bisht
2005-01-25 20:43 ` maximilian attems
2005-01-26  6:47 ` Christophe Lucas

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.