commit | 56af03141ff666db5f1710893c0236de55a6f246 | [log] [tgz] |
---|---|---|
author | Janis Danisevskis <jdanis@google.com> | Mon Oct 18 16:11:41 2021 -0700 |
committer | Janis Danisevskis <jdanis@google.com> | Thu Oct 21 08:39:57 2021 -0700 |
tree | 7b161ea96655103c5ea7359c4a034fe06308848f | |
parent | a2f4850e6f58a766a0b2c3b680626ad04d02129e [diff] |
Keystore 2.0: Refactor permissions. 3/5 * Add trait ClassPermission and fn check_permission. This binds together permission names and their class name. * Rename implement_permission! to implement_class!. * Add #[selinux(class_name = <name>)] stanza to the syntax of implement_class!. Test: keystore2_test for regressions. Bug: 203555519 This reverts commit b8fd77fba016c4c908d371d546a5d86aff4a78d7. Change-Id: I6863269ea4af5a6d0b36cf17e0238c81bc713d48