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 23:58:43 +0000 (16:58 -0700)
commit5cf32de7a0fea0b10959b598300babc6e4f54d95
treec0f130185003fff9bf8cc00f96a3a04475535b3f
parent5995bf880e2a7fac249382f0a929b7271c843122
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.

(cherry picked from commit dc1038b7900acb664e99643d2974e1a0f4703781)

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