Lines Matching refs:grant
200 GRANT, selinux name: grant;
468 if access_vec.includes(KeyPerm::grant()) { in check_grant_permission()
591 KeyPerm::grant(),
711 KeyPerm::grant().into(), in check_grant_permission_app()
731 assert_perm_failed!(check_grant_permission(&sctx, KeyPerm::grant().into(), &key)); in check_grant_permission_selinux()
746 KeyPerm::grant(), in check_key_permission_domain_grant()
775 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::grant(), &key, &None).is_ok()); in check_key_permission_domain_app()
788 assert_perm_failed!(check_key_permission(0, &shell_ctx, KeyPerm::grant(), &key, &None)); in check_key_permission_domain_app()
863 assert!(check_key_permission(0, &sctx, KeyPerm::grant(), &key, &None).is_ok()); in check_key_permission_domain_selinux()
874 assert_perm_failed!(check_key_permission(0, &sctx, KeyPerm::grant(), &key, &None)); in check_key_permission_domain_selinux()
948 KeyPerm::grant(), in key_perm_set_all_test()
998 KeyPerm::grant(), in key_perm_set_include_subset_test()
1038 KeyPerm::grant(), // only in v1 in key_perm_set_include_overlap_test()
1056 let v1 = key_perm_set![KeyPerm::manage_blob(), KeyPerm::delete(), KeyPerm::grant(),]; in key_perm_set_include_no_overlap_test()