genode/repos/libports/src
Norman Feske a99f6a81b6 libc: clone 'environ' pointer value after fork
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
2021-02-23 12:02:44 +01:00
..
app pdf_view: tweaks for showing 16:10 slides 2021-01-25 13:58:10 +01:00
drivers/framebuffer/vesa Turn framebuffer drivers into capture clients 2020-07-13 11:33:15 +02:00
lib libc: clone 'environ' pointer value after fork 2021-02-23 12:02:44 +01:00
server/system_rtc Replace server/acpi_input with app/acpi_event 2020-08-25 11:49:44 +02:00
test libc: clone 'environ' pointer value after fork 2021-02-23 12:02:44 +01:00