]> git.pld-linux.org Git - packages/setools.git/blob - setools-selinux.patch
- added x32 patch (add libx32 to search libdirs)
[packages/setools.git] / setools-selinux.patch
1 --- setools-3.3.8/secmds/replcon.cc.orig        2013-01-16 17:36:25.000000000 +0100
2 +++ setools-3.3.8/secmds/replcon.cc     2015-10-26 18:27:42.035133853 +0100
3 @@ -60,8 +60,6 @@
4         {NULL, 0, NULL, 0}
5  };
6  
7 -extern int lsetfilecon_raw(const char *, security_context_t) __attribute__ ((weak));
8 -
9  /**
10   * As that setools must work with older libselinux versions that may
11   * not have the _raw() functions, declare them as weak.  If libselinux
12 @@ -70,14 +68,7 @@
13   */
14  static int replcon_lsetfilecon(const char *path, security_context_t context)
15  {
16 -       if (lsetfilecon_raw != NULL)
17 -       {
18                 return lsetfilecon_raw(path, context);
19 -       }
20 -       else
21 -       {
22 -               return lsetfilecon(path, context);
23 -       }
24  }
25  
26  struct replcon_info
This page took 0.042801 seconds and 3 git commands to generate.