a
Biw @ sb d Z g dZdZdZdZeeB ZeeeedZedededed iZG d
d dZG dd
d
Z dS )z
This module provides knowledge object classes and permissions. It should
be used to keep this knowledge from leaking into the more generic parts of
the policy generation.
) ZsocketfdZprocessfileZlnk_fileZ fifo_fileZdbusZ
capabilityZunix_stream_socket )nrwbr r r r c @ s e Zd ZdZdd Zdd ZdS )PermMapa A mapping between a permission and its information flow properties.
PermMap represents the information flow properties of a single permission
including the direction (read, write, etc.) and an abstract representation
of the bandwidth of the flow (weight).
c C s || _ || _|| _d S N)permdirweight)selfr r
r r 8/usr/lib/python3.9/site-packages/sepolgen/objectmodel.py__init__T s zPermMap.__init__c C s d| j t| j | jf S )Nz'