OSDN Git Service

bionic: move system property writing from init to bionic
authorColin Cross <ccross@android.com>
Thu, 24 Jan 2013 07:07:06 +0000 (23:07 -0800)
committerColin Cross <ccross@android.com>
Mon, 17 Jun 2013 19:44:34 +0000 (12:44 -0700)
commitdc1038b7900acb664e99643d2974e1a0f4703781
tree6b1606253ce3f097d6a91b063a00740a0df28a3d
parenta658ed09e52b2f8b5f21e02e8ea6662ffdf544e6
bionic: move system property writing from init to bionic

Move the implementation of writing to the system property area
from init to bionic, next to the reader implementation.  This
will allow full property testing to be added to bionic tests.

Add new accessor and waiting functions to hide the implementation
from watchprops and various bionic users.

Also hide some of the implementation details of the property area
from init by moving them into _system_properties.h, and other details
from everybody by moving them into system_properties.h.

Change-Id: I9026e604109e30546b2849b60cab2e7e5ff00ba5
libc/bionic/system_properties.c
libc/include/sys/_system_properties.h
libc/netbsd/resolv/res_state.c