OSDN Git Service

Add UserQuotaTracker to IpSecService
authorNathan Harold <nharold@google.com>
Mon, 24 Apr 2017 23:16:34 +0000 (16:16 -0700)
committerNathan Harold <nharold@google.com>
Wed, 9 Aug 2017 01:28:47 +0000 (18:28 -0700)
commita1afbd8dcc7c0dacd798e8a9e7ee038ed38ccb99
tree069f6695990d67174f02455659d13efb48a89cfe
parent935e0c996a7899bbe3ccbc0a1c166af576cca58c
Add UserQuotaTracker to IpSecService

Add a small tracking object to enforce maximum
quotas for SPIs, Transforms, and Encap sockets. The
current quota limits are intentionally conservative
with the expectation that we can relax them more
easily than we can shrink them.

Bug: 37688603
Test: tbd
Change-Id: Iee59ac59ef9f4a7ab75a2e04f9ca72da82fc3229
services/core/java/com/android/server/IpSecService.java