1edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep# This file was automatically generated by SWIG (http://www.swig.org).
2edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep# Version 2.0.11
3edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep#
4edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep# Do not make changes to this file unless you know what you are doing--modify
5edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep# the SWIG interface file instead.
6edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
7edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
8edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
9edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
10edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
11edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepfrom sys import version_info
12edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepif version_info >= (2,6,0):
13edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def swig_import_helper():
14edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        from os.path import dirname
15edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        import imp
16edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        fp = None
17edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try:
18edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            fp, pathname, description = imp.find_module('_selinux', [dirname(__file__)])
19edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except ImportError:
20edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            import _selinux
21edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            return _selinux
22edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        if fp is not None:
23edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            try:
24edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep                _mod = imp.load_module('_selinux', fp, pathname, description)
25edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            finally:
26edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep                fp.close()
27edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            return _mod
28edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    _selinux = swig_import_helper()
29edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    del swig_import_helper
30edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepelse:
31edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    import _selinux
32edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdel version_info
33edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeptry:
34edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    _swig_property = property
35edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepexcept NameError:
36edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    pass # Python < 2.2 doesn't have 'property'.
37edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if (name == "thisown"): return self.this.own(value)
39edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if (name == "this"):
40edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        if type(value).__name__ == 'SwigPyObject':
41edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            self.__dict__[name] = value
42edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            return
43edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    method = class_type.__swig_setmethods__.get(name,None)
44edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if method: return method(self,value)
45edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if (not static):
46edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        self.__dict__[name] = value
47edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    else:
48edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        raise AttributeError("You cannot add attributes to %s" % self)
49edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
50edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef _swig_setattr(self,class_type,name,value):
51edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    return _swig_setattr_nondynamic(self,class_type,name,value,0)
52edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
53edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef _swig_getattr(self,class_type,name):
54edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if (name == "thisown"): return self.this.own()
55edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    method = class_type.__swig_getmethods__.get(name,None)
56edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if method: return method(self)
57edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    raise AttributeError(name)
58edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
59edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef _swig_repr(self):
60edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    try: strthis = "proxy of " + self.this.__repr__()
61edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    except: strthis = ""
62edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
64edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeptry:
65edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    _object = object
66edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    _newclass = 1
67edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepexcept AttributeError:
68edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    class _object : pass
69edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    _newclass = 0
70edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
71edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
72edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepimport shutil, os, errno, stat
73edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
74edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepDISABLED = -1
75edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepPERMISSIVE = 0
76edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepENFORCING = 1
77edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
78edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef restorecon(path, recursive=False):
79edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    """ Restore SELinux context on a given path """
80edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
81edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    try:
82edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        mode = os.lstat(path)[stat.ST_MODE]
83edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        status, context = matchpathcon(path, mode)
84edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    except OSError:
85edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        path = os.path.realpath(os.path.expanduser(path))
86edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        mode = os.lstat(path)[stat.ST_MODE]
87edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        status, context = matchpathcon(path, mode)
88edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
89edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if status == 0:
90edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try:
91edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            status, oldcontext = lgetfilecon(path)
92edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except OSError as e:
93edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            if e.errno != errno.ENODATA:
94edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep                raise
95edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            oldcontext = None
96edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        if context != oldcontext:
97edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            lsetfilecon(path, context)
98edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
99edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        if recursive:
100edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            for root, dirs, files in os.walk(path):
101edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep                for name in files + dirs:
102edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep                   restorecon(os.path.join(root, name))
103edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
104edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef chcon(path, context, recursive=False):
105edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    """ Set the SELinux context on a given path """
106edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    lsetfilecon(path, context)
107edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if recursive:
108edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        for root, dirs, files in os.walk(path):
109edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep            for name in files + dirs:
110edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep               lsetfilecon(os.path.join(root,name), context)
111edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
112edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef copytree(src, dest):
113edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    """ An SELinux-friendly shutil.copytree method """
114edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    shutil.copytree(src, dest)
115edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    restorecon(dest, recursive=True)
116edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
117edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef install(src, dest):
118edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    """ An SELinux-friendly shutil.move method """
119edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    shutil.move(src, dest)
120edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    restorecon(dest, recursive=True)
121edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
122edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass security_id(_object):
123edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
124edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, security_id, name, value)
125edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
126edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, security_id, name)
127edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
128edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["ctx"] = _selinux.security_id_ctx_set
129edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["ctx"] = _selinux.security_id_ctx_get
130edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:ctx = _swig_property(_selinux.security_id_ctx_get, _selinux.security_id_ctx_set)
131edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["refcnt"] = _selinux.security_id_refcnt_set
132edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["refcnt"] = _selinux.security_id_refcnt_get
133edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:refcnt = _swig_property(_selinux.security_id_refcnt_get, _selinux.security_id_refcnt_set)
134edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
135edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_security_id()
136edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
137edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
138edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_security_id
139edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
140edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_id_swigregister = _selinux.security_id_swigregister
141edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_id_swigregister(security_id)
142edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
143edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
144edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_sid_to_context(*args):
145edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_sid_to_context(*args)
146edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_sid_to_context = _selinux.avc_sid_to_context
147edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
148edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_sid_to_context_raw(*args):
149edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_sid_to_context_raw(*args)
150edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_sid_to_context_raw = _selinux.avc_sid_to_context_raw
151edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
152edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_context_to_sid(*args):
153edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_context_to_sid(*args)
154edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_context_to_sid = _selinux.avc_context_to_sid
155edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
156edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_context_to_sid_raw(*args):
157edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_context_to_sid_raw(*args)
158edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_context_to_sid_raw = _selinux.avc_context_to_sid_raw
159edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
160edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef sidget(*args):
161edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.sidget(*args)
162edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsidget = _selinux.sidget
163edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
164edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef sidput(*args):
165edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.sidput(*args)
166edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsidput = _selinux.sidput
167edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
168edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_get_initial_sid(*args):
169edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_get_initial_sid(*args)
170edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_get_initial_sid = _selinux.avc_get_initial_sid
171edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass avc_entry_ref(_object):
172edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
173edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, avc_entry_ref, name, value)
174edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
175edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, avc_entry_ref, name)
176edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
177edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["ae"] = _selinux.avc_entry_ref_ae_set
178edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["ae"] = _selinux.avc_entry_ref_ae_get
179edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:ae = _swig_property(_selinux.avc_entry_ref_ae_get, _selinux.avc_entry_ref_ae_set)
180edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
181edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_avc_entry_ref()
182edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
183edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
184edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_avc_entry_ref
185edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
186edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_entry_ref_swigregister = _selinux.avc_entry_ref_swigregister
187edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_entry_ref_swigregister(avc_entry_ref)
188edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
189edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass avc_memory_callback(_object):
190edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
191edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, avc_memory_callback, name, value)
192edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
193edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, avc_memory_callback, name)
194edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
195edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_malloc"] = _selinux.avc_memory_callback_func_malloc_set
196edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_malloc"] = _selinux.avc_memory_callback_func_malloc_get
197edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_malloc = _swig_property(_selinux.avc_memory_callback_func_malloc_get, _selinux.avc_memory_callback_func_malloc_set)
198edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_free"] = _selinux.avc_memory_callback_func_free_set
199edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_free"] = _selinux.avc_memory_callback_func_free_get
200edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_free = _swig_property(_selinux.avc_memory_callback_func_free_get, _selinux.avc_memory_callback_func_free_set)
201edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
202edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_avc_memory_callback()
203edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
204edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
205edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_avc_memory_callback
206edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
207edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_memory_callback_swigregister = _selinux.avc_memory_callback_swigregister
208edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_memory_callback_swigregister(avc_memory_callback)
209edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
210edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass avc_log_callback(_object):
211edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
212edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, avc_log_callback, name, value)
213edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
214edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, avc_log_callback, name)
215edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
216edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_log"] = _selinux.avc_log_callback_func_log_set
217edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_log"] = _selinux.avc_log_callback_func_log_get
218edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_log = _swig_property(_selinux.avc_log_callback_func_log_get, _selinux.avc_log_callback_func_log_set)
219edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_audit"] = _selinux.avc_log_callback_func_audit_set
220edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_audit"] = _selinux.avc_log_callback_func_audit_get
221edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_audit = _swig_property(_selinux.avc_log_callback_func_audit_get, _selinux.avc_log_callback_func_audit_set)
222edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
223edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_avc_log_callback()
224edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
225edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
226edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_avc_log_callback
227edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
228edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_log_callback_swigregister = _selinux.avc_log_callback_swigregister
229edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_log_callback_swigregister(avc_log_callback)
230edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
231edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass avc_thread_callback(_object):
232edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
233edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, avc_thread_callback, name, value)
234edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
235edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, avc_thread_callback, name)
236edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
237edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_create_thread"] = _selinux.avc_thread_callback_func_create_thread_set
238edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_create_thread"] = _selinux.avc_thread_callback_func_create_thread_get
239edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_create_thread = _swig_property(_selinux.avc_thread_callback_func_create_thread_get, _selinux.avc_thread_callback_func_create_thread_set)
240edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_stop_thread"] = _selinux.avc_thread_callback_func_stop_thread_set
241edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_stop_thread"] = _selinux.avc_thread_callback_func_stop_thread_get
242edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_stop_thread = _swig_property(_selinux.avc_thread_callback_func_stop_thread_get, _selinux.avc_thread_callback_func_stop_thread_set)
243edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
244edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_avc_thread_callback()
245edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
246edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
247edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_avc_thread_callback
248edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
249edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_thread_callback_swigregister = _selinux.avc_thread_callback_swigregister
250edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_thread_callback_swigregister(avc_thread_callback)
251edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
252edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass avc_lock_callback(_object):
253edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
254edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, avc_lock_callback, name, value)
255edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
256edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, avc_lock_callback, name)
257edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
258edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_alloc_lock"] = _selinux.avc_lock_callback_func_alloc_lock_set
259edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_alloc_lock"] = _selinux.avc_lock_callback_func_alloc_lock_get
260edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_alloc_lock = _swig_property(_selinux.avc_lock_callback_func_alloc_lock_get, _selinux.avc_lock_callback_func_alloc_lock_set)
261edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_get_lock"] = _selinux.avc_lock_callback_func_get_lock_set
262edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_get_lock"] = _selinux.avc_lock_callback_func_get_lock_get
263edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_get_lock = _swig_property(_selinux.avc_lock_callback_func_get_lock_get, _selinux.avc_lock_callback_func_get_lock_set)
264edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_release_lock"] = _selinux.avc_lock_callback_func_release_lock_set
265edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_release_lock"] = _selinux.avc_lock_callback_func_release_lock_get
266edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_release_lock = _swig_property(_selinux.avc_lock_callback_func_release_lock_get, _selinux.avc_lock_callback_func_release_lock_set)
267edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_free_lock"] = _selinux.avc_lock_callback_func_free_lock_set
268edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_free_lock"] = _selinux.avc_lock_callback_func_free_lock_get
269edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_free_lock = _swig_property(_selinux.avc_lock_callback_func_free_lock_get, _selinux.avc_lock_callback_func_free_lock_set)
270edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
271edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_avc_lock_callback()
272edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
273edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
274edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_avc_lock_callback
275edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
276edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_lock_callback_swigregister = _selinux.avc_lock_callback_swigregister
277edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_lock_callback_swigregister(avc_lock_callback)
278edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
279edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_OPT_UNUSED = _selinux.AVC_OPT_UNUSED
280edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_OPT_SETENFORCE = _selinux.AVC_OPT_SETENFORCE
281edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
282edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_init(*args):
283edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_init(*args)
284edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_init = _selinux.avc_init
285edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
286edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_open(*args):
287edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_open(*args)
288edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_open = _selinux.avc_open
289edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
290edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_cleanup():
291edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_cleanup()
292edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_cleanup = _selinux.avc_cleanup
293edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
294edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_reset():
295edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_reset()
296edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_reset = _selinux.avc_reset
297edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
298edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_destroy():
299edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_destroy()
300edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_destroy = _selinux.avc_destroy
301edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
302edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_has_perm_noaudit(*args):
303edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_has_perm_noaudit(*args)
304edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_has_perm_noaudit = _selinux.avc_has_perm_noaudit
305edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
306edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_has_perm(*args):
307edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_has_perm(*args)
308edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_has_perm = _selinux.avc_has_perm
309edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
310edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_audit(*args):
311edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_audit(*args)
312edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_audit = _selinux.avc_audit
313edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
314edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_compute_create(*args):
315edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_compute_create(*args)
316edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_compute_create = _selinux.avc_compute_create
317edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
318edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_compute_member(*args):
319edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_compute_member(*args)
320edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_compute_member = _selinux.avc_compute_member
321edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_GRANT = _selinux.AVC_CALLBACK_GRANT
322edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_TRY_REVOKE = _selinux.AVC_CALLBACK_TRY_REVOKE
323edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_REVOKE = _selinux.AVC_CALLBACK_REVOKE
324edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_RESET = _selinux.AVC_CALLBACK_RESET
325edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_AUDITALLOW_ENABLE = _selinux.AVC_CALLBACK_AUDITALLOW_ENABLE
326edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_AUDITALLOW_DISABLE = _selinux.AVC_CALLBACK_AUDITALLOW_DISABLE
327edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_AUDITDENY_ENABLE = _selinux.AVC_CALLBACK_AUDITDENY_ENABLE
328edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CALLBACK_AUDITDENY_DISABLE = _selinux.AVC_CALLBACK_AUDITDENY_DISABLE
329edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepAVC_CACHE_STATS = _selinux.AVC_CACHE_STATS
330edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass avc_cache_stats(_object):
331edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
332edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, avc_cache_stats, name, value)
333edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
334edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, avc_cache_stats, name)
335edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
336edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["entry_lookups"] = _selinux.avc_cache_stats_entry_lookups_set
337edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["entry_lookups"] = _selinux.avc_cache_stats_entry_lookups_get
338edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:entry_lookups = _swig_property(_selinux.avc_cache_stats_entry_lookups_get, _selinux.avc_cache_stats_entry_lookups_set)
339edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["entry_hits"] = _selinux.avc_cache_stats_entry_hits_set
340edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["entry_hits"] = _selinux.avc_cache_stats_entry_hits_get
341edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:entry_hits = _swig_property(_selinux.avc_cache_stats_entry_hits_get, _selinux.avc_cache_stats_entry_hits_set)
342edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["entry_misses"] = _selinux.avc_cache_stats_entry_misses_set
343edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["entry_misses"] = _selinux.avc_cache_stats_entry_misses_get
344edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:entry_misses = _swig_property(_selinux.avc_cache_stats_entry_misses_get, _selinux.avc_cache_stats_entry_misses_set)
345edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["entry_discards"] = _selinux.avc_cache_stats_entry_discards_set
346edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["entry_discards"] = _selinux.avc_cache_stats_entry_discards_get
347edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:entry_discards = _swig_property(_selinux.avc_cache_stats_entry_discards_get, _selinux.avc_cache_stats_entry_discards_set)
348edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["cav_lookups"] = _selinux.avc_cache_stats_cav_lookups_set
349edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["cav_lookups"] = _selinux.avc_cache_stats_cav_lookups_get
350edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:cav_lookups = _swig_property(_selinux.avc_cache_stats_cav_lookups_get, _selinux.avc_cache_stats_cav_lookups_set)
351edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["cav_hits"] = _selinux.avc_cache_stats_cav_hits_set
352edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["cav_hits"] = _selinux.avc_cache_stats_cav_hits_get
353edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:cav_hits = _swig_property(_selinux.avc_cache_stats_cav_hits_get, _selinux.avc_cache_stats_cav_hits_set)
354edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["cav_probes"] = _selinux.avc_cache_stats_cav_probes_set
355edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["cav_probes"] = _selinux.avc_cache_stats_cav_probes_get
356edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:cav_probes = _swig_property(_selinux.avc_cache_stats_cav_probes_get, _selinux.avc_cache_stats_cav_probes_set)
357edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["cav_misses"] = _selinux.avc_cache_stats_cav_misses_set
358edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["cav_misses"] = _selinux.avc_cache_stats_cav_misses_get
359edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:cav_misses = _swig_property(_selinux.avc_cache_stats_cav_misses_get, _selinux.avc_cache_stats_cav_misses_set)
360edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
361edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_avc_cache_stats()
362edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
363edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
364edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_avc_cache_stats
365edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
366edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_cache_stats_swigregister = _selinux.avc_cache_stats_swigregister
367edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_cache_stats_swigregister(avc_cache_stats)
368edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
369edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
370edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_av_stats():
371edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_av_stats()
372edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_av_stats = _selinux.avc_av_stats
373edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
374edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_sid_stats():
375edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_sid_stats()
376edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_sid_stats = _selinux.avc_sid_stats
377edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
378edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_netlink_open(*args):
379edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_netlink_open(*args)
380edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_netlink_open = _selinux.avc_netlink_open
381edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
382edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_netlink_loop():
383edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_netlink_loop()
384edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_netlink_loop = _selinux.avc_netlink_loop
385edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
386edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef avc_netlink_close():
387edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.avc_netlink_close()
388edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepavc_netlink_close = _selinux.avc_netlink_close
389edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
390edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_status_open(*args):
391edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_status_open(*args)
392edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_status_open = _selinux.selinux_status_open
393edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
394edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_status_close():
395edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_status_close()
396edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_status_close = _selinux.selinux_status_close
397edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
398edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_status_updated():
399edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_status_updated()
400edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_status_updated = _selinux.selinux_status_updated
401edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
402edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_status_getenforce():
403edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_status_getenforce()
404edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_status_getenforce = _selinux.selinux_status_getenforce
405edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
406edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_status_policyload():
407edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_status_policyload()
408edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_status_policyload = _selinux.selinux_status_policyload
409edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
410edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_status_deny_unknown():
411edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_status_deny_unknown()
412edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_status_deny_unknown = _selinux.selinux_status_deny_unknown
413edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass context_s_t(_object):
414edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
415edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, context_s_t, name, value)
416edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
417edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, context_s_t, name)
418edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
419edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["ptr"] = _selinux.context_s_t_ptr_set
420edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["ptr"] = _selinux.context_s_t_ptr_get
421edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:ptr = _swig_property(_selinux.context_s_t_ptr_get, _selinux.context_s_t_ptr_set)
422edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
423edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_context_s_t()
424edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
425edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
426edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_context_s_t
427edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
428edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_s_t_swigregister = _selinux.context_s_t_swigregister
429edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_s_t_swigregister(context_s_t)
430edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
431edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
432edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_new(*args):
433edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_new(*args)
434edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_new = _selinux.context_new
435edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
436edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_str(*args):
437edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_str(*args)
438edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_str = _selinux.context_str
439edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
440edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_free(*args):
441edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_free(*args)
442edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_free = _selinux.context_free
443edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
444edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_type_get(*args):
445edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_type_get(*args)
446edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_type_get = _selinux.context_type_get
447edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
448edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_range_get(*args):
449edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_range_get(*args)
450edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_range_get = _selinux.context_range_get
451edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
452edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_role_get(*args):
453edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_role_get(*args)
454edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_role_get = _selinux.context_role_get
455edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
456edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_user_get(*args):
457edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_user_get(*args)
458edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_user_get = _selinux.context_user_get
459edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
460edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_type_set(*args):
461edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_type_set(*args)
462edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_type_set = _selinux.context_type_set
463edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
464edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_range_set(*args):
465edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_range_set(*args)
466edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_range_set = _selinux.context_range_set
467edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
468edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_role_set(*args):
469edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_role_set(*args)
470edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_role_set = _selinux.context_role_set
471edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
472edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef context_user_set(*args):
473edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.context_user_set(*args)
474edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepcontext_user_set = _selinux.context_user_set
475edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_DEFAULTUSER = _selinux.SELINUX_DEFAULTUSER
476edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
477edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_ordered_context_list(*args):
478edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_ordered_context_list(*args)
479edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_ordered_context_list = _selinux.get_ordered_context_list
480edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
481edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_ordered_context_list_with_level(*args):
482edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_ordered_context_list_with_level(*args)
483edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_ordered_context_list_with_level = _selinux.get_ordered_context_list_with_level
484edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
485edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_default_context(*args):
486edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_default_context(*args)
487edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_default_context = _selinux.get_default_context
488edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
489edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_default_context_with_level(*args):
490edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_default_context_with_level(*args)
491edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_default_context_with_level = _selinux.get_default_context_with_level
492edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
493edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_default_context_with_role(*args):
494edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_default_context_with_role(*args)
495edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_default_context_with_role = _selinux.get_default_context_with_role
496edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
497edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_default_context_with_rolelevel(*args):
498edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_default_context_with_rolelevel(*args)
499edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_default_context_with_rolelevel = _selinux.get_default_context_with_rolelevel
500edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
501edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef query_user_context():
502edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.query_user_context()
503edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepquery_user_context = _selinux.query_user_context
504edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
505edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef manual_user_enter_context(*args):
506edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.manual_user_enter_context(*args)
507edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmanual_user_enter_context = _selinux.manual_user_enter_context
508edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
509edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_default_type_path():
510edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_default_type_path()
511edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_default_type_path = _selinux.selinux_default_type_path
512edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
513edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef get_default_type(*args):
514edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.get_default_type(*args)
515edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepget_default_type = _selinux.get_default_type
516edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_CTX_FILE = _selinux.SELABEL_CTX_FILE
517edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_CTX_MEDIA = _selinux.SELABEL_CTX_MEDIA
518edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_CTX_X = _selinux.SELABEL_CTX_X
519edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_CTX_DB = _selinux.SELABEL_CTX_DB
520edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_CTX_ANDROID_PROP = _selinux.SELABEL_CTX_ANDROID_PROP
521edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_OPT_UNUSED = _selinux.SELABEL_OPT_UNUSED
522edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_OPT_VALIDATE = _selinux.SELABEL_OPT_VALIDATE
523edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_OPT_BASEONLY = _selinux.SELABEL_OPT_BASEONLY
524edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_OPT_PATH = _selinux.SELABEL_OPT_PATH
525edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_OPT_SUBSET = _selinux.SELABEL_OPT_SUBSET
526edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_OPT_DIGEST = _selinux.SELABEL_OPT_DIGEST
527edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_NOPT = _selinux.SELABEL_NOPT
528edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
529edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_open(*args):
530edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_open(*args)
531edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_open = _selinux.selabel_open
532edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
533edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_close(*args):
534edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_close(*args)
535edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_close = _selinux.selabel_close
536edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
537edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_lookup(*args):
538edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_lookup(*args)
539edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_lookup = _selinux.selabel_lookup
540edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
541edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_lookup_raw(*args):
542edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_lookup_raw(*args)
543edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_lookup_raw = _selinux.selabel_lookup_raw
544edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
545edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_partial_match(*args):
546edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_partial_match(*args)
547edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_partial_match = _selinux.selabel_partial_match
548edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
549edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_lookup_best_match(*args):
550edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_lookup_best_match(*args)
551edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_lookup_best_match = _selinux.selabel_lookup_best_match
552edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
553edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_lookup_best_match_raw(*args):
554edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_lookup_best_match_raw(*args)
555edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_lookup_best_match_raw = _selinux.selabel_lookup_best_match_raw
556edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
557edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_digest(*args):
558edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_digest(*args)
559edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_digest = _selinux.selabel_digest
560edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_SUBSET = _selinux.SELABEL_SUBSET
561edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_EQUAL = _selinux.SELABEL_EQUAL
562edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_SUPERSET = _selinux.SELABEL_SUPERSET
563edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_INCOMPARABLE = _selinux.SELABEL_INCOMPARABLE
564edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
565edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_cmp(*args):
566edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_cmp(*args)
567edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_cmp = _selinux.selabel_cmp
568edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
569edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selabel_stats(*args):
570edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selabel_stats(*args)
571edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselabel_stats = _selinux.selabel_stats
572edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_PROP = _selinux.SELABEL_X_PROP
573edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_EXT = _selinux.SELABEL_X_EXT
574edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_CLIENT = _selinux.SELABEL_X_CLIENT
575edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_EVENT = _selinux.SELABEL_X_EVENT
576edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_SELN = _selinux.SELABEL_X_SELN
577edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_POLYPROP = _selinux.SELABEL_X_POLYPROP
578edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_X_POLYSELN = _selinux.SELABEL_X_POLYSELN
579edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_DATABASE = _selinux.SELABEL_DB_DATABASE
580edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_SCHEMA = _selinux.SELABEL_DB_SCHEMA
581edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_TABLE = _selinux.SELABEL_DB_TABLE
582edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_COLUMN = _selinux.SELABEL_DB_COLUMN
583edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_SEQUENCE = _selinux.SELABEL_DB_SEQUENCE
584edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_VIEW = _selinux.SELABEL_DB_VIEW
585edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_PROCEDURE = _selinux.SELABEL_DB_PROCEDURE
586edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_BLOB = _selinux.SELABEL_DB_BLOB
587edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_TUPLE = _selinux.SELABEL_DB_TUPLE
588edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_LANGUAGE = _selinux.SELABEL_DB_LANGUAGE
589edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_EXCEPTION = _selinux.SELABEL_DB_EXCEPTION
590edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELABEL_DB_DATATYPE = _selinux.SELABEL_DB_DATATYPE
591edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
592edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef is_selinux_enabled():
593edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.is_selinux_enabled()
594edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepis_selinux_enabled = _selinux.is_selinux_enabled
595edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
596edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef is_selinux_mls_enabled():
597edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.is_selinux_mls_enabled()
598edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepis_selinux_mls_enabled = _selinux.is_selinux_mls_enabled
599edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
600edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getcon():
601edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getcon()
602edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetcon = _selinux.getcon
603edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
604edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getcon_raw():
605edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getcon_raw()
606edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetcon_raw = _selinux.getcon_raw
607edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
608edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setcon(*args):
609edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setcon(*args)
610edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetcon = _selinux.setcon
611edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
612edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setcon_raw(*args):
613edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setcon_raw(*args)
614edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetcon_raw = _selinux.setcon_raw
615edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
616edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getpidcon(*args):
617edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getpidcon(*args)
618edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetpidcon = _selinux.getpidcon
619edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
620edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getpidcon_raw(*args):
621edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getpidcon_raw(*args)
622edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetpidcon_raw = _selinux.getpidcon_raw
623edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
624edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getprevcon():
625edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getprevcon()
626edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetprevcon = _selinux.getprevcon
627edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
628edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getprevcon_raw():
629edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getprevcon_raw()
630edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetprevcon_raw = _selinux.getprevcon_raw
631edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
632edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getexeccon():
633edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getexeccon()
634edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetexeccon = _selinux.getexeccon
635edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
636edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getexeccon_raw():
637edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getexeccon_raw()
638edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetexeccon_raw = _selinux.getexeccon_raw
639edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
640edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setexeccon(*args):
641edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setexeccon(*args)
642edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetexeccon = _selinux.setexeccon
643edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
644edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setexeccon_raw(*args):
645edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setexeccon_raw(*args)
646edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetexeccon_raw = _selinux.setexeccon_raw
647edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
648edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getfscreatecon():
649edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getfscreatecon()
650edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetfscreatecon = _selinux.getfscreatecon
651edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
652edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getfscreatecon_raw():
653edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getfscreatecon_raw()
654edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetfscreatecon_raw = _selinux.getfscreatecon_raw
655edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
656edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setfscreatecon(*args):
657edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setfscreatecon(*args)
658edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetfscreatecon = _selinux.setfscreatecon
659edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
660edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setfscreatecon_raw(*args):
661edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setfscreatecon_raw(*args)
662edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetfscreatecon_raw = _selinux.setfscreatecon_raw
663edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
664edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getkeycreatecon():
665edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getkeycreatecon()
666edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetkeycreatecon = _selinux.getkeycreatecon
667edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
668edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getkeycreatecon_raw():
669edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getkeycreatecon_raw()
670edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetkeycreatecon_raw = _selinux.getkeycreatecon_raw
671edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
672edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setkeycreatecon(*args):
673edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setkeycreatecon(*args)
674edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetkeycreatecon = _selinux.setkeycreatecon
675edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
676edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setkeycreatecon_raw(*args):
677edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setkeycreatecon_raw(*args)
678edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetkeycreatecon_raw = _selinux.setkeycreatecon_raw
679edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
680edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getsockcreatecon():
681edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getsockcreatecon()
682edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetsockcreatecon = _selinux.getsockcreatecon
683edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
684edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getsockcreatecon_raw():
685edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getsockcreatecon_raw()
686edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetsockcreatecon_raw = _selinux.getsockcreatecon_raw
687edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
688edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setsockcreatecon(*args):
689edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setsockcreatecon(*args)
690edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetsockcreatecon = _selinux.setsockcreatecon
691edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
692edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setsockcreatecon_raw(*args):
693edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setsockcreatecon_raw(*args)
694edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetsockcreatecon_raw = _selinux.setsockcreatecon_raw
695edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
696edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getfilecon(*args):
697edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getfilecon(*args)
698edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetfilecon = _selinux.getfilecon
699edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
700edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getfilecon_raw(*args):
701edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getfilecon_raw(*args)
702edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetfilecon_raw = _selinux.getfilecon_raw
703edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
704edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef lgetfilecon(*args):
705edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.lgetfilecon(*args)
706edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeplgetfilecon = _selinux.lgetfilecon
707edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
708edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef lgetfilecon_raw(*args):
709edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.lgetfilecon_raw(*args)
710edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeplgetfilecon_raw = _selinux.lgetfilecon_raw
711edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
712edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef fgetfilecon(*args):
713edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.fgetfilecon(*args)
714edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepfgetfilecon = _selinux.fgetfilecon
715edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
716edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef fgetfilecon_raw(*args):
717edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.fgetfilecon_raw(*args)
718edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepfgetfilecon_raw = _selinux.fgetfilecon_raw
719edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
720edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setfilecon(*args):
721edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setfilecon(*args)
722edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetfilecon = _selinux.setfilecon
723edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
724edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setfilecon_raw(*args):
725edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setfilecon_raw(*args)
726edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetfilecon_raw = _selinux.setfilecon_raw
727edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
728edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef lsetfilecon(*args):
729edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.lsetfilecon(*args)
730edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeplsetfilecon = _selinux.lsetfilecon
731edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
732edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef lsetfilecon_raw(*args):
733edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.lsetfilecon_raw(*args)
734edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeplsetfilecon_raw = _selinux.lsetfilecon_raw
735edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
736edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef fsetfilecon(*args):
737edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.fsetfilecon(*args)
738edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepfsetfilecon = _selinux.fsetfilecon
739edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
740edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef fsetfilecon_raw(*args):
741edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.fsetfilecon_raw(*args)
742edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepfsetfilecon_raw = _selinux.fsetfilecon_raw
743edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
744edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getpeercon(*args):
745edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getpeercon(*args)
746edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetpeercon = _selinux.getpeercon
747edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
748edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getpeercon_raw(*args):
749edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getpeercon_raw(*args)
750edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetpeercon_raw = _selinux.getpeercon_raw
751edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass av_decision(_object):
752edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
753edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, av_decision, name, value)
754edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
755edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, av_decision, name)
756edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
757edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["allowed"] = _selinux.av_decision_allowed_set
758edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["allowed"] = _selinux.av_decision_allowed_get
759edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:allowed = _swig_property(_selinux.av_decision_allowed_get, _selinux.av_decision_allowed_set)
760edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["decided"] = _selinux.av_decision_decided_set
761edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["decided"] = _selinux.av_decision_decided_get
762edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:decided = _swig_property(_selinux.av_decision_decided_get, _selinux.av_decision_decided_set)
763edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["auditallow"] = _selinux.av_decision_auditallow_set
764edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["auditallow"] = _selinux.av_decision_auditallow_get
765edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:auditallow = _swig_property(_selinux.av_decision_auditallow_get, _selinux.av_decision_auditallow_set)
766edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["auditdeny"] = _selinux.av_decision_auditdeny_set
767edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["auditdeny"] = _selinux.av_decision_auditdeny_get
768edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:auditdeny = _swig_property(_selinux.av_decision_auditdeny_get, _selinux.av_decision_auditdeny_set)
769edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["seqno"] = _selinux.av_decision_seqno_set
770edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["seqno"] = _selinux.av_decision_seqno_get
771edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:seqno = _swig_property(_selinux.av_decision_seqno_get, _selinux.av_decision_seqno_set)
772edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["flags"] = _selinux.av_decision_flags_set
773edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["flags"] = _selinux.av_decision_flags_get
774edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:flags = _swig_property(_selinux.av_decision_flags_get, _selinux.av_decision_flags_set)
775edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
776edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_av_decision()
777edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
778edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
779edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_av_decision
780edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
781edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepav_decision_swigregister = _selinux.av_decision_swigregister
782edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepav_decision_swigregister(av_decision)
783edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
784edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_AVD_FLAGS_PERMISSIVE = _selinux.SELINUX_AVD_FLAGS_PERMISSIVE
785edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass selinux_opt(_object):
786edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
787edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, selinux_opt, name, value)
788edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
789edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, selinux_opt, name)
790edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
791edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["type"] = _selinux.selinux_opt_type_set
792edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["type"] = _selinux.selinux_opt_type_get
793edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:type = _swig_property(_selinux.selinux_opt_type_get, _selinux.selinux_opt_type_set)
794edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["value"] = _selinux.selinux_opt_value_set
795edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["value"] = _selinux.selinux_opt_value_get
796edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:value = _swig_property(_selinux.selinux_opt_value_get, _selinux.selinux_opt_value_set)
797edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
798edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_selinux_opt()
799edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
800edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
801edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_selinux_opt
802edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
803edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_opt_swigregister = _selinux.selinux_opt_swigregister
804edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_opt_swigregister(selinux_opt)
805edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
806edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass selinux_callback(_object):
807edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
808edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, selinux_callback, name, value)
809edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
810edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, selinux_callback, name)
811edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
812edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_log"] = _selinux.selinux_callback_func_log_set
813edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_log"] = _selinux.selinux_callback_func_log_get
814edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_log = _swig_property(_selinux.selinux_callback_func_log_get, _selinux.selinux_callback_func_log_set)
815edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_audit"] = _selinux.selinux_callback_func_audit_set
816edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_audit"] = _selinux.selinux_callback_func_audit_get
817edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_audit = _swig_property(_selinux.selinux_callback_func_audit_get, _selinux.selinux_callback_func_audit_set)
818edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_validate"] = _selinux.selinux_callback_func_validate_set
819edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_validate"] = _selinux.selinux_callback_func_validate_get
820edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_validate = _swig_property(_selinux.selinux_callback_func_validate_get, _selinux.selinux_callback_func_validate_set)
821edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_setenforce"] = _selinux.selinux_callback_func_setenforce_set
822edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_setenforce"] = _selinux.selinux_callback_func_setenforce_get
823edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_setenforce = _swig_property(_selinux.selinux_callback_func_setenforce_get, _selinux.selinux_callback_func_setenforce_set)
824edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["func_policyload"] = _selinux.selinux_callback_func_policyload_set
825edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["func_policyload"] = _selinux.selinux_callback_func_policyload_get
826edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:func_policyload = _swig_property(_selinux.selinux_callback_func_policyload_get, _selinux.selinux_callback_func_policyload_set)
827edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
828edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_selinux_callback()
829edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
830edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
831edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_selinux_callback
832edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
833edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_callback_swigregister = _selinux.selinux_callback_swigregister
834edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_callback_swigregister(selinux_callback)
835edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
836edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_CB_LOG = _selinux.SELINUX_CB_LOG
837edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_CB_AUDIT = _selinux.SELINUX_CB_AUDIT
838edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_CB_VALIDATE = _selinux.SELINUX_CB_VALIDATE
839edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_CB_SETENFORCE = _selinux.SELINUX_CB_SETENFORCE
840edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_CB_POLICYLOAD = _selinux.SELINUX_CB_POLICYLOAD
841edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
842edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_get_callback(*args):
843edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_get_callback(*args)
844edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_get_callback = _selinux.selinux_get_callback
845edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
846edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_set_callback(*args):
847edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_set_callback(*args)
848edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_set_callback = _selinux.selinux_set_callback
849edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_ERROR = _selinux.SELINUX_ERROR
850edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_WARNING = _selinux.SELINUX_WARNING
851edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_INFO = _selinux.SELINUX_INFO
852edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_AVC = _selinux.SELINUX_AVC
853edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELINUX_TRANS_DIR = _selinux.SELINUX_TRANS_DIR
854edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
855edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_av(*args):
856edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_av(*args)
857edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_av = _selinux.security_compute_av
858edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
859edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_av_raw(*args):
860edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_av_raw(*args)
861edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_av_raw = _selinux.security_compute_av_raw
862edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
863edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_av_flags(*args):
864edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_av_flags(*args)
865edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_av_flags = _selinux.security_compute_av_flags
866edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
867edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_av_flags_raw(*args):
868edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_av_flags_raw(*args)
869edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_av_flags_raw = _selinux.security_compute_av_flags_raw
870edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
871edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_create(*args):
872edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_create(*args)
873edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_create = _selinux.security_compute_create
874edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
875edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_create_raw(*args):
876edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_create_raw(*args)
877edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_create_raw = _selinux.security_compute_create_raw
878edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
879edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_create_name(*args):
880edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_create_name(*args)
881edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_create_name = _selinux.security_compute_create_name
882edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
883edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_create_name_raw(*args):
884edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_create_name_raw(*args)
885edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_create_name_raw = _selinux.security_compute_create_name_raw
886edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
887edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_relabel(*args):
888edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_relabel(*args)
889edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_relabel = _selinux.security_compute_relabel
890edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
891edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_relabel_raw(*args):
892edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_relabel_raw(*args)
893edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_relabel_raw = _selinux.security_compute_relabel_raw
894edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
895edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_member(*args):
896edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_member(*args)
897edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_member = _selinux.security_compute_member
898edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
899edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_member_raw(*args):
900edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_member_raw(*args)
901edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_member_raw = _selinux.security_compute_member_raw
902edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
903edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_user(*args):
904edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_user(*args)
905edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_user = _selinux.security_compute_user
906edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
907edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_compute_user_raw(*args):
908edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_compute_user_raw(*args)
909edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_compute_user_raw = _selinux.security_compute_user_raw
910edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
911edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_load_policy(*args):
912edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_load_policy(*args)
913edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_load_policy = _selinux.security_load_policy
914edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
915edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_get_initial_context(*args):
916edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_get_initial_context(*args)
917edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_get_initial_context = _selinux.security_get_initial_context
918edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
919edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_get_initial_context_raw(*args):
920edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_get_initial_context_raw(*args)
921edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_get_initial_context_raw = _selinux.security_get_initial_context_raw
922edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
923edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_mkload_policy(*args):
924edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_mkload_policy(*args)
925edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_mkload_policy = _selinux.selinux_mkload_policy
926edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
927edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_init_load_policy():
928edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_init_load_policy()
929edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_init_load_policy = _selinux.selinux_init_load_policy
930edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass SELboolean(_object):
931edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
932edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, SELboolean, name, value)
933edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
934edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, SELboolean, name)
935edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
936edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["name"] = _selinux.SELboolean_name_set
937edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["name"] = _selinux.SELboolean_name_get
938edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:name = _swig_property(_selinux.SELboolean_name_get, _selinux.SELboolean_name_set)
939edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["value"] = _selinux.SELboolean_value_set
940edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["value"] = _selinux.SELboolean_value_get
941edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:value = _swig_property(_selinux.SELboolean_value_get, _selinux.SELboolean_value_set)
942edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
943edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_SELboolean()
944edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
945edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
946edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_SELboolean
947edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
948edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELboolean_swigregister = _selinux.SELboolean_swigregister
949edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepSELboolean_swigregister(SELboolean)
950edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
951edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
952edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_set_boolean_list(*args):
953edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_set_boolean_list(*args)
954edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_set_boolean_list = _selinux.security_set_boolean_list
955edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
956edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_load_booleans(*args):
957edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_load_booleans(*args)
958edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_load_booleans = _selinux.security_load_booleans
959edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
960edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_check_context(*args):
961edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_check_context(*args)
962edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_check_context = _selinux.security_check_context
963edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
964edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_check_context_raw(*args):
965edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_check_context_raw(*args)
966edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_check_context_raw = _selinux.security_check_context_raw
967edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
968edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_canonicalize_context(*args):
969edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_canonicalize_context(*args)
970edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_canonicalize_context = _selinux.security_canonicalize_context
971edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
972edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_canonicalize_context_raw(*args):
973edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_canonicalize_context_raw(*args)
974edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_canonicalize_context_raw = _selinux.security_canonicalize_context_raw
975edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
976edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_getenforce():
977edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_getenforce()
978edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_getenforce = _selinux.security_getenforce
979edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
980edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_setenforce(*args):
981edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_setenforce(*args)
982edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_setenforce = _selinux.security_setenforce
983edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
984edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_deny_unknown():
985edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_deny_unknown()
986edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_deny_unknown = _selinux.security_deny_unknown
987edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
988edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_disable():
989edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_disable()
990edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_disable = _selinux.security_disable
991edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
992edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_policyvers():
993edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_policyvers()
994edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_policyvers = _selinux.security_policyvers
995edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
996edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_get_boolean_names():
997edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_get_boolean_names()
998edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_get_boolean_names = _selinux.security_get_boolean_names
999edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1000edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_get_boolean_pending(*args):
1001edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_get_boolean_pending(*args)
1002edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_get_boolean_pending = _selinux.security_get_boolean_pending
1003edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1004edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_get_boolean_active(*args):
1005edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_get_boolean_active(*args)
1006edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_get_boolean_active = _selinux.security_get_boolean_active
1007edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1008edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_set_boolean(*args):
1009edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_set_boolean(*args)
1010edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_set_boolean = _selinux.security_set_boolean
1011edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1012edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_commit_booleans():
1013edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_commit_booleans()
1014edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_commit_booleans = _selinux.security_commit_booleans
1015edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepclass security_class_mapping(_object):
1016edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__ = {}
1017edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __setattr__ = lambda self, name, value: _swig_setattr(self, security_class_mapping, name, value)
1018edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__ = {}
1019edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __getattr__ = lambda self, name: _swig_getattr(self, security_class_mapping, name)
1020edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __repr__ = _swig_repr
1021edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["name"] = _selinux.security_class_mapping_name_set
1022edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["name"] = _selinux.security_class_mapping_name_get
1023edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:name = _swig_property(_selinux.security_class_mapping_name_get, _selinux.security_class_mapping_name_set)
1024edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_setmethods__["perms"] = _selinux.security_class_mapping_perms_set
1025edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_getmethods__["perms"] = _selinux.security_class_mapping_perms_get
1026edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    if _newclass:perms = _swig_property(_selinux.security_class_mapping_perms_get, _selinux.security_class_mapping_perms_set)
1027edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    def __init__(self):
1028edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        this = _selinux.new_security_class_mapping()
1029edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        try: self.this.append(this)
1030edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep        except: self.this = this
1031edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __swig_destroy__ = _selinux.delete_security_class_mapping
1032edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep    __del__ = lambda self : None;
1033edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_class_mapping_swigregister = _selinux.security_class_mapping_swigregister
1034edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_class_mapping_swigregister(security_class_mapping)
1035edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1036edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1037edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_set_mapping(*args):
1038edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_set_mapping(*args)
1039edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_set_mapping = _selinux.selinux_set_mapping
1040edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1041edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef mode_to_security_class(*args):
1042edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.mode_to_security_class(*args)
1043edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmode_to_security_class = _selinux.mode_to_security_class
1044edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1045edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef string_to_security_class(*args):
1046edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.string_to_security_class(*args)
1047edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepstring_to_security_class = _selinux.string_to_security_class
1048edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1049edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_class_to_string(*args):
1050edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_class_to_string(*args)
1051edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_class_to_string = _selinux.security_class_to_string
1052edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1053edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_av_perm_to_string(*args):
1054edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_av_perm_to_string(*args)
1055edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_av_perm_to_string = _selinux.security_av_perm_to_string
1056edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1057edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef string_to_av_perm(*args):
1058edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.string_to_av_perm(*args)
1059edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepstring_to_av_perm = _selinux.string_to_av_perm
1060edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1061edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef security_av_string(*args):
1062edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.security_av_string(*args)
1063edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsecurity_av_string = _selinux.security_av_string
1064edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1065edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef print_access_vector(*args):
1066edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.print_access_vector(*args)
1067edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepprint_access_vector = _selinux.print_access_vector
1068edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepMATCHPATHCON_BASEONLY = _selinux.MATCHPATHCON_BASEONLY
1069edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepMATCHPATHCON_NOTRANS = _selinux.MATCHPATHCON_NOTRANS
1070edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepMATCHPATHCON_VALIDATE = _selinux.MATCHPATHCON_VALIDATE
1071edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1072edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef set_matchpathcon_flags(*args):
1073edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.set_matchpathcon_flags(*args)
1074edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepset_matchpathcon_flags = _selinux.set_matchpathcon_flags
1075edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1076edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_init(*args):
1077edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_init(*args)
1078edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_init = _selinux.matchpathcon_init
1079edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1080edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_init_prefix(*args):
1081edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_init_prefix(*args)
1082edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_init_prefix = _selinux.matchpathcon_init_prefix
1083edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1084edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_fini():
1085edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_fini()
1086edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_fini = _selinux.matchpathcon_fini
1087edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1088edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef realpath_not_final(*args):
1089edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.realpath_not_final(*args)
1090edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeprealpath_not_final = _selinux.realpath_not_final
1091edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1092edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon(*args):
1093edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon(*args)
1094edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon = _selinux.matchpathcon
1095edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1096edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_index(*args):
1097edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_index(*args)
1098edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_index = _selinux.matchpathcon_index
1099edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1100edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_filespec_add(*args):
1101edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_filespec_add(*args)
1102edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_filespec_add = _selinux.matchpathcon_filespec_add
1103edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1104edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_filespec_destroy():
1105edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_filespec_destroy()
1106edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_filespec_destroy = _selinux.matchpathcon_filespec_destroy
1107edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1108edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_filespec_eval():
1109edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_filespec_eval()
1110edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_filespec_eval = _selinux.matchpathcon_filespec_eval
1111edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1112edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchpathcon_checkmatches(*args):
1113edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchpathcon_checkmatches(*args)
1114edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchpathcon_checkmatches = _selinux.matchpathcon_checkmatches
1115edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1116edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef matchmediacon(*args):
1117edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.matchmediacon(*args)
1118edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepmatchmediacon = _selinux.matchmediacon
1119edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1120edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_getenforcemode():
1121edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_getenforcemode()
1122edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_getenforcemode = _selinux.selinux_getenforcemode
1123edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1124edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_boolean_sub(*args):
1125edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_boolean_sub(*args)
1126edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_boolean_sub = _selinux.selinux_boolean_sub
1127edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1128edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_getpolicytype():
1129edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_getpolicytype()
1130edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_getpolicytype = _selinux.selinux_getpolicytype
1131edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1132edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_policy_root():
1133edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_policy_root()
1134edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_policy_root = _selinux.selinux_policy_root
1135edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1136edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_set_policy_root(*args):
1137edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_set_policy_root(*args)
1138edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_set_policy_root = _selinux.selinux_set_policy_root
1139edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1140edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_current_policy_path():
1141edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_current_policy_path()
1142edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_current_policy_path = _selinux.selinux_current_policy_path
1143edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1144edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_binary_policy_path():
1145edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_binary_policy_path()
1146edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_binary_policy_path = _selinux.selinux_binary_policy_path
1147edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1148edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_failsafe_context_path():
1149edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_failsafe_context_path()
1150edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_failsafe_context_path = _selinux.selinux_failsafe_context_path
1151edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1152edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_removable_context_path():
1153edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_removable_context_path()
1154edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_removable_context_path = _selinux.selinux_removable_context_path
1155edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1156edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_default_context_path():
1157edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_default_context_path()
1158edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_default_context_path = _selinux.selinux_default_context_path
1159edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1160edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_user_contexts_path():
1161edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_user_contexts_path()
1162edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_user_contexts_path = _selinux.selinux_user_contexts_path
1163edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1164edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_path():
1165edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_path()
1166edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_path = _selinux.selinux_file_context_path
1167edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1168edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_homedir_path():
1169edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_homedir_path()
1170edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_homedir_path = _selinux.selinux_file_context_homedir_path
1171edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1172edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_local_path():
1173edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_local_path()
1174edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_local_path = _selinux.selinux_file_context_local_path
1175edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1176edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_subs_path():
1177edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_subs_path()
1178edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_subs_path = _selinux.selinux_file_context_subs_path
1179edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1180edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_subs_dist_path():
1181edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_subs_dist_path()
1182edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_subs_dist_path = _selinux.selinux_file_context_subs_dist_path
1183edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1184edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_homedir_context_path():
1185edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_homedir_context_path()
1186edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_homedir_context_path = _selinux.selinux_homedir_context_path
1187edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1188edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_media_context_path():
1189edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_media_context_path()
1190edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_media_context_path = _selinux.selinux_media_context_path
1191edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1192edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_virtual_domain_context_path():
1193edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_virtual_domain_context_path()
1194edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_virtual_domain_context_path = _selinux.selinux_virtual_domain_context_path
1195edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1196edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_virtual_image_context_path():
1197edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_virtual_image_context_path()
1198edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_virtual_image_context_path = _selinux.selinux_virtual_image_context_path
1199edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1200edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_lxc_contexts_path():
1201edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_lxc_contexts_path()
1202edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_lxc_contexts_path = _selinux.selinux_lxc_contexts_path
1203edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1204edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_x_context_path():
1205edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_x_context_path()
1206edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_x_context_path = _selinux.selinux_x_context_path
1207edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1208edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_sepgsql_context_path():
1209edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_sepgsql_context_path()
1210edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_sepgsql_context_path = _selinux.selinux_sepgsql_context_path
1211edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1212edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_openssh_contexts_path():
1213edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_openssh_contexts_path()
1214edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_openssh_contexts_path = _selinux.selinux_openssh_contexts_path
1215edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1216edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_systemd_contexts_path():
1217edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_systemd_contexts_path()
1218edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_systemd_contexts_path = _selinux.selinux_systemd_contexts_path
1219edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1220edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_contexts_path():
1221edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_contexts_path()
1222edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_contexts_path = _selinux.selinux_contexts_path
1223edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1224edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_securetty_types_path():
1225edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_securetty_types_path()
1226edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_securetty_types_path = _selinux.selinux_securetty_types_path
1227edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1228edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_booleans_subs_path():
1229edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_booleans_subs_path()
1230edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_booleans_subs_path = _selinux.selinux_booleans_subs_path
1231edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1232edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_booleans_path():
1233edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_booleans_path()
1234edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_booleans_path = _selinux.selinux_booleans_path
1235edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1236edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_customizable_types_path():
1237edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_customizable_types_path()
1238edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_customizable_types_path = _selinux.selinux_customizable_types_path
1239edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1240edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_users_path():
1241edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_users_path()
1242edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_users_path = _selinux.selinux_users_path
1243edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1244edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_usersconf_path():
1245edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_usersconf_path()
1246edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_usersconf_path = _selinux.selinux_usersconf_path
1247edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1248edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_translations_path():
1249edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_translations_path()
1250edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_translations_path = _selinux.selinux_translations_path
1251edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1252edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_colors_path():
1253edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_colors_path()
1254edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_colors_path = _selinux.selinux_colors_path
1255edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1256edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_netfilter_context_path():
1257edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_netfilter_context_path()
1258edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_netfilter_context_path = _selinux.selinux_netfilter_context_path
1259edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1260edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_path():
1261edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_path()
1262edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_path = _selinux.selinux_path
1263edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1264edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_check_access(*args):
1265edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_check_access(*args)
1266edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_check_access = _selinux.selinux_check_access
1267edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1268edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_check_passwd_access(*args):
1269edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_check_passwd_access(*args)
1270edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_check_passwd_access = _selinux.selinux_check_passwd_access
1271edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1272edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef checkPasswdAccess(*args):
1273edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.checkPasswdAccess(*args)
1274edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander StoepcheckPasswdAccess = _selinux.checkPasswdAccess
1275edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1276edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_check_securetty_context(*args):
1277edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_check_securetty_context(*args)
1278edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_check_securetty_context = _selinux.selinux_check_securetty_context
1279edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1280edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef set_selinuxmnt(*args):
1281edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.set_selinuxmnt(*args)
1282edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepset_selinuxmnt = _selinux.set_selinuxmnt
1283edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1284edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinuxfs_exists():
1285edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinuxfs_exists()
1286edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinuxfs_exists = _selinux.selinuxfs_exists
1287edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1288edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef fini_selinuxmnt():
1289edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.fini_selinuxmnt()
1290edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepfini_selinuxmnt = _selinux.fini_selinuxmnt
1291edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1292edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef setexecfilecon(*args):
1293edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.setexecfilecon(*args)
1294edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepsetexecfilecon = _selinux.setexecfilecon
1295edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1296edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef rpm_execcon(*args):
1297edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.rpm_execcon(*args)
1298edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoeprpm_execcon = _selinux.rpm_execcon
1299edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1300edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef is_context_customizable(*args):
1301edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.is_context_customizable(*args)
1302edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepis_context_customizable = _selinux.is_context_customizable
1303edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1304edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_trans_to_raw_context(*args):
1305edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_trans_to_raw_context(*args)
1306edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_trans_to_raw_context = _selinux.selinux_trans_to_raw_context
1307edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1308edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_raw_to_trans_context(*args):
1309edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_raw_to_trans_context(*args)
1310edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_raw_to_trans_context = _selinux.selinux_raw_to_trans_context
1311edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1312edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_raw_context_to_color(*args):
1313edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_raw_context_to_color(*args)
1314edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_raw_context_to_color = _selinux.selinux_raw_context_to_color
1315edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1316edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getseuserbyname(*args):
1317edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getseuserbyname(*args)
1318edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetseuserbyname = _selinux.getseuserbyname
1319edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1320edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef getseuser(*args):
1321edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.getseuser(*args)
1322edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepgetseuser = _selinux.getseuser
1323edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1324edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_cmp(*args):
1325edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_cmp(*args)
1326edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_cmp = _selinux.selinux_file_context_cmp
1327edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1328edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_file_context_verify(*args):
1329edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_file_context_verify(*args)
1330edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_file_context_verify = _selinux.selinux_file_context_verify
1331edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1332edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_lsetfilecon_default(*args):
1333edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_lsetfilecon_default(*args)
1334edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_lsetfilecon_default = _selinux.selinux_lsetfilecon_default
1335edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1336edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepdef selinux_reset_config():
1337edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep  return _selinux.selinux_reset_config()
1338edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoepselinux_reset_config = _selinux.selinux_reset_config
1339edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep# This file is compatible with both classic and new-style classes.
1340edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1341edbb763a2b63074cd468a5d33a17908b2cc0654Jeff Vander Stoep
1342