✏️ 正在编辑: access.cpython-39.pyc
路径:
/usr/lib/python3.9/site-packages/sepolgen/__pycache__/access.cpython-39.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
a B�i�. � @ sz d Z ddlmZ ddlmZ ddlmZ dd� ZG dd � d ej�Zd d� Z G dd � d �Z dd� Zdd� ZG dd� d�Z dS )aW Classes representing basic access. SELinux - at the most basic level - represents access as the 4-tuple subject (type or context), target (type or context), object class, permission. The policy language elaborates this basic access to facilitate more concise rules (e.g., allow rules can have multiple source or target types - see refpolicy for more information). This module has objects for representing the most basic access (AccessVector) and sets of that access (AccessVectorSet). These objects are used in Madison in a variety of ways, but they are the fundamental representation of access. � )� refpolicy)�util� )� audit2whyc C sN t | �dkrF| d dkrFzt| dd� � W n ty@ Y dS 0 dS dS dS )z�Determine if an id is a parameter in the form $N, where N is an integer. Returns: True if the id is a parameter False if the id is not a parameter r r �$NFT)�len�int� ValueError)�id� r �3/usr/lib/python3.9/site-packages/sepolgen/access.py� is_idparam'