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 Allow switching of timezone string to messages locale, too. 2012-02-23 23:15:36 +01:00
time * Merged weak-symbols branch. 2010-11-22 13:06:36 +00:00
dirent_private.h * Fixed fdopendir(): We have to explicitly (re-)open the directory, because FDs 2009-11-10 10:55:43 +00:00
errno_private.h Introduce __set_errno() throughout libroot. 2011-11-24 23:48:18 +01:00
ErrnoMaintainer.h Let ErrnoMaintainer restore errno unconditionally. 2011-11-24 23:48:18 +01:00
extended_system_info.h Added new private API to get more information on a team: 2010-11-16 19:42:08 +00:00
fork.h * Private libroot locking primitives: 2010-04-15 21:52:49 +00:00
image_private.h Added private get_image_symbol_etc() that can recursively search for a symbol 2009-02-28 18:50:40 +00:00
libroot_lock.h * Retry in benaphore_lock() when interrupted. 2008-09-07 15:27:14 +00:00
libroot_private.h Implement support for a SYS:ENV attribute on executable 2013-12-01 18:34:07 +01:00
mathimpl.h Removed unused includes. 2003-05-03 16:05:18 +00:00
memory_private.h Add private get_memory_properties() syscall which allows one to retrieve the 2011-06-12 20:17:14 +00:00
pthread_private.h Add support for pthread_attr_get/setguardsize() 2012-12-28 18:02:58 +00:00
signal_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
stdlib_private.h Add private __getenv_reentrant() 2013-11-17 19:11:02 +01:00
system_revision.h Cleanup system-revision stuff. 2011-05-15 16:33:30 +00:00
time_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
times_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
trig.h for libroot's trig functions we need PI2 = 2*pi, so undef the math definitions. this affects only this private header (trig.h) and the files that include it from libroot (sincos.c, tan.c). fixes sin/cos/tan problems. 2005-05-18 21:39:36 +00:00
umask.h * Added private header defining __gUmask which is now used everywhere where 2009-06-17 14:09:40 +00:00
unistd_private.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
user_group.h Added missing spwd::sp_lstchg field. 2008-05-19 02:16:12 +00:00
user_thread.h * Introduced new header directory headers/private/system which is supposed 2008-05-14 03:55:16 +00:00
wchar_private.h Cleanup: correct variable name in mbrtowc() signature. 2012-02-07 21:43:00 +01:00