Home
last modified time | relevance | path

Searched refs:audit2why (Results 1 – 12 of 12) sorted by relevance

/external/selinux/policycoreutils/audit2allow/
DMakefile10 all: audit2why
12 audit2why: target
13 ln -sf audit2allow audit2why
21 (cd $(BINDIR); ln -sf audit2allow audit2why)
25 install -m 644 audit2why.1 $(MANDIR)/man1/
Daudit2why32 import selinux.audit2why as audit2why namespace
244 if rc == audit2why.ALLOW:
249 if rc == audit2why.DONTAUDIT:
254 if rc == audit2why.BOOLEAN:
266 if rc == audit2why.TERULE:
271 if rc == audit2why.CONSTRAINT:
277 if rc == audit2why.RBAC:
282 audit2why.finish()
287 if self.__options.audit2why:
341 audit2why.init(self.__options.policy)
[all …]
Daudit2allow32 import selinux.audit2why as audit2why namespace
244 if rc == audit2why.ALLOW:
249 if rc == audit2why.DONTAUDIT:
254 if rc == audit2why.BOOLEAN:
266 if rc == audit2why.TERULE:
271 if rc == audit2why.CONSTRAINT:
278 if rc == audit2why.RBAC:
283 audit2why.finish()
288 if self.__options.audit2why:
342 audit2why.init(self.__options.policy)
[all …]
/external/selinux/sepolgen/src/sepolgen/
Daudit.py130 import selinux.audit2why as audit2why namespace
174 self.type = audit2why.TERULE
247 … self.type, self.data = audit2why.analyze(scontext, tcontext, self.tclass, self.accesses);
248 if self.type == audit2why.NOPOLICY:
249 self.type = audit2why.TERULE
250 if self.type == audit2why.BADTCON:
252 if self.type == audit2why.BADSCON:
254 if self.type == audit2why.BADSCON:
256 if self.type == audit2why.BADPERM:
258 if self.type == audit2why.BADCOMPUTE:
[all …]
Dpolicygen.py32 import selinux.audit2why as audit2why namespace
163 if av.type == audit2why.ALLOW:
165 if av.type == audit2why.DONTAUDIT:
168 if av.type == audit2why.BOOLEAN:
174 if av.type == audit2why.CONSTRAINT:
182 if ( av.type == audit2why.TERULE and
Daccess.py35 from selinux import audit2why
89 self.type = audit2why.TERULE
259 …def add(self, src_type, tgt_type, obj_class, perms, audit_msg=None, avc_type=audit2why.TERULE, dat…
/external/selinux/libselinux/src/
DMakefile39 AUDIT2WHYLOBJ=$(PYPREFIX)audit2why.lo
40 AUDIT2WHYSO=$(PYPREFIX)audit2why.so
50 SRCS= $(filter-out $(UNUSED_SRCS) $(GENERATED) audit2why.c, $(wildcard *.c))
123 $(AUDIT2WHYLOBJ): audit2why.c
156 install -m 755 $(AUDIT2WHYSO) $(PYLIBDIR)/site-packages/selinux/audit2why.so
/external/selinux/
DCleanSpec.mk5 $(call add-clean-step, rm -rf $(OUT_DIR)/host/linux-x86/bin/audit2why)
/external/selinux/prebuilts/bin/
Daudit2why7 exec python $ANDROID_BUILD_TOP/external/selinux/policycoreutils/audit2allow/audit2why "$@"
/external/selinux/libselinux/
DChangeLog11 * Fix audit2why error handling if SELinux is disabled, from Stephen Smalley.
68 * audit2why: make sure path is nul terminated
74 * audit2why: Fix segfault if finish() called twice
75 * audit2why: do not leak on multiple init() calls
77 * audit2why: Cleanup audit2why analysys function
133 * audit2why: silence -Wmissing-prototypes warning
196 * audit2why: close fd on enomem
214 * audit2why: work around python bug not defining
220 * fix python audit2why binding error
380 * Fix audit2why shadowed variables from Stephen Smalley.
[all …]
/external/selinux/policycoreutils/
DChangeLog79 * Extend audit2why to report additional constraint information.
111 * Coalesce audit2why and audit2allow from Dan Walsh.
114 * Change audit2why to use selinux_current_policy_path from Dan Walsh.
246 * audit2allow: use audit2why internally
504 * Add exception to audit2why call in audit2allow from Dan Walsh.
563 * Merged audit2why fix and semanage boolean --on/--off/-1/-0 support from Dan Walsh.
577 * Merged replacement for audit2why from Dan Walsh.
656 * Merged move of audit2why to /usr/bin from Dan Walsh.
1146 Fixed audit2why to call policydb_init prior to policydb_read (still
1153 Updated audit2why for relocated policydb internal headers,
[all …]
/external/selinux/libsepol/
DChangeLog756 audit2why.
763 * Added sepol_compute_av_reason() for audit2why.