| Server IP : 172.67.206.42 / Your IP : 104.23.243.50 Web Server : Apache System : Linux server.localhost.com 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 User : pahana ( 1029) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/ |
Upload File : |
# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.2.0
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _capng
else:
import _capng
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
def _swig_setattr_nondynamic_instance_variable(set):
def set_instance_attr(self, name, value):
if name == "this":
set(self, name, value)
elif name == "thisown":
self.this.own(value)
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
set(self, name, value)
else:
raise AttributeError("You cannot add instance attributes to %s" % self)
return set_instance_attr
def _swig_setattr_nondynamic_class_variable(set):
def set_class_attr(cls, name, value):
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
set(cls, name, value)
else:
raise AttributeError("You cannot add class attributes to %s" % cls)
return set_class_attr
def _swig_add_metaclass(metaclass):
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
def wrapper(cls):
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
return wrapper
class _SwigNonDynamicMeta(type):
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
CAP_CHOWN = _capng.CAP_CHOWN
CAP_DAC_OVERRIDE = _capng.CAP_DAC_OVERRIDE
CAP_DAC_READ_SEARCH = _capng.CAP_DAC_READ_SEARCH
CAP_FOWNER = _capng.CAP_FOWNER
CAP_FSETID = _capng.CAP_FSETID
CAP_KILL = _capng.CAP_KILL
CAP_SETGID = _capng.CAP_SETGID
CAP_SETUID = _capng.CAP_SETUID
CAP_SETPCAP = _capng.CAP_SETPCAP
CAP_LINUX_IMMUTABLE = _capng.CAP_LINUX_IMMUTABLE
CAP_NET_BIND_SERVICE = _capng.CAP_NET_BIND_SERVICE
CAP_NET_BROADCAST = _capng.CAP_NET_BROADCAST
CAP_NET_ADMIN = _capng.CAP_NET_ADMIN
CAP_NET_RAW = _capng.CAP_NET_RAW
CAP_IPC_LOCK = _capng.CAP_IPC_LOCK
CAP_IPC_OWNER = _capng.CAP_IPC_OWNER
CAP_SYS_MODULE = _capng.CAP_SYS_MODULE
CAP_SYS_RAWIO = _capng.CAP_SYS_RAWIO
CAP_SYS_CHROOT = _capng.CAP_SYS_CHROOT
CAP_SYS_PTRACE = _capng.CAP_SYS_PTRACE
CAP_SYS_PACCT = _capng.CAP_SYS_PACCT
CAP_SYS_ADMIN = _capng.CAP_SYS_ADMIN
CAP_SYS_BOOT = _capng.CAP_SYS_BOOT
CAP_SYS_NICE = _capng.CAP_SYS_NICE
CAP_SYS_RESOURCE = _capng.CAP_SYS_RESOURCE
CAP_SYS_TIME = _capng.CAP_SYS_TIME
CAP_SYS_TTY_CONFIG = _capng.CAP_SYS_TTY_CONFIG
CAP_MKNOD = _capng.CAP_MKNOD
CAP_LEASE = _capng.CAP_LEASE
CAP_AUDIT_WRITE = _capng.CAP_AUDIT_WRITE
CAP_AUDIT_CONTROL = _capng.CAP_AUDIT_CONTROL
CAP_SETFCAP = _capng.CAP_SETFCAP
CAP_MAC_OVERRIDE = _capng.CAP_MAC_OVERRIDE
CAP_MAC_ADMIN = _capng.CAP_MAC_ADMIN
CAP_SYSLOG = _capng.CAP_SYSLOG
CAP_WAKE_ALARM = _capng.CAP_WAKE_ALARM
CAP_BLOCK_SUSPEND = _capng.CAP_BLOCK_SUSPEND
CAP_AUDIT_READ = _capng.CAP_AUDIT_READ
CAP_PERFMON = _capng.CAP_PERFMON
CAP_BPF = _capng.CAP_BPF
CAP_CHECKPOINT_RESTORE = _capng.CAP_CHECKPOINT_RESTORE
CAP_LAST_CAP = _capng.CAP_LAST_CAP
CAPNG_DROP = _capng.CAPNG_DROP
CAPNG_ADD = _capng.CAPNG_ADD
CAPNG_EFFECTIVE = _capng.CAPNG_EFFECTIVE
CAPNG_PERMITTED = _capng.CAPNG_PERMITTED
CAPNG_INHERITABLE = _capng.CAPNG_INHERITABLE
CAPNG_BOUNDING_SET = _capng.CAPNG_BOUNDING_SET
CAPNG_AMBIENT = _capng.CAPNG_AMBIENT
CAPNG_SELECT_CAPS = _capng.CAPNG_SELECT_CAPS
CAPNG_SELECT_BOUNDS = _capng.CAPNG_SELECT_BOUNDS
CAPNG_SELECT_BOTH = _capng.CAPNG_SELECT_BOTH
CAPNG_SELECT_AMBIENT = _capng.CAPNG_SELECT_AMBIENT
CAPNG_SELECT_ALL = _capng.CAPNG_SELECT_ALL
CAPNG_FAIL = _capng.CAPNG_FAIL
CAPNG_NONE = _capng.CAPNG_NONE
CAPNG_PARTIAL = _capng.CAPNG_PARTIAL
CAPNG_FULL = _capng.CAPNG_FULL
CAPNG_PRINT_STDOUT = _capng.CAPNG_PRINT_STDOUT
CAPNG_PRINT_BUFFER = _capng.CAPNG_PRINT_BUFFER
CAPNG_NO_FLAG = _capng.CAPNG_NO_FLAG
CAPNG_DROP_SUPP_GRP = _capng.CAPNG_DROP_SUPP_GRP
CAPNG_CLEAR_BOUNDING = _capng.CAPNG_CLEAR_BOUNDING
CAPNG_INIT_SUPP_GRP = _capng.CAPNG_INIT_SUPP_GRP
CAPNG_CLEAR_AMBIENT = _capng.CAPNG_CLEAR_AMBIENT
CAPNG_UNSET_ROOTID = _capng.CAPNG_UNSET_ROOTID
CAPNG_SUPPORTS_AMBIENT = _capng.CAPNG_SUPPORTS_AMBIENT
def capng_clear(set):
return _capng.capng_clear(set)
def capng_fill(set):
return _capng.capng_fill(set)
def capng_setpid(pid):
return _capng.capng_setpid(pid)
def capng_get_caps_process():
return _capng.capng_get_caps_process()
def capng_update(action, type, capability):
return _capng.capng_update(action, type, capability)
def capng_updatev(action, type, capability, capability1=0, capability2=0, capability3=0, capability4=0, capability5=0, capability6=0, capability7=0, capability8=0, capability9=0, capability10=0, capability11=0, capability12=0, capability13=0, capability14=0, capability15=0, capability16=0):
return _capng.capng_updatev(action, type, capability, capability1, capability2, capability3, capability4, capability5, capability6, capability7, capability8, capability9, capability10, capability11, capability12, capability13, capability14, capability15, capability16)
def capng_apply(set):
return _capng.capng_apply(set)
def capng_lock():
return _capng.capng_lock()
def capng_change_id(uid, gid, flag):
return _capng.capng_change_id(uid, gid, flag)
def capng_get_rootid():
return _capng.capng_get_rootid()
def capng_set_rootid(rootid):
return _capng.capng_set_rootid(rootid)
def capng_get_caps_fd(fd):
return _capng.capng_get_caps_fd(fd)
def capng_apply_caps_fd(fd):
return _capng.capng_apply_caps_fd(fd)
def capng_have_capabilities(set):
return _capng.capng_have_capabilities(set)
def capng_have_permitted_capabilities():
return _capng.capng_have_permitted_capabilities()
def capng_have_capability(which, capability):
return _capng.capng_have_capability(which, capability)
def capng_print_caps_numeric(where, set):
return _capng.capng_print_caps_numeric(where, set)
def capng_print_caps_text(where, which):
return _capng.capng_print_caps_text(where, which)
def capng_name_to_capability(name):
return _capng.capng_name_to_capability(name)
def capng_capability_to_name(capability):
return _capng.capng_capability_to_name(capability)