Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8633391b authored by Devin Moore's avatar Devin Moore
Browse files

binder_parcel_fuzzer: Cause FDs to be open before tracking them

On devices with tracing and kernel binder/hwbinder, there are FDs that
are opened through libbinder while the fuzzer is running. Since we want
to track them, we need to open all of those before we get the initial
count of FDs.

These are the binder/hwbinder FDs. The socket and pmsg FD from liblog.
The FD for kernel tracing.

liblog was moved to shared_libs on device because libbinder.so will log
through liblog.so and open a separate socket/FD from what we would open
in the static liblog in the fuzzer.

Flag: EXEMPT test only
Test: binder_parcel_fuzzer # on device
Bug: none
Change-Id: Ia1d5bede10cea526f750d3bc64ec68b8ca2aaa15
parent 59168917
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment