haiku/headers/private/libroot
Ingo Weinhold e551626f40 Implement support for a SYS:ENV attribute on executable
__flatten_process_args() does now have the executable path as an
additional (optional) parameter. If specified, the function will read
the file's SYS:ENV attribute (if set) and use its value to modified the
environment it is preparing for the new process. Currently supported
attribute values are strings consisting of "<var>=<value>" substrings
separated by "\0" (backslash zero), with '\' being used as an escape
character. The environment will be altered to contain the specified
"<var>=<value>" elements, replacing a preexisting <var> element (if
any).

A possible use case would be setting a SYS:ENV attribute with value
"DISABLE_ASLR=1" on an executable that needs ASLR disabled.
2013-12-01 18:34:07 +01:00
..
locale
time
dirent_private.h
errno_private.h
ErrnoMaintainer.h
extended_system_info.h
fork.h
image_private.h
libroot_lock.h
libroot_private.h Implement support for a SYS:ENV attribute on executable 2013-12-01 18:34:07 +01:00
mathimpl.h
memory_private.h
pthread_private.h
signal_private.h
stdlib_private.h Add private __getenv_reentrant() 2013-11-17 19:11:02 +01:00
system_revision.h
time_private.h
times_private.h
trig.h
umask.h
unistd_private.h
user_group.h
user_thread.h
wchar_private.h