+
    ,i  c                   s   a  R t0 t ^ RIHt ^ RIt^RIHtHtHtHt ^RI	H
t
 Rt] ^ k  ! R R]P                  ]P                  4      tR# )	i    )IterableN)mixins	policyrepqueryutil)CriteriaDescriptorGenfsconQueryc                   s   a  ] tR t^t o RtRt]],          ! R4      tRt	]],          ! R4      t
RtV 3R lR ltV 3R ltR	tV tR# )
r   aj  
Query genfscon statements.

Parameter:
policy          The policy to query.

Keyword Parameters/Class attributes:
fs              The criteria to match the file system type.
fs_regex        If true, regular expression matching
                will be used on the file system type.
path            The criteria to match the path.
path_regex      If true, regular expression matching
                will be used on the path.
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.
Nfs_regexF
path_regexc                sD   < V ^8  d   QhRS[ S[P                  ,          /# )   Zreturn)r    r   ZGenfsconformat__classdict__   "</usr/lib64/python3.14/site-packages/setools/genfsconquery.py__annotate__GenfsconQuery.__annotate__7   s      )"4"45     c              #  s  "   V P                   P                  RV P                   24       V P                   P                  RV P                  : RV P
                  : 24       V P                   P                  RV P                  : RV P                  : 24       V P                   P                  RV P                  : 24       V P                  V P                   4       V P                  P                  4        F  pV P                  '       d?   \        P                  ! VP                  V P                  V P
                  4      '       g   KS  V P                  '       d?   \        P                  ! VP                  V P                  V P                  4      '       g   K  V P                  '       d   V P                  VP                  8X  g   K  V P                  VP                  4      '       g   K  Vx  K  	  R# 5i)z.Generator which yields all matching genfscons.z!Generating genfscon results from zself.fs=z, self.fs_regex=z
self.path=z, self.path_regex=zself.filetype=N)ZlogZinfoZpolicyZdebugfsr   pathr   filetypeZ_match_context_debugZ	genfsconsr   Zmatch_regexZ_match_contextZcontext)ZselfZgenfss   & r   resultsZGenfsconQuery.results7   sV    9$++GH($''#4dmm%567*$))%8'9:;.$--)*+!!$((+[[**,Ewwwt//HHGGMM #  # yyy!1!1JJIIOO"% "% }}}T]]enn%D&&u}}55K' -s$   EG6G6;G6G6,=G6*G6c                sL   < V ^8  d   Qh/ S[ R,          ;R&   S[;R&   S[;R&   # )r	   Nr   r   r   )ZintZboolr
   r   r   r   r      s6     F DjG J K N O r   ) )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   strr   r   r   r   r   Z__annotate_func__Z__static_attributes__Z__classdictcell__)r      @r   r   r      sL     B  H	C	 	,BHc"<0DJ S  r   c                s    V ^8  d   Qh/ ^ \         9   d,   \        P                  \        \        R3,          ,          ;R&   # )r	   .__all__)__conditional_annotations__typingZFinalZtupler   )r   s   "r   r   r      s+     $ $ < ;eCHo	& ; %r   )r   )r   Zcollections.abcr    r   Z r   r   r   r   Zdescriptorsr   r   ZMatchContextZPolicyQueryr   r   )r   r   r   <module>r      s>   
 % $  , , +); ;DF''):): Dr   