grpc/test
Ming-Chuan 332713a35a
Implement BinderTransport SecurityPolicies that requires no JNI (#27573)
This commit

1. Implements the security policies that does not require JNI. This
includes a security policy that always allow connection and a security
policy that allows connection when remote UID is the same us local UID.
2. Add security policy as an argument in our interfaces. Old interfaces
are temporarily preserved so compilation will not suddenly break when we
import the code to internal repo.
3. Pumping the security policy from the public interfaces to the code
that handles SETUP_TRANSPORT transaction.
4. Abort the transport setup when the security policy is not satisfied.

Since meaningful tests will require to be run in real Android
environment, we will implement it later. For now, this change is
manually tested with example APKs.

For security policies that need to invoke Java to check authorization,
we will implement them in later.
2021-10-07 00:21:51 +08:00
..
build Forgot one file. 2019-08-20 12:38:18 -07:00
build_test Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
core Implement BinderTransport SecurityPolicies that requires no JNI (#27573) 2021-10-07 00:21:51 +08:00
cpp Add a test for a (now-illegal) build file construct (#27602) 2021-10-06 07:43:59 -07:00
distrib Add bazel distribtests (minimalist version that only tests with bazel 3.x and 4.x) (#27486) 2021-09-28 02:50:17 -07:00
http2_test Introduce Python import sorting to our sanity test suite (#26768) 2021-07-26 12:31:21 -07:00
spm_build Add test for spm build. (#26178) 2021-05-11 12:55:06 -07:00
.clang-tidy Fix all instances of bugprone-undefined-memory-manipulation 2018-08-29 14:24:02 -07:00