Nick Kralevich 32417fb376 libc: use more secure system properties if available
Currently, system properties are passed via the environment
variable ANDROID_PROPERTY_WORKSPACE and a file descriptor passed
from parent to child. This is insecure for setuid executables,
as the environment variable can be changed by the caller.

Modify system property handling so that we get the properties
from a root owned properties file, rather than using an
environment variable.  Fall back to the environment variable
if the file doesn't exist.

Bug: 8045561
Change-Id: I54f3efa98cf7d63d88788da5ce0d19e34fd7851a
2013-01-23 09:28:35 -08:00
..
2012-08-01 17:53:07 -07:00
2012-08-10 12:23:58 -07:00
2013-01-11 16:44:15 -08:00
2012-08-02 16:07:26 -07:00
2012-12-11 16:17:33 -08:00
2012-03-05 16:44:42 -08:00
2012-08-02 18:03:54 -07:00
2009-03-03 19:28:35 -08:00
2013-01-10 13:14:46 -08:00
2011-05-26 02:46:41 +02:00
2010-01-15 15:57:02 -08:00
2010-01-15 15:57:02 -08:00
2013-01-16 09:40:25 -08:00
2012-11-29 11:53:33 -08:00
2012-09-11 22:47:31 +03:00
2009-03-03 19:28:35 -08:00
2012-08-02 18:03:54 -07:00
2009-03-03 19:28:35 -08:00
2010-10-13 15:46:55 +02:00