diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-08-20 23:56:15 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-08-20 23:56:15 +0200 |
| commit | 9a3a722ddeb73c7816bbbfa62f0d4accefdcae2b (patch) | |
| tree | e0759b70d684f7b754d0b60fe60146454b99479a /lib/unicode | |
| parent | d8cd5d197de6756443c4a5aa109ff78656ebc200 (diff) | |
| download | plan9front-9a3a722ddeb73c7816bbbfa62f0d4accefdcae2b.tar.xz | |
rc: flush environment variables (update /env) before fork
on races... normal forks will all share the /env environment but
not the in memory variables of rc. so when we would normally fork
whoever does an exec (flush) first will override what the values of the
/env variables are, *independent* of the variables that where
actually modified *in* the process.
when we flush *before* fork, then at least both processes start out
with marked clean in memory variables and the processes will flush
only the things they actually change.
Diffstat (limited to 'lib/unicode')
0 files changed, 0 insertions, 0 deletions
