OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sepolgen
(Results
1 - 22
of
22
) sorted by null
/external/selinux/python/sepolgen/src/
Makefile
4
$(MAKE) -C
sepolgen
$@
10
$(MAKE) -C
sepolgen
$@
/external/selinux/python/sepolgen/tests/
test_refparser.py
21
import
sepolgen
.refparser as refparser
22
import
sepolgen
.refpolicy as refpolicy
test_policygen.py
21
import
sepolgen
.policygen as policygen
test_objectmodel.py
21
import
sepolgen
.objectmodel
25
info =
sepolgen
.objectmodel.PermMappings()
32
self.assertEqual(pm.dir,
sepolgen
.objectmodel.FLOW_WRITE)
39
self.assertEqual(pm.dir,
sepolgen
.objectmodel.FLOW_BOTH)
44
self.assertEqual(pm.dir,
sepolgen
.objectmodel.FLOW_BOTH)
test_audit.py
21
import
sepolgen
.audit
22
import
sepolgen
.refpolicy
61
avc =
sepolgen
.audit.AVCMessage(audit1)
62
sc =
sepolgen
.refpolicy.SecurityContext()
69
avc =
sepolgen
.audit.AVCMessage(granted1)
90
avc =
sepolgen
.audit.AVCMessage(audit1)
114
avc =
sepolgen
.audit.AVCMessage(audit2)
138
path =
sepolgen
.audit.PathMessage(path1)
150
a =
sepolgen
.audit.AuditParser()
159
a =
sepolgen
.audit.AuditParser(
[
all
...]
test_matching.py
21
import
sepolgen
.matching as matching
22
import
sepolgen
.refparser as refparser
23
import
sepolgen
.interfaces as interfaces
24
import
sepolgen
.access as access
test_module.py
21
import
sepolgen
.module as module
test_interfaces.py
21
import
sepolgen
.access as access
22
import
sepolgen
.interfaces as interfaces
23
import
sepolgen
.policygen as policygen
24
import
sepolgen
.refparser as refparser
25
import
sepolgen
.refpolicy as refpolicy
test_access.py
21
import
sepolgen
.refpolicy as refpolicy
22
import
sepolgen
.refparser as refparser
23
import
sepolgen
.policygen as policygen
24
import
sepolgen
.access as access
test_refpolicy.py
21
import
sepolgen
.refpolicy as refpolicy
/external/selinux/python/
Makefile
1
SUBDIRS = sepolicy audit2allow semanage
sepolgen
chcat
/external/selinux/python/sepolgen/src/share/
Makefile
1
SHAREDIR ?= $(DESTDIR)/var/lib/
sepolgen
/external/selinux/python/audit2allow/
Makefile
14
all: audit2why
sepolgen
-ifgen-attr-helper
16
sepolgen
-ifgen-attr-helper:
sepolgen
-ifgen-attr-helper.o $(LIBSEPOLA)
28
install -m 755
sepolgen
-ifgen-attr-helper $(BINDIR)
29
install -m 755
sepolgen
-ifgen $(BINDIR)
35
rm -f *~ *.o
sepolgen
-ifgen-attr-helper
sepolgen-ifgen
24
# to the default location (obtained from
sepolgen
.defaults), but
26
#
sepolgen
-ifgen [headers] [output-filename]
36
import
sepolgen
.refparser as refparser
37
import
sepolgen
.defaults as defaults
38
import
sepolgen
.interfaces as interfaces
42
ATTR_HELPER = "/usr/bin/
sepolgen
-ifgen-attr-helper"
audit2allow
25
import
sepolgen
.audit as audit
26
import
sepolgen
.policygen as policygen
27
import
sepolgen
.interfaces as interfaces
28
import
sepolgen
.output as output
29
import
sepolgen
.objectmodel as objectmodel
30
import
sepolgen
.defaults as defaults
31
import
sepolgen
.module as module
32
from
sepolgen
.sepolgeni18n import _
audit2why
25
import
sepolgen
.audit as audit
26
import
sepolgen
.policygen as policygen
27
import
sepolgen
.interfaces as interfaces
28
import
sepolgen
.output as output
29
import
sepolgen
.objectmodel as objectmodel
30
import
sepolgen
.defaults as defaults
31
import
sepolgen
.module as module
32
from
sepolgen
.sepolgeni18n import _
/external/selinux/python/sepolgen/src/sepolgen/
Makefile
3
PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/
sepolgen
/external/selinux/python/sepolicy/
Makefile
26
sepolgen
:
27
ln -sf sepolicy
sepolgen
36
(cd $(BINDIR); ln -sf sepolicy
sepolgen
)
sepolicy-bash-completion.sh
40
awk '/InterfaceVector.*_admin /{ print $2 }' /var/lib/
sepolgen
/interface_info | awk -F '_admin' '{ print $1 }'
43
awk '/InterfaceVector.*_role /{ print $2 }' /var/lib/
sepolgen
/interface_info | awk -F '_role' '{ print $1 }'
/external/selinux/python/sepolicy/sepolicy/
__init__.py
11
import
sepolgen
.defaults as defaults
12
import
sepolgen
.interfaces as interfaces
831
raise ValueError(_("You must regenerate interface info by running /usr/bin/
sepolgen
-ifgen"))
832
print(getstatusoutput("/usr/bin/
sepolgen
-ifgen")[1])
[
all
...]
generate.py
49
import
sepolgen
.interfaces as interfaces
50
import
sepolgen
.defaults as defaults
[
all
...]
/external/selinux/python/semanage/
seobject.py
497
import
sepolgen
.module as module
499
raise ValueError(_("The
sepolgen
python module is required to setup permissive domains.\nIn some distributions it is included in the policycoreutils-devel package.\n# yum install policycoreutils-devel\nOr similar for your distro."))
[
all
...]
Completed in 261 milliseconds