mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 07:22:25 +00:00
a99f6a81b6
The 'environ' pointer is a global variable that must be considered as part of the application state. It must be copied from the parent to the child process during fork. Otherwise, a child returning from fork is unable to access environment variables before invoking execve. The actual environment variables and their values are already captured because they reside at the application heap, which is cloned from the parent. So the copied 'environ' pointer refers to valid data. Fixes #4015 |
||
---|---|---|
.. | ||
api | ||
pkg | ||
raw | ||
src |