mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +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 |
||
---|---|---|
.. | ||
app | ||
drivers/framebuffer/vesa | ||
lib | ||
server/system_rtc | ||
test |