mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32: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 |
||
---|---|---|
.. | ||
acpica | ||
gcov | ||
pdf_view | ||
qt5_textedit | ||
system_rtc-linux | ||
system_rtc-pc | ||
test-expat | ||
test-ldso | ||
test-libc | ||
test-libc_connect_lwip | ||
test-libc_connect_lxip | ||
test-libc_connect_vfs_server_lwip | ||
test-libc_connect_vfs_server_lxip | ||
test-libc_counter | ||
test-libc_execve | ||
test-libc_fork | ||
test-libc_getenv | ||
test-libc_pipe | ||
test-libc_vfs | ||
test-libc_vfs_block | ||
test-libc_vfs_counter | ||
test-libc_vfs_fs | ||
test-libc_vfs_fs_chained | ||
test-libc_vfs_ram | ||
test-pthread | ||
test-sequence | ||
test-spark | ||
test-spark_exception | ||
test-spark_secondary_stack | ||
test-stdcxx | ||
test-tcp_bulk_lwip | ||
test-tcp_bulk_lxip |