haiku/headers
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
..
build mimeset: Use TextSnifferAddon when using a custom MIME DB 2013-11-22 12:24:13 +01:00
compatibility Drop "protected"-define from bsd-compatibility header 2012-11-05 09:37:55 +01:00
config Merge branch 'master' into x86_64 2012-08-16 21:11:15 +01:00
cpp Allow use of c_str() on wstring. 2012-10-27 17:14:55 +02:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Merge remote-tracking branch 'haiku/master' into package-management 2013-07-08 14:01:00 +02:00
os PCI: moved IDE api flags to PCI.h 2013-11-28 18:38:45 +01:00
posix ARM: remove #warning from public header file 2013-10-28 22:04:00 +01:00
private Implement support for a SYS:ENV attribute on executable 2013-12-01 18:34:07 +01:00
tools * Moved everything into the SymbolPatcher namespace. 2009-11-05 17:16:17 +00:00