- Update to Upstream

Merged fix for audit2why from Dan Walsh.
This commit is contained in:
Daniel J Walsh 2008-01-29 13:29:32 +00:00
parent 213643620c
commit 8f9ecf5890
4 changed files with 8 additions and 23 deletions

View File

@ -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

View File

@ -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 <getopt.h>
#include <limits.h>
#include <sepol/sepol.h>
+#include <sepol/policydb.h>
#include <sepol/policydb/services.h>
#include <Python.h>
#include <selinux/selinux.h>
@@ -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

View File

@ -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 <dwalsh@redhat.com> - 2.0.50-1
- Update to Upstream
* Merged fix for audit2why from Dan Walsh.
* Fri Jan 25 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.49-2
- Fix audit2why to grab latest policy versus the one selected by the kernel

View File

@ -1 +1 @@
3095b464e36ad44f559b7540385972ed libselinux-2.0.49.tgz
feac4806b661d11b48d370d297ad0e15 libselinux-2.0.50.tgz