History log of /bionic/libc/bionic/system_properties.c
Revision Date Author Comments
c20d0f3993ebb0d3dec958a306a68ebb48bfeadd 19-Jul-2012 Jens Gulin <jens.gulin@sonymobile.com> Correction to use of TEMP_FAILURE_RETRY in send_prop_msg

RETRY macro may retry command if result is -1. In this
case the command was "connect < 0" instead of just
connect. The comparison will not return -1 and thus
retry is never done. This is now corrected so that
interrupts will cause retry instead of fail.

(There was no other negative side effect of the bug.
The result code from RETRY was used in an if-statement
and it would be true for all negative connect results.
This was according to expectations.)

Change-Id: Ie206b39878e9befea4e3be9a4061ee39eb232d80
8da75ab8936b0b7fcf8dd9a3befeb696ee6aa39d 01-Apr-2011 Brad Fitzpatrick <bradfitz@android.com> Ignore property set timeouts.

Change-Id: Ic3f6119398368ba047736370336d0260905abd40
23bc3ff71dffdfec208aee05938e544c7cb3bc37 30-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> Don't futex_wait spin when setting properties. Wait for socket close.

Depends on init change I8dd685ea

Bug: 4185486
Change-Id: I5a2dbc3b7be1759212d4a3988d9033b9b947a1db
bf90b57b442760b85a0af38792e6e2f8aa9e7826 30-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> Don't futex_wait spin when setting properties. Wait for socket close.

Depends on init change I8dd685ea

Bug: 4185486
Change-Id: I3e80cecfad8e072973003ec6f93146c5cad369ac
0b3c5c50f7bed92282783995bf6a7cc777fa9392 15-Mar-2011 satok <satok@google.com> do not merge. Move property setting from libcutils to bionic.

Backport I110b653a58f3

All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.

Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.

Along with Iee1ca9b7, this now passes:

$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner

Bug: 3511230

Change-Id: I1b588db3344169621e1279ecc0b660cf4e1015d7
ec7e8cc9dddafc624cd28939c1a38ea336c89455 15-Mar-2011 satok <satok@google.com> do not merge. Move property setting from libcutils to bionic.

Backport I110b653a58f3

All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.

Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.

Along with Iee1ca9b7, this now passes:

$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner

Bug: 3511230

Change-Id: I1b588db3344169621e1279ecc0b660cf4e1015d7
4399df8f2ebd797e45bec81e6f22e4911b2c5686 11-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> Move property setting from libcutils to bionic.

All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.

Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.

Along with Iee1ca9b7, this now passes:

$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner

Bug: 3511230
Change-Id: I110b653a58f312fbe069dca59892a877ae9bc911
50ace4fec5e8cb5afcbc656a4556fa528adfd760 17-Jun-2010 David 'Digit' Turner <digit@google.com> Remove compiler warnings when building Bionic.

Also add missing declarations to misc. functions.
Fix clearerr() implementation (previous was broken).
Handle feature test macros like _POSIX_C_SOURCE properly.

Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
1767f908af327fa388b1c66883760ad851267013 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution