관리-도구
편집 파일: cagefs_lib.cpython-311.pyc
� |�Cg� � �t � d dl Z d dlZd dlmZ d dlmZ d dlmZm Z G d� de� � Z G d� d� � ZdS ) � N)�exec_utility)�FormattedException)�run_command�ExternalProgramFailedc � � e Zd ZdS )�CageFsExceptionN)�__name__� __module__�__qualname__� � �J/opt/cloudlinux/venv/lib64/python3.11/site-packages/cllimits/cagefs_lib.pyr r s � � � � � ��Dr r c �t � e Zd ZdZdd�Zed� � � Zd� Zd� Zdd�Z d � Z d � Zd� Zd� Z d � Zd� Zd� Zd� ZdS )�CageFsz/usr/sbin/cagefsctlNc �X � d | _ d| _ |p| � � � | _ d S �NF)�_cagefs_enabled_users�_is_cagefs_error�_create_dummy_logger�_logger)�self�loggers r �__init__zCageFs.__init__ s. � �%)��"� %����<��!:�!:�!<�!<����r c � � t j t � � } d| _ | � t j � � � � | S r )�logging� getLoggerr � propagate� addHandler�NullHandler)r s r r zCageFs._create_dummy_logger s<