No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nathan Harold 98b708d5a2 Fix a Rare Race In Clearing ResourceId
If the IpSecTransform is being manipulated in
multiple threads, there is a race between the
clearing of the resource id (setting it to
INVALID_RESOURCE_ID and making binder calls
with it. This wasn't a significant problem before
becasue the only side effect was that it could
occasionally cause an IAE instead of an ISE when
the caller was doing something weird. Unfortunately
the exception type now matters because it is being
relied upon to provide a callback rather than a
throw in the event of an error. Accordingly reads of
mResourceId have to be synchronized against the
the possibility of close() of that resourceId to
ensure that the right exception is thrown on the
service side of the binder.

Bug: 336897538
Test: atest CtsNetTestCases:IpSecManagerTest
Change-Id: I21c893034efa7f322ae2aa81d6c7e00dc9ef8d2f
2024-05-06 22:27:19 +00:00
bpf_progs Merge "Revert "bpf: offload.c - comment out CRITICAL mark"" into main 2024-04-25 00:34:04 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Make com.android.tethering the flag container instead of system 2024-04-25 09:46:33 +01:00
Cronet Reland [Cronet] Disable one of setURLStreamHandlerFactory test 2024-04-10 12:50:03 +00:00
DnsResolver Add firewall chains for HAPPY_BOX and user/admin PENALTY_BOX 2024-04-23 15:04:28 +09:00
framework Add @RequiresApi(TIRAMISU) to BpfNetMapsUtils 2024-04-24 13:16:42 +09:00
framework-t Fix a Rare Race In Clearing ResourceId 2024-05-06 22:27:19 +00:00
nearby Test BluetoothFinderManager for SDK at least V 2024-03-02 22:11:44 +00:00
netbpfload NetBpfLoad: log on non-LTS or too old LTS kernel version 2024-04-26 22:27:33 +00:00
netd NetBpfLoad: use exec path for api level 35+ (ie. V) 2024-04-15 02:13:56 -07:00
remoteauth Replace use of deprecated logging functions 2024-02-05 07:47:42 +01:00
service prevent DscpPolicyTracker from printing big scary exception stack 2024-04-26 22:48:30 +00:00
service-t Handle closed SAs in requestIpSecTransformState 2024-04-26 01:40:28 +00:00
staticlibs prevent DscpPolicyTracker from printing big scary exception stack 2024-04-26 22:48:30 +00:00
tests Handle closed SAs in requestIpSecTransformState 2024-04-26 01:40:28 +00:00
Tethering NetBpfLoad: use exec path for api level 35+ (ie. V) 2024-04-15 02:13:56 -07:00
thread [icmp] Add test to verify no duplicated icmp echo reply on mesh-local 2024-04-29 16:21:16 +08:00
tools Merge "Add tests to confirm that genjarjar keeps excluded Tests." into main 2024-03-14 10:20:01 +00:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Update OWNERS to reflect reorg. 2024-04-10 23:24:14 +00:00
OWNERS_core_networking_xts xTS OWNERS: allow maze to +2 APF fw CTS tests 2024-03-12 02:42:59 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Exclude NetworkStackModuleTest in mts CtsNetTestCasesLatestSdk case 2024-03-27 20:11:45 +09:00