mirror of
https://github.com/SELinuxProject/setools
synced 2025-05-02 16:20:34 +00:00
policyrep.pyi: Remove incorrect attribute overrides.
This fixes mypy issues. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
6a00d5d5f3
commit
ee21412234
@ -139,12 +139,6 @@ class Bounds(PolicyObject):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class BoundsRuletype(PolicyEnum):
|
class BoundsRuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
typebounds: int = ...
|
typebounds: int = ...
|
||||||
|
|
||||||
class Category(PolicySymbol):
|
class Category(PolicySymbol):
|
||||||
@ -337,12 +331,6 @@ class ConstraintIterator(PolicyIterator):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class ConstraintRuletype(PolicyEnum):
|
class ConstraintRuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
constrain: int = ...
|
constrain: int = ...
|
||||||
mlsconstrain: int = ...
|
mlsconstrain: int = ...
|
||||||
mlsvalidatetrans: int = ...
|
mlsvalidatetrans: int = ...
|
||||||
@ -397,12 +385,6 @@ class DefaultRange(Default):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class DefaultRangeValue(PolicyEnum):
|
class DefaultRangeValue(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
high: int = ...
|
high: int = ...
|
||||||
low: int = ...
|
low: int = ...
|
||||||
low_high: int = ...
|
low_high: int = ...
|
||||||
@ -410,24 +392,12 @@ class DefaultRangeValue(PolicyEnum):
|
|||||||
def from_default_range(self, range: Optional[int]) -> Optional[DefaultRangeValue]: ...
|
def from_default_range(self, range: Optional[int]) -> Optional[DefaultRangeValue]: ...
|
||||||
|
|
||||||
class DefaultRuletype(PolicyEnum):
|
class DefaultRuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
default_range: int = ...
|
default_range: int = ...
|
||||||
default_role: int = ...
|
default_role: int = ...
|
||||||
default_type: int = ...
|
default_type: int = ...
|
||||||
default_user: int = ...
|
default_user: int = ...
|
||||||
|
|
||||||
class DefaultValue(PolicyEnum):
|
class DefaultValue(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
glblub: int = ...
|
glblub: int = ...
|
||||||
source: int = ...
|
source: int = ...
|
||||||
target: int = ...
|
target: int = ...
|
||||||
@ -486,12 +456,6 @@ class FSUseIterator(OcontextIterator):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class FSUseRuletype(PolicyEnum):
|
class FSUseRuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
fs_use_task: int = ...
|
fs_use_task: int = ...
|
||||||
fs_use_trans: int = ...
|
fs_use_trans: int = ...
|
||||||
fs_use_xattr: int = ...
|
fs_use_xattr: int = ...
|
||||||
@ -573,12 +537,6 @@ class GenfsconOcontextIterator(OcontextIterator):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class HandleUnknown(PolicyEnum):
|
class HandleUnknown(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
allow: int = ...
|
allow: int = ...
|
||||||
deny: int = ...
|
deny: int = ...
|
||||||
reject: int = ...
|
reject: int = ...
|
||||||
@ -867,12 +825,6 @@ class MLSRuleIterator(HashtabIterator):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class MLSRuletype(PolicyEnum):
|
class MLSRuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
range_transition: int = ...
|
range_transition: int = ...
|
||||||
|
|
||||||
class Netifcon(Ocontext):
|
class Netifcon(Ocontext):
|
||||||
@ -924,12 +876,6 @@ class Nodecon(Ocontext):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class NodeconIPVersion(PolicyEnum):
|
class NodeconIPVersion(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
ipv4: int = ...
|
ipv4: int = ...
|
||||||
ipv6: int = ...
|
ipv6: int = ...
|
||||||
|
|
||||||
@ -1047,12 +993,6 @@ class PolicyCapabilityIterator(EbitmapIterator):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class PolicyEnum(enum.Enum):
|
class PolicyEnum(enum.Enum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def lookup(self, value) -> Any: ...
|
def lookup(self, value) -> Any: ...
|
||||||
def __eq__(self, other) -> bool: ...
|
def __eq__(self, other) -> bool: ...
|
||||||
@ -1112,12 +1052,6 @@ class PolicySymbol(PolicyObject):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class PolicyTarget(PolicyEnum):
|
class PolicyTarget(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
selinux: int = ...
|
selinux: int = ...
|
||||||
xen: int = ...
|
xen: int = ...
|
||||||
|
|
||||||
@ -1147,12 +1081,6 @@ class PortconIterator(OcontextIterator):
|
|||||||
def __setstate__(self, state) -> Any: ...
|
def __setstate__(self, state) -> Any: ...
|
||||||
|
|
||||||
class PortconProtocol(PolicyEnum):
|
class PortconProtocol(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
dccp: int = ...
|
dccp: int = ...
|
||||||
sctp: int = ...
|
sctp: int = ...
|
||||||
tcp: int = ...
|
tcp: int = ...
|
||||||
@ -1173,12 +1101,6 @@ class PortconRange(Tuple[int, int]):
|
|||||||
def _make(self, *args, **kwargs) -> Any: ...
|
def _make(self, *args, **kwargs) -> Any: ...
|
||||||
|
|
||||||
class RBACRuletype(PolicyEnum):
|
class RBACRuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
allow: int = ...
|
allow: int = ...
|
||||||
role_transition: int = ...
|
role_transition: int = ...
|
||||||
|
|
||||||
@ -1460,12 +1382,6 @@ class TERuleIterator(PolicyIterator):
|
|||||||
class TERuleNoFilename(AttributeError, setools.exception.PolicyrepException): ...
|
class TERuleNoFilename(AttributeError, setools.exception.PolicyrepException): ...
|
||||||
|
|
||||||
class TERuletype(PolicyEnum):
|
class TERuletype(PolicyEnum):
|
||||||
__new__: Any = ...
|
|
||||||
_generate_next_value_: Any = ...
|
|
||||||
_member_map_: Any = ...
|
|
||||||
_member_names_: Any = ...
|
|
||||||
_member_type_: Any = ...
|
|
||||||
_value2member_map_: Any = ...
|
|
||||||
allow: int = ...
|
allow: int = ...
|
||||||
allowxperm: int = ...
|
allowxperm: int = ...
|
||||||
auditallow: int = ...
|
auditallow: int = ...
|
||||||
|
Loading…
Reference in New Issue
Block a user