Skip to content

Commit 0ac7fb3

Browse files
authored
Merge pull request #1385 from evgenyz/selinux-context
OVAL/selinuxsecuritycontext: Remove the is_selinux_enabled check.
2 parents c70bc47 + 1629dbc commit 0ac7fb3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/OVAL/probes/unix/linux/selinuxsecuritycontext_probe.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,6 @@ int selinuxsecuritycontext_probe_main(probe_ctx *ctx, void *arg)
330330
OVAL_FTS *ofts;
331331
OVAL_FTSENT *ofts_ent;
332332

333-
if ( ! is_selinux_enabled()) {
334-
probe_cobj_set_flag(probe_ctx_getresult(ctx), SYSCHAR_FLAG_NOT_APPLICABLE);
335-
return 0;
336-
}
337-
338333
probe_in = probe_ctx_getobject(ctx);
339334

340335
behaviors = probe_obj_getent (probe_in, "behaviors", 1);

0 commit comments

Comments
 (0)