9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] rfork(RFPROC|RFNOMNT)
@ 2012-08-27 15:59 cinap_lenrek
  2012-08-27 17:01 ` cinap_lenrek
  0 siblings, 1 reply; 3+ messages in thread
From: cinap_lenrek @ 2012-08-27 15:59 UTC (permalink / raw)
  To: 9fans

aiju found a bug in port/sysproc.c sysrfork(). in the
RFPROC|RFNOMNT case, it sets up->pgrp->noattach
instead of p->pgrp->noattach setting the *parents*
noattach flag instead of the childs pgrp.

http://code.google.com/p/plan9front/source/detail?r=7bbd45940626e92d4caf11620423a96a3fdc58ad

--
cinap



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

* Re: [9fans] rfork(RFPROC|RFNOMNT)
  2012-08-27 15:59 [9fans] rfork(RFPROC|RFNOMNT) cinap_lenrek
@ 2012-08-27 17:01 ` cinap_lenrek
  2012-09-05 19:03   ` erik quanstrom
  0 siblings, 1 reply; 3+ messages in thread
From: cinap_lenrek @ 2012-08-27 17:01 UTC (permalink / raw)
  To: 9fans

small additional note. RFPROC|RFNOMNT alone makes no difference
of course as parent and child will share the same pgrp. but
with RFNAMEG or RFCNAMEG it makes a difference.

the number of programs that use this combination is probably
very small. it was triggered with irc7 which is not part of
the plan9 distribution.

--
cinap



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

* Re: [9fans] rfork(RFPROC|RFNOMNT)
  2012-08-27 17:01 ` cinap_lenrek
@ 2012-09-05 19:03   ` erik quanstrom
  0 siblings, 0 replies; 3+ messages in thread
From: erik quanstrom @ 2012-09-05 19:03 UTC (permalink / raw)
  To: 9fans

On Mon Aug 27 13:04:38 EDT 2012, cinap_lenrek@gmx.de wrote:
> small additional note. RFPROC|RFNOMNT alone makes no difference
> of course as parent and child will share the same pgrp. but
> with RFNAMEG or RFCNAMEG it makes a difference.
>
> the number of programs that use this combination is probably
> very small. it was triggered with irc7 which is not part of
> the plan9 distribution.

thanks, good catch.

- erik



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

end of thread, other threads:[~2012-09-05 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-27 15:59 [9fans] rfork(RFPROC|RFNOMNT) cinap_lenrek
2012-08-27 17:01 ` cinap_lenrek
2012-09-05 19:03   ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).