13 lines
539 B
Diff
13 lines
539 B
Diff
diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-1.27.19/src/matchpathcon.c
|
|
--- nsalibselinux/src/matchpathcon.c 2005-10-06 09:20:38.000000000 -0400
|
|
+++ libselinux-1.27.19/src/matchpathcon.c 2005-11-08 14:04:09.000000000 -0500
|
|
@@ -605,7 +605,7 @@
|
|
unsigned int lineno, pass, i, j, maxnspec;
|
|
spec_t *spec_copy=NULL;
|
|
int status=-1;
|
|
- int mls_enabled=is_selinux_mls_enabled();
|
|
+ int mls_enabled=is_selinux_mls_enabled() && ( is_selinux_enabled() > 0 );
|
|
|
|
/* Open the specification file. */
|
|
if (!path)
|