Lines Matching refs:priv_perms
634 priv_perms = get_priv_permissions(pkg_info['permissions'],
639 priv_perms = remove_base_permissions(priv_perms,
641 if priv_perms:
643 if priv_perms:
644 results[pkg_name] = sorted(priv_perms)
667 def remove_base_permissions(priv_perms, base_perms): argument
669 if (not priv_perms) or (not base_perms):
670 return priv_perms
671 return set(priv_perms) - set(base_perms)
674 def get_priv_permissions(requested_perms, priv_perms): argument
676 return set(requested_perms).intersection(set(priv_perms))