Lines Matching refs:permName
593 static int OnPermissionFileSync(const char *identifier, const char *permName, const enum IsGranted … in OnPermissionFileSync() argument
604 if (strcmp(permissions[i].name, permName) == 0) { in OnPermissionFileSync()
617 static int OnPermissionFlagsFileSync(const char *identifier, const char *permName, const int flags) in OnPermissionFlagsFileSync() argument
628 if (strcmp(permissions[i].name, permName) == 0) { in OnPermissionFlagsFileSync()
641 int GrantPermission(const char *identifier, const char *permName) in GrantPermission() argument
643 if ((identifier == NULL) || (permName == NULL)) { in GrantPermission()
650 ret = ModifyPermission(node, permName, GRANTED); in GrantPermission()
658 return OnPermissionFileSync(identifier, permName, GRANTED); in GrantPermission()
661 int RevokePermission(const char *identifier, const char *permName) in RevokePermission() argument
663 if ((identifier == NULL) || (permName == NULL)) { in RevokePermission()
670 ret = ModifyPermission(node, permName, NOT_GRANTED); in RevokePermission()
678 return OnPermissionFileSync(identifier, permName, NOT_GRANTED); in RevokePermission()