]> git.pld-linux.org Git - packages/findutils.git/commitdiff
- fixed is_selinux_enabled check for current libselinux
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 25 Feb 2004 14:55:36 +0000 (14:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    findutils-selinux.patch -> 1.2

findutils-selinux.patch

index 98fedf2160013f171ff7b46ecd56ad702e5c7d03..23a05f33541e00acc6a761a4da0eb6cb1066400f 100644 (file)
@@ -84,7 +84,7 @@
  #else /* !DEBUG_STAT */
    xstat = lstat;
 +#ifdef WITH_SELINUX
-+  int is_selinux_enabled_flag = is_selinux_enabled();
++  int is_selinux_enabled_flag = (is_selinux_enabled() > 0);
 +  x_getfilecon = lgetfilecon;
 +#endif /* WITH_SELINUX */
  #endif /* !DEBUG_STAT */
This page took 0.053921 seconds and 4 git commands to generate.