9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.62k stars 320 forks source link

acme: $acmeaddr is never unset #533

Closed fhs closed 5 months ago

fhs commented 2 years ago

Once you run a command with 2-1 cord, $acmeaddr is set and then appears in future execs that are not 2-1 cord. This makes it hard to detect if the command was run with a 2-1 cord.

This bug does not appear in Plan 9 since programs are run with rfork(RFENVG) there.

rsc commented 5 months ago

Fixed.