Blame SPECS/libsepol.spec

c0276d
Summary: SELinux binary policy manipulation library 
c0276d
Name: libsepol
979814
Version: 2.5
ef525b
Release: 8.1%{?dist}
c0276d
License: LGPLv2+
c0276d
Group: System Environment/Libraries
979814
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/libsepol-2.5.tar.gz
ef525b
# HEAD f4aca6b867715e9f93537d116e6ff2268c3f3394
979814
Patch1: libsepol-rhel.patch
979814
URL: https://github.com/SELinuxProject/selinux/wiki
979814
BuildRequires: flex
c0276d
c0276d
%description
c0276d
Security-enhanced Linux is a feature of the Linux® kernel and a number
c0276d
of utilities with enhanced security functionality designed to add
c0276d
mandatory access controls to Linux.  The Security-enhanced Linux
c0276d
kernel contains new architectural components originally developed to
c0276d
improve the security of the Flask operating system. These
c0276d
architectural components provide general support for the enforcement
c0276d
of many kinds of mandatory access control policies, including those
c0276d
based on the concepts of Type Enforcement®, Role-based Access
c0276d
Control, and Multi-level Security.
c0276d
c0276d
libsepol provides an API for the manipulation of SELinux binary policies.
c0276d
It is used by checkpolicy (the policy compiler) and similar tools, as well
c0276d
as by programs like load_policy that need to perform specific transformations
c0276d
on binary policies such as customizing policy boolean settings.
c0276d
c0276d
%package devel
c0276d
Summary: Header files and libraries used to build policy manipulation tools
c0276d
Group: Development/Libraries
979814
Requires: %{name}%{?_isa} = %{version}-%{release}
c0276d
c0276d
%description devel
c0276d
The libsepol-devel package contains the libraries and header files
c0276d
needed for developing applications that manipulate binary policies. 
c0276d
c0276d
%package static
c0276d
Summary: static libraries used to build policy manipulation tools
c0276d
Group: Development/Libraries
979814
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
c0276d
c0276d
%description static
c0276d
The libsepol-static package contains the static libraries and header files
c0276d
needed for developing applications that manipulate binary policies. 
c0276d
c0276d
%prep
979814
%setup -q -n libsepol-2.5
979814
%patch1 -p1 -b .rhel
c0276d
c0276d
# sparc64 is an -fPIC arch, so we need to fix it here
c0276d
%ifarch sparc64
c0276d
sed -i 's/fpic/fPIC/g' src/Makefile
c0276d
%endif
c0276d
c0276d
%build
c0276d
make clean
979814
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
c0276d
c0276d
%install
c0276d
rm -rf ${RPM_BUILD_ROOT}
c0276d
mkdir -p ${RPM_BUILD_ROOT}/%{_lib} 
c0276d
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir} 
c0276d
mkdir -p ${RPM_BUILD_ROOT}%{_includedir} 
c0276d
mkdir -p ${RPM_BUILD_ROOT}%{_bindir} 
c0276d
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
c0276d
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
979814
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_libdir}" install
c0276d
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolbools
c0276d
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolusers
c0276d
rm -f ${RPM_BUILD_ROOT}%{_bindir}/chkcon
c0276d
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man8
c0276d
c0276d
%clean
c0276d
rm -rf ${RPM_BUILD_ROOT}
c0276d
c0276d
%post
c0276d
/sbin/ldconfig
c0276d
[ -x /sbin/telinit ] && [ -p /dev/initctl ]  && /sbin/telinit U
c0276d
exit 0
c0276d
c0276d
%postun -p /sbin/ldconfig
c0276d
c0276d
%files static
c0276d
%defattr(-,root,root)
c0276d
%{_libdir}/libsepol.a
c0276d
c0276d
%files devel
c0276d
%defattr(-,root,root)
c0276d
%{_libdir}/libsepol.so
c0276d
%{_libdir}/pkgconfig/libsepol.pc
c0276d
%{_includedir}/sepol/*.h
c0276d
%{_mandir}/man3/*.3.gz
c0276d
%dir %{_includedir}/sepol
c0276d
%dir %{_includedir}/sepol/policydb
c0276d
%{_includedir}/sepol/policydb/*.h
979814
%dir %{_includedir}/sepol/cil
979814
%{_includedir}/sepol/cil/*.h
c0276d
c0276d
%files
c0276d
%defattr(-,root,root)
979814
%{!?_licensedir:%global license %%doc}
979814
%license COPYING
979814
%{_libdir}/libsepol.so.1
c0276d
c0276d
%changelog
ef525b
* Thu Oct 12 2017 Vit Mojzis <vmojzis@redhat.com> - 2.5-8.1
ef525b
- Define nnp_nosuid_transition policy capability (rhbz#1480519)
ef525b
- use IN6ADDR_ANY_INIT to initialize IPv6 addresses
ef525b
- Allow runtime labeling of ibendports (rhbz#1464489)
ef525b
- Allow runtime labeling of Infiniband Pkeys (rhbz#1464489)
ef525b
- Add IB end port handling to CIL (rhbz#1464489)
ef525b
- Add ibendport ocontext handling (rhbz#1464489)
ef525b
- Add support for ibendportcon labels (rhbz#1464489)
ef525b
- Add Infiniband Pkey handling to CIL (rhbz#1464489)
ef525b
- Add ibpkey ocontext handling (rhbz#1464489)
ef525b
- Add support for ibpkeycon labels (rhbz#1464489)
ef525b
- Remove unused attribute on a used argument from avrule_read() (rhbz#1464489)
ef525b
- Add binary module support for xperms
ef525b
- Add support for converting extended permissions to CIL 
ef525b
ef525b
* Wed Sep 20 2017 Vit Mojzis <vmojzis@redhat.com> - 2.5-7
ef525b
- Define cgroup_seclabel policy capability (rhbz#1493517)
ef525b
- Fix unitialized jmp and invalid dereference
ef525b
979814
* Wed Aug 10 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-6
979814
- Fix memory leak in expand.c
979814
- Fix invalid read when policy file is corrupt
979814
- Fix possible use of uninitialized variables
979814
979814
* Tue Aug 02 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-5
979814
- Warn instead of fail if permission is not resolved
979814
- Ignore object_r when adding userrole mappings to policydb
979814
979814
* Tue Jul 12 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-4
979814
- Add missing return to sepol_node_query()
979814
979814
* Mon Jun 27 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-3
979814
- Correctly detect unknown classes in sepol_string_to_security_class
979814
- Sort object files for deterministic linking order
979814
- Fix neverallowxperm checking on attributes
979814
- Remove libsepol.map when cleaning
979814
- Add high-level language line marking support to CIL
979814
- Change logic of bounds checking to match change in kernel
979814
- Fix multiple spelling errors
979814
- Only apply bounds checking to source types in rules
979814
- Fix CIL and not add an attribute as a type in the attr_type_map
979814
- Build policy on systems not supporting DCCP protocol
979814
- Fix extended permissions neverallow checking
979814
- Fix CIL neverallow and bounds checking
979814
- Android.mk: Add -D_GNU_SOURCE to common_cflags
979814
979814
* Mon Apr 11 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-2.1
979814
- Fix bug in CIL when resetting classes
979814
- Add support for portcon dccp protocol
979814
979814
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
979814
- Update to upstream release 2016-02-23
979814
ddf310
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.1.9-3
ddf310
- Mass rebuild 2014-01-24
ddf310
ddf310
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1.9-2
ddf310
- Mass rebuild 2013-12-27
ddf310
c0276d
* Thu Feb 7 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.9-1
c0276d
- Update to upstream 
c0276d
	* filename_trans: use some better sorting to compare and merge
c0276d
	* coverity fixes
c0276d
	* implement default type policy syntax
c0276d
	* Fix memory leak issues found by Klocwork
c0276d
- Add CONTRAINT_NAMES to the kernel 
c0276d
c0276d
* Sun Jan 27 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.8-8
c0276d
- Update to latest patches from eparis/Upstream
c0276d
c0276d
* Fri Jan 25 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.8-7
c0276d
- Update to latest patches from eparis/Upstream
c0276d
c0276d
* Tue Jan 8 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.8-6
c0276d
- Fix libsepol.stack messages in audit2allow/audit2why
c0276d
c0276d
* Fri Jan 4 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.8-5
c0276d
- Update to latest patches from eparis/Upstream
c0276d
c0276d
* Tue Nov 27 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-4
c0276d
- Update Richard Haines patch to show constraint information
c0276d
c0276d
* Mon Nov 19 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-3
c0276d
- Add sepol_compute_av_reason_buffer patch from Richard Haines
c0276d
c0276d
* Wed Sep 19 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-2
c0276d
- Revert patch that was attempting to expand filetrans attributes, but is breaking filetrans rules
c0276d
c0276d
* Thu Sep 13 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.8-1
c0276d
- Update to upstream 
c0276d
	* fix neverallow checking on attributes
c0276d
	* Move context_copy() after switch block in ocontext_copy_*().
c0276d
	* check for missing initial SID labeling statement.
c0276d
	* Add always_check_network policy capability
c0276d
	* role_fix_callback skips out-of-scope roles during expansion.
c0276d
c0276d
* Mon Jul 30 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.7-4
c0276d
- Try new patches
c0276d
c0276d
* Tue Jul 24 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.7-3
c0276d
- Revert patches
c0276d
c0276d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-2
c0276d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c0276d
c0276d
* Wed Jul 4 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.7-1
c0276d
- Update to upstream 
c0276d
	* reserve policycapability for redhat testing of ptrace child
c0276d
	* cosmetic changes to make the source easier to read
c0276d
	* prepend instead of append to filename_trans list
c0276d
	* Android/MacOS X build support
c0276d
	* allocate enough space to hold filename in trans rules
c0276d
c0276d
* Mon Apr 23 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.5-3
c0276d
- Fix off by one error that is causing file_name transition rules to be expanded- incorrectly on i686 machines
c0276d
c0276d
* Tue Apr 17 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.5-2
c0276d
- Add support for ptrace_child
c0276d
c0276d
* Thu Mar 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.5-1
c0276d
- Update to upstream 
c0276d
  * checkpolicy: implement new default labeling behaviors
c0276d
c0276d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-6
c0276d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c0276d
c0276d
* Wed Dec 21 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-5
c0276d
- Update to match eparis pool
c0276d
c0276d
* Thu Dec 15 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-4
c0276d
- Additional fix for default transitioning labeling for semodule
c0276d
c0276d
* Thu Dec 15 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-3
c0276d
- Add Eparis patch for handling of default transition labeling
c0276d
c0276d
* Mon Dec 5 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-2
c0276d
- Allow policy to specify the source of target for generating the default user,role 
c0276d
- or mls label for a new target.
c0276d
c0276d
* Fri Nov 4 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.4-1
c0276d
- Update to upstream 
c0276d
	* regenerate .pc on VERSION change
c0276d
	* Move ebitmap_* functions from mcstrans to libsepol
c0276d
	* expand: do filename_trans type comparison on mapped representation
c0276d
c0276d
* Mon Oct 31 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.3-2
c0276d
-The filename_trans code had a bug where duplicate detection was being
c0276d
done between the unmapped type value of a new rule and the type value of
c0276d
rules already in policy.  This meant that duplicates were not being
c0276d
silently dropped and were instead outputting a message that there was a
c0276d
problem.  It made things hard because the message WAS using the mapped
c0276d
type to convert to the string representation, so it didn't look like a
c0276d
dup!
c0276d
c0276d
* Mon Sep 19 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.3-1
c0276d
-Update to upstream
c0276d
	* Skip writing role attributes for policy.X and
c0276d
	* Indicate when boolean is indeed a tunable.
c0276d
	* Separate tunable from boolean during compile.
c0276d
	* Write and read TUNABLE flags in related
c0276d
	* Copy and check the cond_bool_datum_t.flags during link.
c0276d
	* Permanently discard disabled branches of tunables in
c0276d
	* Skip tunable identifier and cond_node_t in expansion.
c0276d
	* Create a new preserve_tunables flag
c0276d
	* Preserve tunables when required by semodule program.
c0276d
	* setools expects expand_module_avrules to be an exported
c0276d
	* tree: default make target to all not
c0276d
c0276d
* Thu Sep 15 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.2-3
c0276d
- Add patch to handle preserving tunables
c0276d
c0276d
* Thu Sep 1 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.2-2
c0276d
- export expand_module_avrules 
c0276d
c0276d
* Thu Aug 18 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.2-0
c0276d
- Update to upstream 
c0276d
	* Only call role_fix_callback for base.p_roles during expansion.
c0276d
	* use mapped role number instead of module role number
c0276d
c0276d
* Mon Aug 1 2011 Dan Walsh <dwalsh@redhat.com> 2.1.1-1
c0276d
- Update to upstream 
c0276d
	* Minor fix to reading policy with filename transition rules
c0276d
c0276d
* Wed Jul 27 2011 Dan Walsh <dwalsh@redhat.com> 2.1.0-1
c0276d
- Update to upstream 
c0276d
	* Release, minor version bump
c0276d
c0276d
* Tue May 3 2011 Dan Walsh <dwalsh@redhat.com> 2.0.45-1
c0276d
- Update to upstream 
c0276d
  * Warn if filename_trans rules are dropped by Steve Lawrence.
c0276d
c0276d
* Thu Apr 21 2011 Dan Walsh <dwalsh@redhat.com> 2.0.44-2
c0276d
- Fixes for new role_transition class field by Eric Paris.
c0276d
c0276d
* Thu Apr 14 2011 Dan Walsh <dwalsh@redhat.com> 2.0.44-1
c0276d
-Update to upstream
c0276d
	* Fixes for new role_transition class field by Eric Paris.
c0276d
	* Add libsepol support for filename_trans rules by Eric Paris.
c0276d
c0276d
* Tue Apr 12 2011 Dan Walsh <dwalsh@redhat.com> 2.0.43-3
c0276d
- re-add Erics patch for filename transitions
c0276d
	
c0276d
* Tue Apr 12 2011 Dan Walsh <dwalsh@redhat.com> 2.0.43-1
c0276d
-Update to upstream
c0276d
	* Add new class field in role_transition by Harry Ciao.
c0276d
c0276d
* Tue Mar 29 2011 Dan Walsh <dwalsh@redhat.com> 2.0.42-3
c0276d
- Apply Eparis Patch
c0276d
  This patch add libsepol support for filename_trans rules.  These rules
c0276d
allow on to make labeling decisions for new objects based partially on
c0276d
the last path component.  They are stored in a list.  If we find that
c0276d
the number of rules grows to an significant size I will likely choose to
c0276d
store these in a hash, both in libsepol and in the kernel.  But as long
c0276d
as the number of such rules stays small, this should be good.
c0276d
c0276d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.42-2
c0276d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c0276d
c0276d
* Tue Dec 21 2010 Dan Walsh <dwalsh@redhat.com> 2.0.42-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix compliation under GCC 4.6 by Justin Mattock
c0276d
c0276d
* Thu Feb 18 2010 Dan Walsh <dwalsh@redhat.com> 2.0.41-3
c0276d
- Fix libsepol.pc file
c0276d
c0276d
* Thu Jan 28 2010 Dan Walsh <dwalsh@redhat.com> 2.0.41-2
c0276d
- Resolve specfile problems
c0276d
Resolves: #555835
c0276d
c0276d
* Wed Nov 18 2009 Dan Walsh <dwalsh@redhat.com> 2.0.41-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed typo in error message from Manoj Srivastava.
c0276d
c0276d
* Mon Nov 2 2009 Dan Walsh <dwalsh@redhat.com> 2.0.40-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Add pkgconfig file from Eamon Walsh.
c0276d
c0276d
* Wed Oct 14 2009 Dan Walsh <dwalsh@redhat.com> 2.0.39-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Add support for building Xen policies from Paul Nuzzi.
c0276d
c0276d
* Tue Sep 8 2009 Dan Walsh <dwalsh@redhat.com> 2.0.38-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Check last offset in the module package against the file size.
c0276d
  Reported by Manoj Srivastava for bug filed by Max Kellermann.
c0276d
c0276d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.37-2
c0276d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c0276d
c0276d
* Tue Jul 7 2009 Dan Walsh <dwalsh@redhat.com> 2.0.37-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Add method to check disable dontaudit flag from Christopher Pardy.
c0276d
c0276d
* Wed Mar 25 2009 Dan Walsh <dwalsh@redhat.com> 2.0.36-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix boolean state smashing from Joshua Brindle.
c0276d
c0276d
* Thu Mar 5 2009 Dan Walsh <dwalsh@redhat.com> 2.0.35-3
c0276d
- Fix license specification to be LGPL instead of GPL
c0276d
c0276d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.35-2
c0276d
c0276d
* Wed Feb 18 2009 Dan Walsh <dwalsh@redhat.com> 2.0.35-1
c0276d
- Upgrade to latest from NSA
c0276d
        * Fix alias field in module format, caused by boundary format change
c0276d
          from Caleb Case.
c0276d
c0276d
* Tue Oct 14 2008 Dan Walsh <dwalsh@redhat.com> 2.0.34-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Add bounds support from KaiGai Kohei.
c0276d
  * Fix invalid aliases bug from Joshua Brindle.
c0276d
c0276d
* Tue Sep 30 2008 Dan Walsh <dwalsh@redhat.com> 2.0.33-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Revert patch that removed expand_rule.
c0276d
c0276d
* Mon Jul 7 2008 Dan Walsh <dwalsh@redhat.com> 2.0.32-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Allow require then declare in the source policy from Joshua Brindle.
c0276d
c0276d
* Sun Jun 22 2008 Dan Walsh <dwalsh@redhat.com> 2.0.31-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix mls_semantic_level_expand() to handle a user require w/o MLS information from Stephen Smalley.
c0276d
c0276d
* Wed Jun 11 2008 Dan Walsh <dwalsh@redhat.com> 2.0.30-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix endianness bug in the handling of network node addresses from Stephen Smalley.
c0276d
    Only affects big endian platforms.
c0276d
    Bug reported by John Weeks of Sun upon policy mismatch between x86 and sparc.
c0276d
c0276d
* Wed May 28 2008 Dan Walsh <dwalsh@redhat.com> 2.0.29-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merge user and role mapping support from Joshua Brindle.
c0276d
c0276d
* Mon May 19 2008 Dan Walsh <dwalsh@redhat.com> 2.0.28-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix mls_level_convert() to gracefully handle an empty user declaration/require from Stephen Smalley.
c0276d
  * Belatedly merge test for policy downgrade from Todd Miller.
c0276d
c0276d
* Thu Mar 27 2008 Dan Walsh <dwalsh@redhat.com> 2.0.26-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Add permissive domain support from Eric Paris.
c0276d
c0276d
* Thu Mar 13 2008 Dan Walsh <dwalsh@redhat.com> 2.0.25-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Drop unused ->buffer field from struct policy_file.
c0276d
  * Add policy_file_init() initalizer for struct policy_file and use it, from Todd C. Miller.
c0276d
c0276d
c0276d
* Thu Feb 28 2008 Dan Walsh <dwalsh@redhat.com> 2.0.23-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Accept "Flask" as an alternate identifier string in kernel policies from Stephen Smalley.
c0276d
  * Add support for open_perms policy capability from Eric Paris.
c0276d
c0276d
* Wed Feb 20 2008 Dan Walsh <dwalsh@redhat.com> 2.0.21-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix invalid memory allocation in policydb_index_others() from Jason Tang.
c0276d
c0276d
* Mon Feb 4 2008 Dan Walsh <dwalsh@redhat.com> 2.0.20-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Port of Yuichi Nakamura's tune avtab to reduce memory usage patch from the kernel avtab to libsepol from Stephen Smalley.
c0276d
c0276d
* Sat Feb 2 2008 Dan Walsh <dwalsh@redhat.com> 2.0.19-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Add support for consuming avrule_blocks during expansion to reduce
c0276d
    peak memory usage.
c0276d
c0276d
* Mon Jan 21 2008 Dan Walsh <dwalsh@redhat.com> 2.0.18-2
c0276d
- Fixed for spec review
c0276d
c0276d
* Fri Jan 11 2008 Dan Walsh <dwalsh@redhat.com> 2.0.18-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added support for policy capabilities from Todd Miller.
c0276d
  * Prevent generation of policy.18 with MLS enabled from Todd Miller.
c0276d
c0276d
* Mon Dec 10 2007 Dan Walsh <dwalsh@redhat.com> 2.0.16-1
c0276d
- Upgrade to latest from NSA
c0276d
  * print module magic number in hex on mismatch, from Todd Miller.
c0276d
c0276d
* Fri Nov 30 2007 Dan Walsh <dwalsh@redhat.com> 2.0.15-1
c0276d
- Upgrade to latest from NSA
c0276d
  * clarify and reduce neverallow error reporting from Stephen Smalley.
c0276d
c0276d
* Tue Nov 6 2007 Dan Walsh <dwalsh@redhat.com> 2.0.14-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Reject self aliasing at link time from Stephen Smalley.
c0276d
  * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.
c0276d
  * Fixed bug in require checking from Stephen Smalley.
c0276d
  * Added user hierarchy checking from Todd Miller.  
c0276d
c0276d
* Wed Sep 26 2007 Dan Walsh <dwalsh@redhat.com> 2.0.11-1
c0276d
  * Pass CFLAGS to CC even on link command, per Dennis Gilmore.
c0276d
c0276d
* Tue Sep 18 2007 Dan Walsh <dwalsh@redhat.com> 2.0.10-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged support for the handle_unknown policydb flag from Eric Paris.
c0276d
c0276d
* Fri Aug 31 2007 Dan Walsh <dwalsh@redhat.com> 2.0.9-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Moved next_entry and put_entry out-of-line to reduce code size from Ulrich Drepper.
c0276d
  * Fixed module_package_read_offsets bug introduced by the prior patch.
c0276d
c0276d
* Thu Aug 23 2007 Dan Walsh <dwalsh@redhat.com> 2.0.7-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Eliminate unaligned accesses from policy reading code from Stephen Smalley.
c0276d
c0276d
* Mon Aug 20 2007 Dan Walsh <dwalsh@redhat.com> 2.0.6-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Allow dontaudits to be turned off during policy expansion
c0276d
c0276d
c0276d
* Fri Aug 10 2007 Dan Walsh <dwalsh@redhat.com> 2.0.5-1
c0276d
- Upgrade to latest from NSA
c0276d
     * Fix sepol_context_clone to handle a NULL context correctly.
c0276d
          This happens for e.g. semanage_fcontext_set_con(sh, fcontext, NULL)
c0276d
    to set the file context entry to "<<none>>".
c0276d
- Apply patch from Joshua Brindle to disable dontaudit rules
c0276d
c0276d
c0276d
* Thu Jun 21 2007 Dan Walsh <dwalsh@redhat.com> 2.0.4-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged error handling patch from Eamon Walsh.
c0276d
c0276d
* Tue Apr 17 2007 Dan Walsh <dwalsh@redhat.com> 2.0.3-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged add boolmap argument to expand_module_avrules() from Chris PeBenito.
c0276d
c0276d
* Fri Mar 30 2007 Dan Walsh <dwalsh@redhat.com> 2.0.2-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged fix from Karl to remap booleans at expand time to 
c0276d
    avoid holes in the symbol table.
c0276d
c0276d
* Wed Feb 7 2007 Dan Walsh <dwalsh@redhat.com> 2.0.1-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged libsepol segfault fix from Stephen Smalley for when
c0276d
    sensitivities are required but not present in the base.
c0276d
  * Merged patch to add errcodes.h to libsepol by Karl MacMillan.
c0276d
  
c0276d
* Fri Jan 19 2007 Dan Walsh <dwalsh@redhat.com> 1.16.0-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Updated version for stable branch.
c0276d
c0276d
* Tue Dec 12 2006 Adam Jackson <ajax@redhat.com> 1.15.3-1
c0276d
- Add dist tag and rebuild, fixes 6 to 7 upgrades.
c0276d
c0276d
* Tue Nov 28 2006 Dan Walsh <dwalsh@redhat.com> 1.15.3-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged patch to compile wit -fPIC instead of -fpic from
c0276d
    Manoj Srivastava to prevent hitting the global offest table
c0276d
    limit. Patch changed to include libselinux and libsemanage in
c0276d
    addition to libselinux.
c0276d
c0276d
* Wed Nov 1 2006 Dan Walsh <dwalsh@redhat.com> 1.15.2-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged fix from Karl MacMillan for a segfault when linking
c0276d
    non-MLS modules with users in them.
c0276d
c0276d
* Tue Oct 24 2006 Dan Walsh <dwalsh@redhat.com> 1.15.1-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged fix for version comparison that was preventing range
c0276d
    transition rules from being written for a version 5 base policy
c0276d
    from Darrel Goeddel.
c0276d
c0276d
* Tue Oct 17 2006 Dan Walsh <dwalsh@redhat.com> 1.14-1
c0276d
- NSA Released version - Same as previous but changed release number
c0276d
c0276d
* Tue Oct 17 2006 Dan Walsh <dwalsh@redhat.com> 1.12.28-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Build libsepol's static object files with -fpic
c0276d
c0276d
* Thu Sep 28 2006 Dan Walsh <dwalsh@redhat.com> 1.12.27-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged mls user and range_transition support in modules
c0276d
    from Darrel Goeddel
c0276d
c0276d
* Wed Sep 6 2006 Dan Walsh <dwalsh@redhat.com> 1.12.26-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged range transition enhancements and user format changes
c0276d
    Darrel Goeddel
c0276d
c0276d
* Fri Aug 25 2006 Dan Walsh <dwalsh@redhat.com> 1.12.25-3
c0276d
- Fix location of include directory to devel package
c0276d
c0276d
* Fri Aug 25 2006 Dan Walsh <dwalsh@redhat.com> 1.12.25-2
c0276d
- Remove invalid Requires 
c0276d
c0276d
* Thu Aug 24 2006 Dan Walsh <dwalsh@redhat.com> 1.12.25-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged conditionally expand neverallows patch from Jeremy Mowery.
c0276d
  * Merged refactor expander patch from Jeremy Mowery.
c0276d
c0276d
* Thu Aug 3 2006 Dan Walsh <dwalsh@redhat.com> 1.12.24-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged libsepol unit tests from Joshua Brindle.
c0276d
  * Merged symtab datum patch from Karl MacMillan.
c0276d
  * Merged netfilter contexts support from Chris PeBenito.
c0276d
c0276d
* Tue Aug 1 2006 Dan Walsh <dwalsh@redhat.com> 1.12.21-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged helpful hierarchy check errors patch from Joshua Brindle.
c0276d
  * Merged semodule_deps patch from Karl MacMillan.
c0276d
    This adds source module names to the avrule decls.
c0276d
c0276d
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.12.19-1.1
c0276d
- rebuild
c0276d
c0276d
* Tue Jul 4 2006 Dan Walsh <dwalsh@redhat.com> 1.12.19-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Lindent.
c0276d
  * Merged optionals in base take 2 patch set from Joshua Brindle.
c0276d
c0276d
* Tue Jun 13 2006 Bill Nottingham <notting@redhat.com> 1.12.17-2
c0276d
- bump so it's newer than the FC5 version
c0276d
c0276d
* Mon Jun 5 2006 Dan Walsh <dwalsh@redhat.com> 1.12.17-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Revert 1.12.16.
c0276d
  * Merged cleaner fix for bool_ids overflow from Karl MacMillan,
c0276d
    replacing the prior patch.
c0276d
  * Merged fixes for several memory leaks in the error paths during
c0276d
    policy read from Serge Hallyn.
c0276d
c0276d
* Tue May 30 2006 Dan Walsh <dwalsh@redhat.com> 1.12.14-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed bool_ids overflow bug in cond_node_find and cond_copy_list,
c0276d
    based on bug report and suggested fix by Cedric Roux.
c0276d
  * Merged sens_copy_callback, check_role_hierarchy_callback,
c0276d
    and node_from_record fixes from Serge Hallyn.
c0276d
c0276d
* Tue May 23 2006 Dan Walsh <dwalsh@redhat.com> 1.12.12-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added sepol_policydb_compat_net() interface for testing whether
c0276d
    a policy requires the compatibility support for network checks
c0276d
    to be enabled in the kernel.
c0276d
c0276d
* Thu May 18 2006 Dan Walsh <dwalsh@redhat.com> 1.12.11-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged patch to initialize sym_val_to_name arrays from Kevin Carr.
c0276d
    Reworked to use calloc in the first place, and converted some other
c0276d
    malloc/memset pairs to calloc calls.
c0276d
c0276d
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> 1.12.10-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged patch to revert role/user decl upgrade from Karl MacMillan.
c0276d
c0276d
* Thu May 11 2006 Steve Grubb <sgrubb@redhat.com> 1.12.9
c0276d
- Couple minor spec file clean ups
c0276d
c0276d
* Mon May 8 2006 Dan Walsh <dwalsh@redhat.com> 1.12.9-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Dropped tests from all Makefile target.
c0276d
  * Merged fix warnings patch from Karl MacMillan.
c0276d
  * Merged libsepol test framework patch from Karl MacMillan.
c0276d
c0276d
* Mon May 1 2006 Dan Walsh <dwalsh@redhat.com> 1.12.6-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed cond_normalize to traverse the entire cond list at link time.
c0276d
c0276d
* Wed Apr 5 2006 Dan Walsh <dwalsh@redhat.com> 1.12.5-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged fix for leak of optional package sections from Ivan Gyurdiev.
c0276d
c0276d
* Wed Mar 29 2006 Dan Walsh <dwalsh@redhat.com> 1.12.4-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Generalize test for bitmap overflow in ebitmap_set_bit.
c0276d
c0276d
* Mon Mar 27 2006 Dan Walsh <dwalsh@redhat.com> 1.12.3-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed attr_convert_callback and expand_convert_type_set
c0276d
    typemap bug.
c0276d
c0276d
* Fri Mar 24 2006 Dan Walsh <dwalsh@redhat.com> 1.12.2-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed avrule_block_write num_decls endian bug.
c0276d
c0276d
* Fri Mar 17 2006 Dan Walsh <dwalsh@redhat.com> 1.12.1-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed sepol_module_package_write buffer overflow bug.
c0276d
c0276d
* Fri Mar 10 2006 Dan Walsh <dwalsh@redhat.com> 1.12-2
c0276d
- Upgrade to latest from NSA
c0276d
  * Updated version for release.
c0276d
  * Merged cond_evaluate_expr fix from Serge Hallyn (IBM).
c0276d
  * Fixed bug in copy_avrule_list reported by Ivan Gyurdiev.
c0276d
  * Merged sepol_policydb_mls_enabled interface and error handling
c0276d
    changes from Ivan Gyurdiev.
c0276d
c0276d
* Mon Feb 20 2006 Dan Walsh <dwalsh@redhat.com> 1.11.18-2
c0276d
- Rebuild for fc5-head
c0276d
c0276d
* Fri Feb 17 2006 Dan Walsh <dwalsh@redhat.com> 1.11.18-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged node_expand_addr bugfix and node_compare* change from
c0276d
    Ivan Gyurdiev.
c0276d
c0276d
* Thu Feb 16 2006 Dan Walsh <dwalsh@redhat.com> 1.11.17-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged nodes, ports: always prepend patch from Ivan Gyurdiev.
c0276d
  * Merged bug fix patch from Ivan Gyurdiev.
c0276d
  * Added a defined flag to level_datum_t for use by checkpolicy.
c0276d
  * Merged nodecon support patch from Ivan Gyurdiev.
c0276d
  * Merged cleanups patch from Ivan Gyurdiev.  
c0276d
c0276d
* Mon Feb 13 2006 Dan Walsh <dwalsh@redhat.com> 1.11.14-2
c0276d
- Fix post install not to fire if /dev/initctr does not exist
c0276d
c0276d
* Mon Feb 13 2006 Dan Walsh <dwalsh@redhat.com> 1.11.14-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged optionals in base patch from Joshua Brindle.
c0276d
c0276d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.11.13-1.1
c0276d
- bump again for double-long bug on ppc(64)
c0276d
c0276d
* Tue Feb 7 2006 Dan Walsh <dwalsh@redhat.com> 1.11.13-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged seuser/user_extra support patch from Joshua Brindle.
c0276d
  * Merged fix patch from Ivan Gyurdiev.
c0276d
c0276d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.11.12-1.1
c0276d
- rebuilt for new gcc4.1 snapshot and glibc changes
c0276d
c0276d
* Thu Feb 2 2006 Dan Walsh <dwalsh@redhat.com> 1.11.12-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged assertion copying bugfix from Joshua Brindle.
c0276d
  * Merged sepol_av_to_string patch from Joshua Brindle.
c0276d
  * Merged clone record on set_con patch from Ivan Gyurdiev.  
c0276d
c0276d
* Mon Jan 30 2006 Dan Walsh <dwalsh@redhat.com> 1.11.10-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged cond_expr mapping and package section count bug fixes
c0276d
    from Joshua Brindle.
c0276d
  * Merged improve port/fcontext API patch from Ivan Gyurdiev.  
c0276d
  * Merged fixes for overflow bugs on 64-bit from Ivan Gyurdiev.
c0276d
c0276d
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.11.9-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged size_t -> unsigned int patch from Ivan Gyurdiev.
c0276d
c0276d
* Tue Jan 10 2006 Dan Walsh <dwalsh@redhat.com> 1.11.8-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged 2nd const in APIs patch from Ivan Gyurdiev.
c0276d
c0276d
* Fri Jan 6 2006 Dan Walsh <dwalsh@redhat.com> 1.11.7-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged const in APIs patch from Ivan Gyurdiev.
c0276d
  * Merged compare2 function patch from Ivan Gyurdiev.
c0276d
  * Fixed hierarchy checker to only check allow rules.
c0276d
c0276d
* Thu Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 1.11.5-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged further fixes from Russell Coker, specifically:
c0276d
    - av_to_string overflow checking
c0276d
    - sepol_context_to_string error handling
c0276d
    - hierarchy checking memory leak fixes and optimizations
c0276d
    - avrule_block_read variable initialization
c0276d
  * Marked deprecated code in genbools and genusers.
c0276d
c0276d
* Thu Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 1.11.4-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged bugfix for sepol_port_modify from Russell Coker.
c0276d
  * Fixed bug in sepol_iface_modify error path noted by Ivan Gyurdiev.
c0276d
  * Merged port ordering patch from Ivan Gyurdiev.
c0276d
c0276d
* Wed Jan 4 2006 Dan Walsh <dwalsh@redhat.com> 1.11.2-2
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged patch series from Ivan Gyurdiev.
c0276d
    This includes patches to:
c0276d
    - support ordering of records in compare function
c0276d
    - enable port interfaces
c0276d
    - add interfaces for context validity and range checks
c0276d
    - add include guards
c0276d
c0276d
* Tue Dec 27 2005 Dan Walsh <dwalsh@redhat.com> 1.11.1-2
c0276d
- Add Ivans patch to make ports work
c0276d
c0276d
* Fri Dec 16 2005 Dan Walsh <dwalsh@redhat.com> 1.11.1-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed mls_range_cpy bug.
c0276d
c0276d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c0276d
- rebuilt
c0276d
c0276d
* Wed Dec 7 2005 Dan Walsh <dwalsh@redhat.com> 1.10-1
c0276d
- Upgrade to latest from NSA
c0276d
c0276d
* Mon Dec 5 2005 Dan Walsh <dwalsh@redhat.com> 1.9.42-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Dropped handle from user_del_role interface.  
c0276d
c0276d
* Mon Nov 28 2005 Dan Walsh <dwalsh@redhat.com> 1.9.41-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged remove defrole from sepol patch from Ivan Gyurdiev.
c0276d
c0276d
* Wed Nov 16 2005 Dan Walsh <dwalsh@redhat.com> 1.9.40-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged module function and map file cleanup from Ivan Gyurdiev.
c0276d
  * Merged MLS and genusers cleanups from Ivan Gyurdiev.
c0276d
c0276d
* Wed Nov 9 2005 Dan Walsh <dwalsh@redhat.com> 1.9.39-1
c0276d
- Upgrade to latest from NSA
c0276d
  Prepare for removal of booleans* and *.users files.
c0276d
  * Cleaned up sepol_genbools to not regenerate the image if
c0276d
    there were no changes in the boolean values, including the
c0276d
    degenerate case where there are no booleans or booleans.local
c0276d
    files.
c0276d
  * Cleaned up sepol_genusers to not warn on missing local.users.
c0276d
  
c0276d
* Tue Nov 8 2005 Dan Walsh <dwalsh@redhat.com> 1.9.38-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Removed sepol_port_* from libsepol.map, as the port interfaces
c0276d
    are not yet stable.
c0276d
c0276d
* Mon Nov 7 2005 Dan Walsh <dwalsh@redhat.com> 1.9.37-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged context destroy cleanup patch from Ivan Gyurdiev.
c0276d
c0276d
* Thu Nov 3 2005 Dan Walsh <dwalsh@redhat.com> 1.9.36-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged context_to_string interface change patch from Ivan Gyurdiev.
c0276d
c0276d
* Thu Nov 3 2005 Dan Walsh <dwalsh@redhat.com> 1.9.35-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added src/dso.h and src/*_internal.h.
c0276d
    Added hidden_def for exported symbols used within libsepol.
c0276d
    Added hidden for symbols that should not be exported by
c0276d
    the wildcards in libsepol.map.
c0276d
c0276d
* Mon Oct 31 2005 Dan Walsh <dwalsh@redhat.com> 1.9.34-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged record interface, record bugfix, and set_roles patches 
c0276d
    from Ivan Gyurdiev.
c0276d
c0276d
* Fri Oct 28 2005 Dan Walsh <dwalsh@redhat.com> 1.9.33-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged count specification change from Ivan Gyurdiev.  
c0276d
c0276d
* Wed Oct 26 2005 Dan Walsh <dwalsh@redhat.com> 1.9.32-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added further checking and error reporting to 
c0276d
    sepol_module_package_read and _info.
c0276d
  * Merged sepol handle passing, DEBUG conversion, and memory leak
c0276d
    fix patches from Ivan Gyurdiev.
c0276d
c0276d
* Tue Oct 25 2005 Dan Walsh <dwalsh@redhat.com> 1.9.30-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Removed processing of system.users from sepol_genusers and
c0276d
    dropped delusers logic.
c0276d
  * Removed policydb_destroy from error path of policydb_read,
c0276d
    since create/init/destroy/free of policydb is handled by the
c0276d
    caller now.
c0276d
  * Fixed sepol_module_package_read to handle a failed policydb_read
c0276d
    properly.
c0276d
  * Merged query/exists and count patches from Ivan Gyurdiev.
c0276d
  * Merged fix for pruned types in expand code from Joshua Brindle.
c0276d
  * Merged new module package format code from Joshua Brindle.
c0276d
c0276d
c0276d
* Mon Oct 24 2005 Dan Walsh <dwalsh@redhat.com> 1.9.26-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged context interface cleanup, record conversion code, 
c0276d
    key passing, and bug fix patches from Ivan Gyurdiev.               
c0276d
c0276d
* Fri Oct 21 2005 Dan Walsh <dwalsh@redhat.com> 1.9.25-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged users cleanup patch from Ivan Gyurdiev.
c0276d
  * Merged user record memory leak fix from Ivan Gyurdiev.
c0276d
  * Merged reorganize users patch from Ivan Gyurdiev.
c0276d
c0276d
- Need to check for /sbin/telinit
c0276d
c0276d
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.9.23-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added check flag to expand_module() to control assertion
c0276d
    and hierarchy checking on expansion.
c0276d
  * Reworked check_assertions() and hierarchy_check_constraints()
c0276d
    to take handles and use callback-based error reporting.
c0276d
  * Changed expand_module() to call check_assertions() and 
c0276d
    hierarchy_check_constraints() prior to returning the expanded
c0276d
    policy.
c0276d
c0276d
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.9.21-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Changed sepol_module_package_set_file_contexts to copy the
c0276d
    file contexts data since it is internally managed.
c0276d
  * Added sepol_policy_file_set_handle interface to associate
c0276d
    a handle with a policy file.
c0276d
  * Added handle argument to policydb_from_image/to_image.
c0276d
  * Added sepol_module_package_set_file_contexts interface.
c0276d
  * Dropped sepol_module_package_create_file interface.
c0276d
  * Reworked policydb_read/write, policydb_from_image/to_image, 
c0276d
    and sepol_module_package_read/write to use callback-based error
c0276d
    reporting system rather than DEBUG.  
c0276d
c0276d
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.9.19-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Reworked link_packages, link_modules, and expand_module to use
c0276d
  callback-based error reporting system rather than error buffering.
c0276d
c0276d
* Sat Oct 15 2005 Dan Walsh <dwalsh@redhat.com> 1.9.18-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged conditional expression mapping fix in the module linking
c0276d
  code from Joshua Brindle.
c0276d
c0276d
* Fri Oct 14 2005 Dan Walsh <dwalsh@redhat.com> 1.9.17-2
c0276d
- Tell init to reexec itself in post script
c0276d
c0276d
* Mon Oct 10 2005 Dan Walsh <dwalsh@redhat.com> 1.9.17-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Hid sepol_module_package type definition, and added get interfaces.
c0276d
  * Merged new callback-based error reporting system from Ivan
c0276d
  Gyurdiev.
c0276d
  * Merged support for require blocks inside conditionals from
c0276d
  Joshua Brindle (Tresys).
c0276d
c0276d
* Mon Oct 10 2005 Dan Walsh <dwalsh@redhat.com> 1.9.14.1-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed use of policydb_from_image/to_image to ensure proper
c0276d
  init of policydb.
c0276d
  * Isolated policydb internal headers under <sepol/policydb/*.h>.
c0276d
  These headers should only be used by users of the static libsepol.
c0276d
  Created new <sepol/policydb.h> with new public types and interfaces
c0276d
  for shared libsepol.
c0276d
  Created new <sepol/module.h> with public types and interfaces moved
c0276d
  or wrapped from old module.h, link.h, and expand.h, adjusted for
c0276d
  new public types for policydb and policy_file.
c0276d
  Added public interfaces to libsepol.map.
c0276d
  Some implementation changes visible to users of the static libsepol:
c0276d
  1) policydb_read no longer calls policydb_init.
c0276d
  Caller must do so first.
c0276d
  2) policydb_init no longer takes policy_type argument.
c0276d
  Caller must set policy_type separately.
c0276d
  3) expand_module automatically enables the global branch.  
c0276d
  Caller no longer needs to do so.
c0276d
  4) policydb_write uses the policy_type and policyvers from the 
c0276d
  policydb itself, and sepol_set_policyvers() has been removed.
c0276d
c0276d
* Fri Oct 7 2005 Dan Walsh <dwalsh@redhat.com> 1.9.12-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged function renaming and static cleanup from Ivan Gyurdiev.
c0276d
c0276d
* Thu Oct 6 2005 Dan Walsh <dwalsh@redhat.com> 1.9.11-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged bug fix for check_assertions handling of no assertions
c0276d
  from Joshua Brindle (Tresys).
c0276d
  
c0276d
* Tue Oct 4 2005 Dan Walsh <dwalsh@redhat.com> 1.9.10-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged iterate patch from Ivan Gyurdiev.
c0276d
  * Merged MLS in modules patch from Joshua Brindle (Tresys).
c0276d
c0276d
* Mon Oct 3 2005 Dan Walsh <dwalsh@redhat.com> 1.9.8-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged pointer typedef elimination patch from Ivan Gyurdiev.
c0276d
  * Merged user list function, new mls functions, and bugfix patch
c0276d
    from Ivan Gyurdiev.
c0276d
c0276d
* Wed Sep 28 2005 Dan Walsh <dwalsh@redhat.com> 1.9.7-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged sepol_get_num_roles fix from Karl MacMillan (Tresys).
c0276d
c0276d
* Fri Sep 23 2005 Dan Walsh <dwalsh@redhat.com> 1.9.6-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged bug fix patches from Joshua Brindle (Tresys).
c0276d
c0276d
* Wed Sep 21 2005 Dan Walsh <dwalsh@redhat.com> 1.9.5-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged boolean record and memory leak fix patches from Ivan
c0276d
  Gyurdiev.
c0276d
c0276d
* Tue Sep 20 2005 Dan Walsh <dwalsh@redhat.com> 1.9.4-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged interface record patch from Ivan Gyurdiev.
c0276d
c0276d
* Thu Sep 15 2005 Dan Walsh <dwalsh@redhat.com> 1.9.3-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged fix for sepol_enable/disable_debug from Ivan
c0276d
  Gyurdiev.
c0276d
c0276d
* Wed Sep 14 2005 Dan Walsh <dwalsh@redhat.com> 1.9.1-2
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged stddef.h patch and debug conversion patch from 
c0276d
  Ivan Gyurdiev.
c0276d
c0276d
* Mon Sep 12 2005 Dan Walsh <dwalsh@redhat.com> 1.9.1-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed expand_avtab and expand_cond_av_list to keep separate
c0276d
  entries with identical keys but different enabled flags.
c0276d
  * Updated version for release.
c0276d
c0276d
* Thu Sep 1 2005 Dan Walsh <dwalsh@redhat.com> 1.7.24-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed symtab_insert return value for duplicate declarations.
c0276d
  * Merged fix for memory error in policy_module_destroy from
c0276d
  Jason Tang (Tresys).
c0276d
c0276d
* Mon Aug 29 2005 Dan Walsh <dwalsh@redhat.com> 1.7.22-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged fix for memory leak in sepol_context_to_sid from
c0276d
  Jason Tang (Tresys).
c0276d
  * Merged fixes for resource leaks on error paths and
c0276d
    change to scope_destroy from Joshua Brindle (Tresys).
c0276d
c0276d
* Tue Aug 23 2005 Dan Walsh <dwalsh@redhat.com> 1.7.20-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged more fixes for resource leaks on error paths 
c0276d
    from Serge Hallyn (IBM).  Bugs found by Coverity. 
c0276d
c0276d
* Fri Aug 19 2005 Dan Walsh <dwalsh@redhat.com> 1.7.19-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Changed to treat all type conflicts as fatal errors.
c0276d
  * Merged several error handling fixes from 
c0276d
    Serge Hallyn (IBM).  Bugs found by Coverity.  
c0276d
c0276d
* Mon Aug 15 2005 Dan Walsh <dwalsh@redhat.com> 1.7.17-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed several memory leaks found by valgrind.
c0276d
c0276d
* Sun Aug 14 2005 Dan Walsh <dwalsh@redhat.com> 1.7.15-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed empty list test in cond_write_av_list.  Bug found by
c0276d
    Coverity, reported by Serge Hallyn (IBM).
c0276d
  * Merged patch to policydb_write to check errors 
c0276d
    when writing the type->attribute reverse map from
c0276d
    Serge Hallyn (IBM).  Bug found by Coverity.
c0276d
  * Fixed policydb_destroy to properly handle NULL type_attr_map
c0276d
    or attr_type_map.
c0276d
c0276d
* Sat Aug 13 2005 Dan Walsh <dwalsh@redhat.com> 1.7.14-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed empty list test in cond_write_av_list.  Bug found by
c0276d
    Coverity, reported by Serge Hallyn (IBM).
c0276d
  * Merged patch to policydb_write to check errors 
c0276d
    when writing the type->attribute reverse map from
c0276d
    Serge Hallyn (IBM).  Bug found by Coverity.
c0276d
  * Fixed policydb_destroy to properly handle NULL type_attr_map
c0276d
    or attr_type_map.
c0276d
c0276d
c0276d
* Thu Aug 11 2005 Dan Walsh <dwalsh@redhat.com> 1.7.13-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Improved memory use by SELinux by both reducing the avtab 
c0276d
    node size and reducing the number of avtab nodes (by not
c0276d
    expanding attributes in TE rules when possible).  Added
c0276d
    expand_avtab and expand_cond_av_list functions for use by
c0276d
    assertion checker, hierarchy checker, compatibility code,
c0276d
    and dispol.  Added new inline ebitmap operators and converted
c0276d
    existing users of ebitmaps to the new operators for greater 
c0276d
    efficiency.
c0276d
    Note:  The binary policy format version has been incremented to 
c0276d
    version 20 as a result of these changes.
c0276d
c0276d
* Thu Aug 11 2005 Dan Walsh <dwalsh@redhat.com> 1.7.12-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed bug in constraint_node_clone handling of name sets.
c0276d
c0276d
* Wed Aug 10 2005 Dan Walsh <dwalsh@redhat.com> 1.7.11-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fix range_trans_clone to map the type values properly.
c0276d
c0276d
* Fri Aug 5 2005 Dan Walsh <dwalsh@redhat.com> 1.7.10-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged patch to move module read/write code from libsemanage
c0276d
    to libsepol from Jason Tang (Tresys).
c0276d
c0276d
* Tue Aug 2 2005 Dan Walsh <dwalsh@redhat.com> 1.7.9-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Enabled further compiler warning flags and fixed them.
c0276d
  * Merged user, context, port records patch from Ivan Gyurdiev.
c0276d
  * Merged key extract function patch from Ivan Gyurdiev.
c0276d
  * Merged mls_context_to_sid bugfix from Ivan Gyurdiev.
c0276d
c0276d
* Wed Jul 27 2005 Dan Walsh <dwalsh@redhat.com> 1.7.6-2
c0276d
- Fix MLS Free 
c0276d
c0276d
* Mon Jul 25 2005 Dan Walsh <dwalsh@redhat.com> 1.7.6-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged context reorganization, memory leak fixes, 
c0276d
    port and interface loading, replacements for genusers and
c0276d
    genbools, debug traceback, and bugfix patches from Ivan Gyurdiev.
c0276d
  * Merged uninitialized variable bugfix from Dan Walsh.
c0276d
c0276d
* Mon Jul 25 2005 Dan Walsh <dwalsh@redhat.com> 1.7.5-2
c0276d
- Fix unitialized variable problem
c0276d
c0276d
* Mon Jul 18 2005 Dan Walsh <dwalsh@redhat.com> 1.7.5-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged debug support, policydb conversion functions from Ivan Gyurdiev (Red Hat).
c0276d
  * Removed genpolbools and genpolusers utilities.
c0276d
  * Merged hierarchy check fix from Joshua Brindle (Tresys).
c0276d
c0276d
c0276d
c0276d
* Thu Jul 14 2005 Dan Walsh <dwalsh@redhat.com> 1.7.3-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged header file cleanup and memory leak fix from Ivan Gyurdiev (Red Hat).
c0276d
  * Merged genbools debugging message cleanup from Red Hat.
c0276d
c0276d
* Thu Jul 7 2005 Dan Walsh <dwalsh@redhat.com> 1.7-2
c0276d
- Remove genpolbools and genpoluser 
c0276d
c0276d
* Thu Jul 7 2005 Dan Walsh <dwalsh@redhat.com> 1.7-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Merged loadable module support from Tresys Technology.
c0276d
c0276d
* Wed Jun 29 2005 Dan Walsh <dwalsh@redhat.com> 1.6-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Updated version for release.
c0276d
c0276d
* Tue May 17 2005 Dan Walsh <dwalsh@redhat.com> 1.5.10-1
c0276d
- Fix reset booleans warning message
c0276d
- Upgrade to latest from NSA
c0276d
  * License changed to LGPL v2.1, see COPYING.
c0276d
c0276d
* Tue May 17 2005 Dan Walsh <dwalsh@redhat.com> 1.5.9-2
c0276d
- Upgrade to latest from NSA
c0276d
  * Added sepol_genbools_policydb and sepol_genusers_policydb for
c0276d
    audit2why.
c0276d
c0276d
* Mon May 16 2005 Dan Walsh <dwalsh@redhat.com> 1.5.8-2
c0276d
- export sepol_context_to_sid
c0276d
c0276d
* Mon May 16 2005 Dan Walsh <dwalsh@redhat.com> 1.5.8-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added sepol_ prefix to Flask types to avoid 
c0276d
    namespace collision with libselinux.
c0276d
c0276d
* Fri May 13 2005 Dan Walsh <dwalsh@redhat.com> 1.5.7-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Added sepol_compute_av_reason() for audit2why.
c0276d
c0276d
* Tue Apr 26 2005 Dan Walsh <dwalsh@redhat.com> 1.5.6-1
c0276d
- Upgrade to latest from NSA
c0276d
  * Fixed bug in role hierarchy checker.
c0276d
c0276d
* Mon Apr 25 2005 Dan Walsh <dwalsh@redhat.com> 1.5.5-2
c0276d
- Fixes found via intel compiler
c0276d
c0276d
* Thu Apr 14 2005 Dan Walsh <dwalsh@redhat.com> 1.5.5-1
c0276d
- Update from NSA
c0276d
c0276d
* Tue Mar 29 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-1
c0276d
- Update from NSA
c0276d
c0276d
* Thu Mar 24 2005 Dan Walsh <dwalsh@redhat.com> 1.5.2-2
c0276d
- Handle booleans.local
c0276d
c0276d
* Thu Mar 17 2005 Dan Walsh <dwalsh@redhat.com> 1.5.2-1
c0276d
- Update to latest from NSA
c0276d
  * Added man page for sepol_check_context.
c0276d
  * Added man page for sepol_genusers function.
c0276d
  * Merged man pages for genpolusers and chkcon from Manoj Srivastava.
c0276d
c0276d
* Thu Mar 10 2005 Dan Walsh <dwalsh@redhat.com> 1.4-1
c0276d
- Update to latest from NSA
c0276d
c0276d
* Tue Mar 8 2005 Dan Walsh <dwalsh@redhat.com> 1.3.8-1
c0276d
- Update to latest from NSA
c0276d
        * Cleaned up error handling in sepol_genusers and sepol_genbools.
c0276d
c0276d
* Tue Mar 1 2005 Dan Walsh <dwalsh@redhat.com> 1.3.7-1
c0276d
- Update to latest from NSA
c0276d
  * Merged sepol_debug and fclose patch from Dan Walsh.
c0276d
c0276d
* Fri Feb 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.6-3
c0276d
- Make sure local_files file pointer is closed
c0276d
- Stop outputing error messages
c0276d
c0276d
* Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.3.6-1
c0276d
- Update to latest from NSA
c0276d
  * Changed sepol_genusers to also use getline and correctly handle
c0276d
    EOL.
c0276d
* Thu Feb 17 2005 Dan Walsh <dwalsh@redhat.com> 1.3.5-1
c0276d
- Update to latest from NSA
c0276d
  * Merged endianness and compute_av patches from Darrel Goeddel (TCS).
c0276d
  * Merged range_transition support from Darrel Goeddel (TCS).
c0276d
  * Added sepol_genusers function.
c0276d
c0276d
* Thu Feb 10 2005 Dan Walsh <dwalsh@redhat.com> 1.3.2-1
c0276d
- Update to latest from NSA
c0276d
  * Changed relabel Makefile target to use restorecon.
c0276d
c0276d
* Mon Feb 7 2005 Dan Walsh <dwalsh@redhat.com> 1.3.1-1
c0276d
- Update to latest from NSA
c0276d
  * Merged enhanced MLS support from Darrel Goeddel (TCS).
c0276d
c0276d
* Thu Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.2.1.1-1
c0276d
- Update to latest from NSA
c0276d
  * Merged build fix patch from Manoj Srivastava.
c0276d
c0276d
* Thu Nov 4 2004 Dan Walsh <dwalsh@redhat.com> 1.2.1-1
c0276d
- Update to latest from NSA
c0276d
c0276d
* Mon Aug 30 2004 Dan Walsh <dwalsh@redhat.com> 1.1.1-2
c0276d
- Add optargs for build
c0276d
c0276d
* Sun Aug 22 2004 Dan Walsh <dwalsh@redhat.com> 1.1.1-1
c0276d
- New version from NSA
c0276d
c0276d
* Fri Aug 20 2004 Colin Walters <walters@redhat.com> 1.0-2
c0276d
- Apply Stephen's chkcon patch
c0276d
c0276d
* Thu Aug 19 2004 Colin Walters <walters@redhat.com> 1.0-1
c0276d
- New upstream version
c0276d
c0276d
* Mon Aug 16 2004 Dan Walsh <dwalsh@redhat.com> 0.4.2-1
c0276d
- Newversion from upstream implementing stringcase compare
c0276d
c0276d
* Fri Aug 13 2004 Bill Nottingham <notting@redhat.com> 0.4.1-2
c0276d
- ldconfig tweaks
c0276d
c0276d
* Thu Aug 12 2004 Dan Walsh <dwalsh@redhat.com> 0.4.1-1
c0276d
- Ignore case of true/false
c0276d
c0276d
* Wed Aug 11 2004 Dan Walsh <dwalsh@redhat.com> 0.4.1-1
c0276d
- New version from NSA
c0276d
c0276d
* Tue Aug 10 2004 Dan Walsh <dwalsh@redhat.com> 0.3.1-1
c0276d
- Initial version
c0276d
- Created by Stephen Smalley <sds@epoch.ncsc.mil> 
c0276d
c0276d