plan9fox/sys
cinap_lenrek 98363cb272 devenv: fix ORCLOSE handling
when opening a /env file ORCLOSE, and the process exits, envgrp() would
return nil can crash in envremove() because procexit will have set up->egrp
to nil before calling closefgrp().

the solution is to capture the environment on open, keeping a reference in
Chan.aux, so it doesnt matter on what process the close happens and a
env chan will always refer to its original environment group.
2015-11-22 02:39:57 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: [9fans] FUSE on Plan9 2015-10-31 16:09:15 -04:00
include libmp: initial attempt at constant time code, faster reductions for special primes (for ecc) 2015-11-21 09:39:59 +01:00
lib acid/leak: fix endless loop for B2NB(b) == b case (thanks mischief) 2015-10-19 00:20:33 +02:00
man libmp: initial attempt at constant time code, faster reductions for special primes (for ecc) 2015-11-21 09:39:59 +01:00
src devenv: fix ORCLOSE handling 2015-11-22 02:39:57 +01:00