summaryrefslogtreecommitdiff
path: root/init/service_parser.cpp
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2019-08-23 14:05:29 +0100
committerTobias Thierer <tobiast@google.com>2019-09-05 01:41:08 +0100
commit1136f1592a50c90b3b59fbc3293e4c1e155972e0 (patch)
tree1a2e18452d2a0167ca52d7f86ddf7bc728fe59bd /init/service_parser.cpp
parent7896e7adccbd272533ee2250f4a9c65cd4ca66d0 (diff)
Init: Run boringssl self test via separate binaries.
Instead of init.cpp knowning about the boringssl self test, use init.rc to exec dedicated self test executables. Advantages: - The self test is run not only both the copy of libcrypto in /system but also /apex/com.android.conscrypt. - The self test is run not only for the primary (e.g. 64bit) ABI but also for a secondarry (e.g. 32bit) ABI. - The dependency on libcrypto is kept to the self test binary. - The self test binary abstracts the exact native API for running the self test (this will change soon because the self test will be run when the library is loaded). Bug: 137267623 Test: Check that logcat shows both binaries being started as root, and finishing with exit code 0. Change-Id: I1e716749ee2133993f0f7b2836483391fd1a62f0
Diffstat (limited to 'init/service_parser.cpp')
0 files changed, 0 insertions, 0 deletions