+
    ,i  c                   s   a  R t0 t ^ RIHt ^ RIt^RIHtHtHt Rt] ^ k  ! R R]P                  ]P                  ]P                  4      tR# )i    )IterableN)mixins	policyrepqueryCommonQueryc                   s6   a  ] tR t^t o RtV 3R lR ltRtV tR# )r   aX  
Query common permission sets.

Parameter:
policy       The policy to query.

Keyword Parameters/Class attributes:
name         The name of the common to match.
name_regex   If true, regular expression matching will
             be used for matching the name.
perms        The permissions to match.
perms_equal  If true, only commons with permission sets
             that are equal to the criteria will
             match.  Otherwise, any intersection
             will match.
perms_regex  If true, regular expression matching will be used
             on the permission names instead of set logic.
c                sD   < V ^8  d   QhRS[ S[P                  ,          /# )   Zreturn)r    r   ZCommon)format__classdict__s   ":/usr/lib64/python3.14/site-packages/setools/commonquery.py__annotate__ZCommonQuery.__annotate__"   s      )"2"23     c              #  sx  "   V P                   P                  RV P                   24       V P                  V P                   4       V P	                  V P                   4       V P                  P                  4        F9  pV P                  V4      '       g   K  V P                  V4      '       g   K5  Vx  K;  	  R# 5i)z,Generator which yields all matching commons.zGenerating common results from N)ZlogZinfoZpolicyZ_match_name_debugZ_match_perms_debugZcommonsZ_match_nameZ_match_perms)ZselfZcoms   & r   resultsZCommonQuery.results"   s     7}EFtxx();;&&(C##C(($$S))I )s   B+B:.B:) N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   Z__static_attributes__Z__classdictcell__)r      @r   r   r      s     & r
   c                s    V ^8  d   Qh/ ^ \         9   d,   \        P                  \        \        R3,          ,          ;R&   # )r   .__all__)__conditional_annotations__typingZFinalZtupleZstr)r   s   "r   r	   r	      s+     $ $
 : 9eCHo	& 9 %r
   )r   )r   Zcollections.abcr    r   Z r   r   r   r   ZMatchPermissionZ	MatchNameZPolicyQueryr   r	   )r   r   r   <module>r      sA   
 % $  & &)9 9"&((&*:*:E<M<M "r
   