Commit 576662a
Steven Moreland
libbinder: allow libbinder_ndk + libbinder.vendor
Due to messed up fuzzing linker namespaces, which are being fixed,
when fuzzers are configured as:
- vendor: true,
- shared_libs: [... "libbinder_ndk" ...],
then the runtime libraries used are like this:
- /data/fuzz/x86_64/lib/vendor/libbinder.so
- /system/lib64/libbinder_ndk.so
This is not a correct configuration. However, we can change the
way openDeclaredPassthroughHal is disabled in order to provide
the same ELF-level interface (that libbinder_ndk expects) from
libbinder as libbinder.vendor.
Future considertions:
- very soon, we need to remove this implicit requirement on the
dependencies of ll-ndk libraries, by fixing fuzzer linker
namespaces
- vendors should be able to dlopen same-process stable C HALs, as
system can, but this requires additional apexd APIs available
to vendor
Bugs: me
Test: run all service fuzzers, no startup crashes
Change-Id: Icf09de3ca048b542d7c22e6f4ca030977be3dff41 parent e2f79ab commit 576662a
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
250 | 252 | | |
251 | | - | |
| 253 | + | |
| 254 | + | |
252 | 255 | | |
253 | 256 | | |
254 | 257 | | |
| |||
268 | 271 | | |
269 | 272 | | |
270 | 273 | | |
271 | | - | |
272 | | - | |
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| |||
0 commit comments