Loading libs/binder/tests/parcel_fuzzer/random_fd.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,9 @@ std::vector<unique_fd> getRandomFds(FuzzedDataProvider* provider) { int flags = O_CLOEXEC; if (provider->ConsumeBool()) flags |= O_DIRECT; if (provider->ConsumeBool()) flags |= O_NONBLOCK; // TODO(b/236812909): also test blocking if (true) flags |= O_NONBLOCK; CHECK_EQ(0, pipe2(pipefds, flags)) << flags; Loading Loading
libs/binder/tests/parcel_fuzzer/random_fd.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,9 @@ std::vector<unique_fd> getRandomFds(FuzzedDataProvider* provider) { int flags = O_CLOEXEC; if (provider->ConsumeBool()) flags |= O_DIRECT; if (provider->ConsumeBool()) flags |= O_NONBLOCK; // TODO(b/236812909): also test blocking if (true) flags |= O_NONBLOCK; CHECK_EQ(0, pipe2(pipefds, flags)) << flags; Loading