+
    ,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InitialSIDQueryc                   s6   a  ] tR t^t o RtV 3R lR ltRtV tR# )r   a  
Initial SID (Initial context) query.

Parameter:
policy            The policy to query.

Keyword Parameters/Class attributes:
name            The Initial SID name to match.
name_regex      If true, regular expression matching
                will be used on the Initial SID name.
user            The criteria to match the context's user.
user_regex      If true, regular expression matching
                will be used on the user.
role            The criteria to match the context's role.
role_regex      If true, regular expression matching
                will be used on the role.
type_           The criteria to match the context's type.
type_regex      If true, regular expression matching
                will be used on the type.
range_          The criteria to match the context's range.
range_subset    If true, the criteria will match if it is a subset
                of the context's range.
range_overlap   If true, the criteria will match if it overlaps
                any of the context's range.
range_superset  If true, the criteria will match if it is a superset
                of the context's range.
range_proper    If true, use proper superset/subset operations.
                No effect if not using set operations.
c                sD   < V ^8  d   QhRS[ S[P                  ,          /# )   Zreturn)r    r   Z
InitialSID)format__classdict__s   ";/usr/lib64/python3.14/site-packages/setools/initsidquery.py__annotate__ZInitialSIDQuery.__annotate__-   s      )"6"67     c              #  s  "   V P                   P                  RV P                   24       V P                  V P                   4       V P	                  V P                   4       V P                  P                  4        FC  pV P                  V4      '       g   K  V P                  VP                  4      '       g   K?  Vx  KE  	  R# 5i)z1Generator which yields all matching initial SIDs.z$Generating initial SID results from N)	ZlogZinfoZpolicyZ_match_name_debugZ_match_context_debugZinitialsidsZ_match_nameZ_match_contextZcontext)ZselfZis   & r   resultsZInitialSIDQuery.results-   s     <T[[MJKtxx(!!$((+((*A##A&&&&qyy11G +s   B5C8C) 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+     $ $
 > =eCHo	& = %r
   )r   )r   Zcollections.abcr    r   Z r   r   r   r   Z	MatchNameZMatchContextZPolicyQueryr   r	   )r   r   r   <module>r      sA   
 % $  & &)= =-f&&(;(;U=N=N -r
   