[hardening] Switch to hardened libziparchive in system_server
Use the new libziparchive_hardened in all system_server dependencies to ensure no missing page access can crash the process Bug: 160635079 Test: IncrementalService tests + adb install --incremental Change-Id: I1c664e111b69718cd9c62fc3e0d6a5dc70bed16b
This commit is contained in:
@@ -69,10 +69,9 @@ cc_library_shared {
|
||||
"liblog",
|
||||
"libminikin",
|
||||
"libz",
|
||||
"libziparchive",
|
||||
],
|
||||
|
||||
static_libs: ["libnativehelper_lazy"],
|
||||
static_libs: ["libnativehelper_lazy", "libziparchive_for_incfs", ],
|
||||
|
||||
export_include_dirs: [
|
||||
".",
|
||||
|
||||
@@ -97,8 +97,8 @@ cc_library {
|
||||
"libincfs",
|
||||
"libutils",
|
||||
"libz",
|
||||
"libziparchive",
|
||||
],
|
||||
static_libs: ["libziparchive_for_incfs"],
|
||||
static: {
|
||||
enabled: false,
|
||||
},
|
||||
|
||||
@@ -388,11 +388,10 @@ cc_defaults {
|
||||
"liblog",
|
||||
"libminikin",
|
||||
"libz",
|
||||
"libziparchive",
|
||||
"libjpeg",
|
||||
],
|
||||
|
||||
static_libs: ["libnativehelper_lazy"],
|
||||
static_libs: ["libnativehelper_lazy", "libziparchive_for_incfs"],
|
||||
|
||||
target: {
|
||||
android: {
|
||||
|
||||
@@ -68,6 +68,7 @@ cc_defaults {
|
||||
"libutils",
|
||||
"libvold_binder",
|
||||
"libc++fs",
|
||||
"libziparchive_for_incfs",
|
||||
],
|
||||
shared_libs: [
|
||||
"libandroidfw",
|
||||
@@ -77,7 +78,6 @@ cc_defaults {
|
||||
"libincfs",
|
||||
"liblog",
|
||||
"libz",
|
||||
"libziparchive",
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user