Lines Matching defs:has_permission
194 static bool has_permission(uid_t uid, perm_t perm) {
1441 if (!has_permission(callingUid, P_TEST)) {
1451 if (!has_permission(callingUid, P_GET)) {
1478 if (!has_permission(callingUid, P_INSERT)) {
1506 if (!has_permission(callingUid, P_DELETE)) {
1531 if (!has_permission(callingUid, P_EXIST)) {
1553 if (!has_permission(callingUid, P_SAW)) {
1609 if (!has_permission(callingUid, P_RESET)) {
1644 if (!has_permission(callingUid, P_PASSWORD)) {
1670 if (!has_permission(callingUid, P_LOCK)) {
1687 if (!has_permission(callingUid, P_UNLOCK)) {
1704 if (!has_permission(callingUid, P_ZERO)) {
1715 if (!has_permission(callingUid, P_INSERT)) {
1866 if (!has_permission(callingUid, P_INSERT)) {
1892 if (!has_permission(callingUid, P_SIGN)) {
1942 if (!has_permission(callingUid, P_VERIFY)) {
2003 has_permission(callingUid, P_GET)) {
2046 if (!has_permission(callingUid, P_DELETE)) {
2090 if (!has_permission(callingUid, P_GRANT)) {
2114 if (!has_permission(callingUid, P_GRANT)) {
2137 if (!has_permission(callingUid, P_GET)) {
2170 if (!has_permission(callingUid, P_DUPLICATE)) {
2232 if (!has_permission(callingUid, P_CLEAR_UID)) {