From 8f9ecf5890e378d60950b8d027429e26cdd16de5 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Jan 29 2008 13:29:32 +0000 Subject: - Update to Upstream Merged fix for audit2why from Dan Walsh. --- diff --git a/.cvsignore b/.cvsignore index 3697fbc..9556650 100644 --- a/.cvsignore +++ b/.cvsignore @@ -140,3 +140,4 @@ libselinux-2.0.46.tgz libselinux-2.0.47.tgz libselinux-2.0.48.tgz libselinux-2.0.49.tgz +libselinux-2.0.50.tgz diff --git a/libselinux-rhat.patch b/libselinux-rhat.patch index 8c99b8f..96c0c89 100644 --- a/libselinux-rhat.patch +++ b/libselinux-rhat.patch @@ -10,26 +10,6 @@ diff --exclude-from=exclude -N -u -r nsalibselinux/include/selinux/av_permission #define KEY__VIEW 0x00000001UL #define KEY__READ 0x00000002UL #define KEY__WRITE 0x00000004UL -diff --exclude-from=exclude -N -u -r nsalibselinux/src/audit2why.c libselinux-2.0.49/src/audit2why.c ---- nsalibselinux/src/audit2why.c 2008-01-23 16:47:07.000000000 -0500 -+++ libselinux-2.0.49/src/audit2why.c 2008-01-25 10:58:28.000000000 -0500 -@@ -5,6 +5,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -200,7 +201,7 @@ - return 0; // trigger exception - } - } else { -- vers = security_policyvers(); -+ vers = sepol_policy_kern_vers_max(); - if (vers < 0) { - snprintf(errormsg, sizeof(errormsg), - "Could not get policy version: %s\n", diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.49/src/matchpathcon.c --- nsalibselinux/src/matchpathcon.c 2007-09-28 09:48:58.000000000 -0400 +++ libselinux-2.0.49/src/matchpathcon.c 2008-01-25 10:31:28.000000000 -0500 diff --git a/libselinux.spec b/libselinux.spec index 1921e0e..1a6e357 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -3,8 +3,8 @@ Summary: SELinux library and simple utilities Name: libselinux -Version: 2.0.49 -Release: 2%{?dist} +Version: 2.0.50 +Release: 1%{?dist} License: Public Domain Group: System Environment/Libraries Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz @@ -137,6 +137,10 @@ exit 0 %{python_sitearch}/selinux/* %changelog +* Tue Jan 29 2008 Dan Walsh - 2.0.50-1 +- Update to Upstream + * Merged fix for audit2why from Dan Walsh. + * Fri Jan 25 2008 Dan Walsh - 2.0.49-2 - Fix audit2why to grab latest policy versus the one selected by the kernel diff --git a/sources b/sources index aef5438..e9c75de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3095b464e36ad44f559b7540385972ed libselinux-2.0.49.tgz +feac4806b661d11b48d370d297ad0e15 libselinux-2.0.50.tgz