OXIESEC PANEL
- Current Dir:
/
/
lib
/
python3.9
/
site-packages
/
tuned
/
hardware
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/13/2025 09:25:13 PM
rwxr-xr-x
📄
__init__.cpython-39.opt-1.pyc
233 bytes
12/02/2024 09:49:29 AM
rw-r--r--
📄
__init__.cpython-39.pyc
233 bytes
12/02/2024 09:49:29 AM
rw-r--r--
📄
device_matcher.cpython-39.opt-1.pyc
1.97 KB
12/02/2024 09:49:29 AM
rw-r--r--
📄
device_matcher.cpython-39.pyc
1.97 KB
12/02/2024 09:49:29 AM
rw-r--r--
📄
device_matcher_udev.cpython-39.opt-1.pyc
875 bytes
12/02/2024 09:49:29 AM
rw-r--r--
📄
device_matcher_udev.cpython-39.pyc
875 bytes
12/02/2024 09:49:29 AM
rw-r--r--
📄
inventory.cpython-39.opt-1.pyc
4.43 KB
12/02/2024 09:49:29 AM
rw-r--r--
📄
inventory.cpython-39.pyc
4.43 KB
12/02/2024 09:49:29 AM
rw-r--r--
Editing: device_matcher.cpython-39.pyc
Close
a �Գf( � @ s* d dl Z d dlZdgZG dd� de�ZdS )� N� DeviceMatcherc @ s e Zd ZdZdd� Zdd� ZdS )r a, Device name matching against the devices specification in tuning profiles. The devices specification consists of multiple rules separated by spaces. The rules have a syntax of shell-style wildcards and are either positive or negative. The negative rules are prefixed with an exclamation mark. c s� t |t�rt�d|�}dd� |D �� � fdd�|D �}t� �dkrL� �d� d}� D ]}t�||�rTd} qnqT|D ]}t�||�rrd} q�qr|S ) a Match a device against the specification in the profile. If there is no positive rule in the specification, implicit rule which matches all devices is added. The device matches if and only if it matches some positive rule, but no negative rule. z\s|,\s*c S s&