commit | c5556a8b7c2c1ceee05910b6ed88c2995a418aad | [log] [tgz] |
---|---|---|
author | Yisroel Forta <yforta@google.com> | Fri Jun 14 19:02:38 2024 +0000 |
committer | Yisroel Forta <yforta@google.com> | Fri Jun 14 19:22:06 2024 +0000 |
tree | 126e677446ecdd171720e764529e152ef173edf8 | |
parent | 3f1d7f5bad9586ef6308c353df3433898297ee3d [diff] |
Fix rate limiter process cost check The check should have been whether current cost + new cost <= max uid cost, rather than <. In changing this, I moved that check out so it's more readable. This was likely missed earlier because the default was higher, now that it's 1 it means any cost would never be allowed. Test: confirm that first run after boot is allowed. Bug: 347304011 Flagging: EXEMPT - bugfix Change-Id: I72399eeefaab349bb54a6a6ee763971e344ccdb5