mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-21 10:37:11 +00:00
policyrep: Expose names all for policy symbols.
This commit is contained in:
parent
1448413c5c
commit
bbb41965fd
@ -31,7 +31,7 @@ cdef class Boolean(PolicySymbol):
|
|||||||
|
|
||||||
cdef:
|
cdef:
|
||||||
uintptr_t key
|
uintptr_t key
|
||||||
str name
|
readonly str name
|
||||||
readonly object state
|
readonly object state
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -31,7 +31,7 @@ cdef class Common(PolicySymbol):
|
|||||||
|
|
||||||
cdef:
|
cdef:
|
||||||
uintptr_t key
|
uintptr_t key
|
||||||
str name
|
readonly str name
|
||||||
readonly dict _perm_table
|
readonly dict _perm_table
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@ -96,7 +96,7 @@ cdef class ObjClass(PolicySymbol):
|
|||||||
cdef:
|
cdef:
|
||||||
sepol.class_datum_t *handle
|
sepol.class_datum_t *handle
|
||||||
uintptr_t key
|
uintptr_t key
|
||||||
str name
|
readonly str name
|
||||||
Common _common
|
Common _common
|
||||||
readonly dict _perm_table
|
readonly dict _perm_table
|
||||||
list _defaults
|
list _defaults
|
||||||
|
@ -25,7 +25,7 @@ cdef class Role(PolicySymbol):
|
|||||||
|
|
||||||
cdef:
|
cdef:
|
||||||
uintptr_t key
|
uintptr_t key
|
||||||
str name
|
readonly str name
|
||||||
frozenset _types
|
frozenset _types
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user