commit | 0281cea6dc27f92c9a535e150fd0307b1aeaac3a | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Thu Apr 11 14:32:31 2024 -0700 |
committer | Evan Severson <evanseverson@google.com> | Fri Apr 12 00:47:24 2024 +0000 |
tree | 1b116201908ef0f5e1f85585a602a8b5645298cf | |
parent | 7b3ff2c8df31056c0c0dc4e2f1a0f079d664a3de [diff] |
Short circuit system and root uids in appop checks When switching to using the permission state for the appop value we'll have the problem that system and root don't have permission state in the unified permission system so the result will be a rejection. We can simply avoid making the check for UIDs that are always supposed to permit. Test: Boot Bug: 266164193 Fixes: 333938416 Change-Id: I39d5125cc7b59970b2c7cc8bfbc71f89bdee5771