- Upgrade to latest from NSA

Added selinux_getpolicytype() function.
Modified setrans code to skip processing if !mls_enabled.
Set errno in the !selinux_mnt case.
Allocate large buffers from the heap, not on stack. Affects
    is_context_customizable, selinux_init_load_policy, and
    selinux_getenforcemode.
This commit is contained in:
Daniel J Walsh 2006-06-16 19:16:03 +00:00
parent c92317552d
commit e60c844fba
3 changed files with 14 additions and 5 deletions

View File

@ -86,3 +86,4 @@ libselinux-1.30.8.tgz
libselinux-1.30.10.tgz libselinux-1.30.10.tgz
libselinux-1.30.11.tgz libselinux-1.30.11.tgz
libselinux-1.30.12.tgz libselinux-1.30.12.tgz
libselinux-1.30.15.tgz

View File

@ -1,12 +1,11 @@
%define libsepolver 1.12.14-1 %define libsepolver 1.12.14-1
Summary: SELinux library and simple utilities Summary: SELinux library and simple utilities
Name: libselinux Name: libselinux
Version: 1.30.12 Version: 1.30.15
Release: 2 Release: 1
License: Public domain (uncopyrighted) License: Public domain (uncopyrighted)
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
Patch: libselinux-rhat.patch
BuildRequires: libsepol-devel >= %{libsepolver} swig BuildRequires: libsepol-devel >= %{libsepolver} swig
Requires: libsepol >= %{libsepolver} setransd Requires: libsepol >= %{libsepolver} setransd
@ -48,7 +47,6 @@ needed for developing SELinux applications.
%prep %prep
%setup -q %setup -q
%patch -p1 -b .rhat
%build %build
make clean make clean
@ -117,6 +115,16 @@ exit 0
%{_libdir}/python*/site-packages/selinux.py* %{_libdir}/python*/site-packages/selinux.py*
%changelog %changelog
* Fri Jun 16 2006 Dan Walsh <dwalsh@redhat.com> 1.30.15-1
- Upgrade to latest from NSA
* Merged patch from Dan Walsh with:
* Added selinux_getpolicytype() function.
* Modified setrans code to skip processing if !mls_enabled.
* Set errno in the !selinux_mnt case.
* Allocate large buffers from the heap, not on stack.
Affects is_context_customizable, selinux_init_load_policy,
and selinux_getenforcemode.
* Thu Jun 8 2006 Dan Walsh <dwalsh@redhat.com> 1.30.12-2 * Thu Jun 8 2006 Dan Walsh <dwalsh@redhat.com> 1.30.12-2
- Add selinux_getpolicytype() - Add selinux_getpolicytype()

View File

@ -1 +1 @@
3d3f90d574b9a3dde9d81ad3c13d7a6a libselinux-1.30.12.tgz 029134e11d4d7de697888b2faa0218a1 libselinux-1.30.15.tgz