Commit Graph

14 Commits

Author SHA1 Message Date
Tuomas Tynkkynen
ba42683e9a libselinux: Fix ARM build failure
Avoid this warning (which is in turn an error via -Werror):
````
avc_internal.c: In function 'avc_netlink_receive':
avc_internal.c:105:25: error: cast increases required alignment of target type [-Werror=cast-align]
 struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
                        ^
````

The code allocates abuffer with "__attribute__ ((aligned))",
then passes it via a 'char*' parameter, which is then finally cast,
causing the warning. So the code is ok but compiler is not smart
enough to see it.

It seems that -Wcast-align is a no-op on x86, so this shows up on ARM
only.
2016-10-18 23:54:29 +03:00
Mikael Brockman
1f50e2412f libselinux: fix Python binding
Applies unreleased patch from upstream.
2016-08-19 19:06:25 +03:00
William A. Kennington III
c53a13fe0e policycoreutils: 2.3 -> 2.4 2015-07-31 17:11:11 -07:00
William A. Kennington III
f6e554f288 selinux: Use fstack-protector=all 2015-07-31 17:11:11 -07:00
William A. Kennington III
b18a354c88 libselinux: 2.3 -> 2.4 2015-07-31 17:11:10 -07:00
Vladimír Čunát
a4e1c7df08 selinux: update to 2014-05-06
Sadly, policycoreutils still fails on i686-linux.
2014-08-14 17:59:00 +02:00
Peter Simons
2dc6bcbc40 libselinux: update from 2.2.1 to 2.2.2 2014-02-24 22:04:40 +01:00
William A. Kennington III
96dc58db9c Upgrade selinux from 20100904 -> 20131030 2013-11-29 02:08:53 -06:00
aszlig
b574d0146f
libselinux: Add option to enable Python support.
The reason this is optional is because we might want to use it for bootstrapping
in some constellations. And we really don't want whole lot of dependencies in
those situations.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-24 10:33:17 +02:00
Vladimír Čunát
de70e3739d SELinux fixes and updates to 2012-09-24 2013-02-24 13:25:53 +01:00
Evgeny Egorochkin
deb3dd805f libselinux: version bump
svn path=/nixpkgs/trunk/; revision=26537
2011-03-27 04:45:38 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
1730acf983 add libraries for SELinux. Not that we're gonna use it...
svn path=/nixpkgs/trunk/; revision=6276
2006-08-27 18:05:18 +00:00