✏️ 编辑:access.cpython-39.opt-1.pyc
路径:
/usr/lib/python3.9/site-packages/sepolgen/__pycache__/access.cpython-39.opt-1.pyc
大小:11.1 KB · 修改:2026-04-05 11:05:56 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
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'