author | Colin Cross <ccross@android.com> | |
Tue, 25 Jun 2013 01:42:21 +0000 (18:42 -0700) | ||
committer | Colin Cross <ccross@android.com> | |
Tue, 25 Jun 2013 23:52:34 +0000 (16:52 -0700) | ||
commit | 1ec20a086cb1da1d7455a36ea5d2ea4856426ea0 | |
tree | 1a99f8a56a835c983dc6d61205db9f40ad290e24 | tree | snapshot (tar.xz tar.gz zip) |
parent | b116bf76286178a7d552c4d0a72b79212c8c93d1 | commit | diff |
bionic: use the size of the file to determine property area size
On the reader size, don't assume that the property size is PA_SIZE,
read it from the size of the file. Allows init to use a different
property size without recompiling statically linked executables.
(cherry picked from commit 285b42a04cbe8e627a75c9bfb3c7cb3f7b539267)
Change-Id: I074204e9e6591b35faf7c1c58fb11ec162aff7bf
On the reader size, don't assume that the property size is PA_SIZE,
read it from the size of the file. Allows init to use a different
property size without recompiling statically linked executables.
(cherry picked from commit 285b42a04cbe8e627a75c9bfb3c7cb3f7b539267)
Change-Id: I074204e9e6591b35faf7c1c58fb11ec162aff7bf
libc/bionic/system_properties.c | diff | blob | history |