Set environment variables before executing the application 00/234800/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 29 May 2020 02:07:02 +0000 (11:07 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 29 May 2020 02:07:32 +0000 (11:07 +0900)
commite18746776e8bc13528057004218a457ee83b6e7e
tree838a3d18fd133d88cd5b3e80bfb3d8639f35fa3e
parente7a00d8d7119068198bf46b366ff9bd39ffd92b0
Set environment variables before executing the application

To avoid thread-safe issue of setenv() / getenv(), the child process
adds the environment variables to increase buffer size of __environ.

Change-Id: Ia656b8c4cbc2fb5014a1fe399e78dfc9475dbf6d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/common/src/launchpad_common.c