Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 024311f089823354f1214fb2373ebc82 > files > 18

setools-3.3.8-15.mga6.src.rpm

--- a/secmds/replcon.cc
+++ b/secmds/replcon.cc
@@ -60,7 +60,7 @@
 	{NULL, 0, NULL, 0}
 };
 
-extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak));
+extern int lsetfilecon_raw(const char *, const char *) __attribute__ ((weak));
 
 /**
  * As that setools must work with older libselinux versions that may
@@ -68,7 +68,7 @@
  * does indeed have the new functions then use them; otherwise
  * fallback to the originals.
  */
-static int replcon_lsetfilecon(const char *path, security_context_t context)
+static int replcon_lsetfilecon(const char *path, const char *context)
 {
 	if (lsetfilecon_raw != NULL)
 	{