psss / rpms / libsemanage

Forked from rpms/libsemanage 5 years ago
Clone
f4a5c19
%define libsepolver 2.0.37-1
7fe322b
%define libselinuxver 2.0.0-1
4800db7
Summary: SELinux binary policy manipulation library 
785fc2e
Name: libsemanage
ea03a1c
Version: 2.0.45
ea03a1c
Release: 1%{?dist}
3296a8c
License: LGPLv2+
4800db7
Group: System Environment/Libraries
4800db7
Source: http://www.nsa.gov/selinux/archives/libsemanage-%{version}.tgz
e3e8d63
Patch: libsemanage-rhat.patch
9b8c9f0
URL: http://www.selinuxproject.org
ea03a1c
Source1: semanage.conf
23614f8
212e1b7
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c0c84ef
BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel
786f3e5
BuildRequires: libsepol-devel >= %{libsepolver} 
43a16b6
BuildRequires: python-devel bison flex bzip2-devel
43a16b6
Requires: bzip2-libs
4800db7
4800db7
%description
9e67036
Security-enhanced Linux is a feature of the Linux® kernel and a number
4800db7
of utilities with enhanced security functionality designed to add
4800db7
mandatory access controls to Linux.  The Security-enhanced Linux
4800db7
kernel contains new architectural components originally developed to
4800db7
improve the security of the Flask operating system. These
4800db7
architectural components provide general support for the enforcement
4800db7
of many kinds of mandatory access control policies, including those
4800db7
based on the concepts of Type Enforcement®, Role-based Access
4800db7
Control, and Multi-level Security.
4800db7
4800db7
libsemanage provides an API for the manipulation of SELinux binary policies.
4800db7
It is used by checkpolicy (the policy compiler) and similar tools, as well
4800db7
as by programs like load_policy that need to perform specific transformations
4800db7
on binary policies such as customizing policy boolean settings.
4800db7
1f4f5e4
%package static
1f4f5e4
Summary: Static library used to build policy manipulation tools
1f4f5e4
Group: Development/Libraries
1f4f5e4
Requires: libsemanage-devel = %{version}-%{release}
1f4f5e4
1f4f5e4
%description static
1f4f5e4
The semanage-static package contains the static libraries 
1f4f5e4
needed for developing applications that manipulate binary policies. 
1f4f5e4
785fc2e
%package devel
785fc2e
Summary: Header files and libraries used to build policy manipulation tools
785fc2e
Group: Development/Libraries
c0c84ef
Requires: libsemanage = %{version}-%{release} ustr
785fc2e
785fc2e
%description devel
1f4f5e4
The semanage-devel package contains the libraries and header files
4800db7
needed for developing applications that manipulate binary policies. 
4800db7
dd1def2
%package python
dd1def2
Summary: semanage python bindings for libsemanage
dd1def2
Group: Development/Libraries
dd1def2
Requires: libsemanage = %{version}-%{release} 
dd1def2
dd1def2
%description python
dd1def2
The libsemanage-python package contains the python bindings for developing 
dd1def2
SELinux management applications. 
dd1def2
4800db7
%prep
785fc2e
%setup -q
e3e8d63
%patch -p1 -b .rhat
4800db7
4800db7
%build
9993e32
make clean
65c9f70
make CFLAGS="%{optflags}" swigify
3db0ea0
make CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all pywrap
4800db7
4800db7
%install
4800db7
rm -rf ${RPM_BUILD_ROOT}
4800db7
mkdir -p ${RPM_BUILD_ROOT}/%{_lib} 
4800db7
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir} 
4800db7
mkdir -p ${RPM_BUILD_ROOT}%{_includedir} 
cef3ae1
make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="${RPM_BUILD_ROOT}%{_libdir}" SHLIBDIR="${RPM_BUILD_ROOT}/%{_lib}" install install-pywrap
ea03a1c
cp %{SOURCE1} ${RPM_BUILD_ROOT}/etc/selinux/semanage.conf
1f4f5e4
ln -sf  /%{_lib}/libsemanage.so.1 ${RPM_BUILD_ROOT}/%{_libdir}/libsemanage.so
785fc2e
4800db7
%clean
4800db7
rm -rf ${RPM_BUILD_ROOT}
4800db7
b609a6d
%files
4800db7
%defattr(-,root,root)
76b34ef
%config(noreplace) /etc/selinux/semanage.conf
5223b30
/%{_lib}/libsemanage.so.1
785fc2e
785fc2e
%post -p /sbin/ldconfig
785fc2e
785fc2e
%postun -p /sbin/ldconfig
785fc2e
1f4f5e4
%files static
785fc2e
%defattr(-,root,root)
4800db7
%{_libdir}/libsemanage.a
1f4f5e4
1f4f5e4
%files devel
1f4f5e4
%defattr(-,root,root)
cf2b1c2
%{_libdir}/libsemanage.so
1f4f5e4
%{_libdir}/pkgconfig/libsemanage.pc
8f1e8ed
%dir %{_includedir}/semanage
4800db7
%{_includedir}/semanage/*.h
eddd487
%{_mandir}/man3/*
4800db7
dd1def2
%files python
ea03a1c
%defattr(-,root,root)
dd1def2
%{_libdir}/python*/site-packages/*
dd1def2
4800db7
%changelog
ea03a1c
* Mon Mar 8 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.45-1
ea03a1c
- Update to upstream
ea03a1c
	* Add enable/disable patch support from Dan Walsh.
ea03a1c
	* Add usepasswd flag to semanage.conf to disable genhomedircon using
ea03a1c
	  passwd from Dan Walsh.
ea03a1c
	* regenerate swig wrappers
ea03a1c
ea03a1c
* Thu Feb 25 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.44-2
ea03a1c
- Allow disable of usepasswd
ea03a1c
ea03a1c
* Wed Feb 17 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.44-1
ea03a1c
- Update to upstream
ea03a1c
	* Replace usage of fmemopen() with sepol_policy_file_set_mem() since
ea03a1c
	  glibc < 2.9 does not support binary mode ('b') for fmemopen'd
ea03a1c
	  streams.
ea03a1c
ea03a1c
* Thu Jan 28 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.43-4
ea03a1c
- Cleanup spec file
ea03a1c
1f4f5e4
* Mon Jan 18 2010 Dan Walsh <dwalsh@redhat.com> - 2.0.43-3
1f4f5e4
- Splect libsemanage.a into a static subpackage to keep fedora packaging guidelines happy
1f4f5e4
1f4f5e4
* Wed Dec 16 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.43-2
1f4f5e4
- Rebuild all c programs with -fPIC
1f4f5e4
1f4f5e4
* Tue Dec 1 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.43-1
1f4f5e4
- Update to upstream
ea03a1c
  * Move libsemanage.so to /usr/lib
ea03a1c
  * Add NAME lines to man pages from Manoj Srivastava<srivasta@debian.org>
1f4f5e4
1f4f5e4
* Wed Nov 18 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.42-1
1f4f5e4
- Update to upstream
ea03a1c
  * Move load_policy from /usr/sbin to /sbin from Dan Walsh.
1f4f5e4
1f4f5e4
* Mon Nov 2 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.41-1
1f4f5e4
- Update to upstream
ea03a1c
  * Add pkgconfig file from Eamon Walsh.
ea03a1c
  * Add semanage_set_check_contexts() function to disable calling
ea03a1c
  setfiles
1f4f5e4
f8b7dc8
* Mon Sep 28 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.39-1
f8b7dc8
- Update to upstream
ea03a1c
  * make swigify
f8b7dc8
b1238c4
* Sun Sep 20 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.38-2
b1238c4
- Dont relabel /root with genhomedircon
b1238c4
b055669
* Thu Sep 17 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.38-1
b055669
- Update to upstream
ea03a1c
  * Change semodule upgrade behavior to install even if the module
ea03a1c
    is not present from Dan Walsh.
ea03a1c
  * Make genhomedircon trim excess '/' from homedirs from Dan Walsh.
b055669
5aeb590
* Wed Sep 9 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.37-1
5aeb590
- Update to upstream
ea03a1c
  * Fix persistent dontaudit support to rebuild policy if the 
5aeb590
        dontaudit state is changed from Chad Sellers.
5aeb590
- Move load_policy to /sbin
5aeb590
f6a1eaa
* Fri Aug 28 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.36-2
f6a1eaa
- Add enable/disable modules
f6a1eaa
f6a1eaa
* Wed Aug 26 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.36-1
f6a1eaa
- Update to upstream
ea03a1c
  * Changed bzip-blocksize=0 handling to support existing compressed
ea03a1c
  modules in the store.
f6a1eaa
7313e2e
* Wed Aug 26 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.35-2
7313e2e
- Make sure /root is not used in genhomedircon
7313e2e
168ea7c
* Wed Aug 5 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.35-1
ea03a1c
  * Revert hard linking of files between tmp/active/previous.
ea03a1c
  * Enable configuration of bzip behavior from Stephen Smalley.
ea03a1c
    bzip-blocksize=0 to disable compression and decompression support.
ea03a1c
    bzip-blocksize=1..9 to set the blocksize for compression.
ea03a1c
    bzip-small=true to reduce memory usage for decompression.
168ea7c
6eb6423
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.33-3
6eb6423
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6eb6423
1639efd
* Fri Jul 10 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.33-2
1639efd
- Put check for /root back into genhomedircon
1639efd
f4a5c19
* Tue Jul 7 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.33-1
f4a5c19
- Update to upstream
f4a5c19
3652b31
* Mon Jun 8 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.32-1
3652b31
- Update to upstream
ea03a1c
  * Ruby bindings from David Quigley.
3652b31
713ea52
* Thu Apr 9 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-5
713ea52
- Return error on invalid file
713ea52
9b8c9f0
* Wed Mar 11 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-4
9b8c9f0
- Fix typo
9b8c9f0
13cd6ad
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.31-3
13cd6ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
13cd6ad
dd8fa00
* Thu Jan 15 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-2
dd8fa00
- Fix link to only link on sandbox
dd8fa00
cee6603
* Mon Jan 12 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.31-1
cee6603
- Update to upstream
ea03a1c
  * Policy module compression (bzip) support from Dan Walsh.
ea03a1c
  * Hard link files between tmp/active/previous from Dan Walsh.
cee6603
25dcff4
* Mon Jan 12 2009 Dan Walsh <dwalsh@redhat.com> - 2.0.30-3
25dcff4
- Fix up patch to get it upstreamed
25dcff4
26c9056
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.30-2
26c9056
- Rebuild for Python 2.6
26c9056
81984aa
* Thu Dec 4 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.30-1
ea03a1c
  * Add semanage_mls_enabled() interface from Stephen Smalley.
1990483
ee2fde0
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.29-2
ee2fde0
- Rebuild for Python 2.6
ee2fde0
ab25b0b
* Mon Sep 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.28-1
ab25b0b
- Update to upstream
ea03a1c
  * Add USER to lines to homedir_template context file from Chris PeBenito.
ab25b0b
688b1ed
* Mon Sep 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.28-2
688b1ed
- Add compression support
688b1ed
be97850
* Mon Sep 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.28-1
be97850
- Update to upstream
ea03a1c
  * allow fcontext and seuser changes without rebuilding the policy from Dan Walsh
be97850
ead711e
* Wed Sep 10 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.27-3
ead711e
- Additional fixes for Don't rebuild on fcontext or seuser modifications
ead711e
ead711e
* Tue Sep 2 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.27-2
5142c61
- Don't rebuild on fcontext or seuser modifications
5142c61
8bffda7
* Tue Aug 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.27-1
8bffda7
- Update to upstream
ea03a1c
  * Modify genhomedircon to skip groupname entries.
ea03a1c
  Ultimately we need to expand them to the list of users to support per-role homedir labeling when using the groupname syntax.
8bffda7
feb8552
* Wed Jul 29 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.26-1
feb8552
- Update to upstream
ea03a1c
  * Fix bug in genhomedircon fcontext matches logic from Dan Walsh.
ea03a1c
  Strip any trailing slash before appending /*$.
feb8552
e69414a
* Thu Jun 17 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.25-3
e69414a
- Another fix for genhomedircon
e69414a
3296a8c
* Wed May 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.0.25-2
3296a8c
- fix license tag
3296a8c
272f92a
* Tue Feb 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.25-1
272f92a
- Update to upstream
ea03a1c
  * Do not call genhomedircon if the policy was not rebuilt from Stephen Smalley.
ea03a1c
    Fixes semanage boolean -D seg fault (bug 441379).
272f92a
084654f
* Tue Feb 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.24-1
084654f
- Update to upstream
ea03a1c
  * make swigify
084654f
ac914e4
* Tue Feb 5 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.23-1
ac914e4
- Update to upstream
ea03a1c
  * Use vfork rather than fork for libsemanage helpers to reduce memory overhead as suggested by Todd Miller.
ac914e4
811753b
* Mon Feb 4 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.22-1
811753b
- Update to upstream
ea03a1c
  * Free policydb before fork from Joshua Brindle.
ea03a1c
  * Drop the base module immediately after expanding to permit memory re-use from Stephen Smalley.
811753b
ade6fff
* Sat Feb 2 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.20-1
ade6fff
- Update to upstream
ea03a1c
  * Use sepol_set_expand_consume_base to reduce peak memory usage when
ea03a1c
  using semodule
ade6fff
2832956
* Fri Feb 1 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.19-1
2832956
- Update to upstream
ea03a1c
  * Fix genhomedircon to not override a file context with a homedir context from Todd Miller.
2832956
e2b1d21
* Tue Jan 29 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.18-1
e2b1d21
- Update to upstream
ea03a1c
  * Fix spurious out of memory error reports.
ea03a1c
  * Merged second version of fix for genhomedircon handling from Caleb Case.
e2b1d21
36d79c4
* Tue Jan 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.16-1
36d79c4
- Update to upstream
ea03a1c
  * Merged fix for genhomedircon handling of missing HOME_DIR or HOME_ROOT templates from Caleb Case.
36d79c4
924325d
* Tue Jan 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.15-2
924325d
- Stop differentiating on user for homedir labeling
924325d
1427637
* Thu Dec 6 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.15-1
1427637
- Update to upstream
ea03a1c
  * Fix genhomedircon handling of shells and missing user context template from Dan Walsh.
ea03a1c
  * Copy the store path in semanage_select_store from Dan Walsh.
1427637
- Add expand-check=0 to semanage.conf
1427637
f026dfb
* Mon Dec 3 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-5
3d2cf39
- Fix handling of /etc/shells so genhomedircon will work
3d2cf39
e3e8d63
* Thu Nov 29 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-3
e3e8d63
- Allow semanage_genhomedircon to work with out a USER int homedir.template
e3e8d63
e3e8d63
* Sat Nov 10 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-2
e3e8d63
- Fix semanage_select_store to allocate memory, fixes crash on invalid store
e3e8d63
58209b6
* Tue Nov 6 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.14-1
58209b6
- Upgrade to latest from NSA
ea03a1c
  * Call rmdir() rather than remove() on directory removal so that errno isn't polluted from Stephen Smalley.
ea03a1c
  * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley.
58209b6
fbe2b73
* Fri Oct 5 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.12-1
fbe2b73
- Upgrade to latest from NSA
ea03a1c
  * ustr cleanups from James Antill.
ea03a1c
  * Ensure that /root gets labeled even if using the default context from Dan Walsh.
fbe2b73
3ba23c8
* Fri Sep 28 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.11-1
3ba23c8
- Upgrade to latest from NSA
ea03a1c
  * Fix ordering of file_contexts.homedirs from Todd Miller and Dan Walsh.
3ba23c8
3ba23c8
* Fri Sep 28 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.10-2
3ba23c8
- Fix sort order on generated homedir context
3ba23c8
add9ada
* Fri Sep 28 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.10-1
add9ada
- Upgrade to latest from NSA
ea03a1c
  * Fix error checking on getpw*_r functions from Todd Miller.
ea03a1c
  * Make genhomedircon skip invalid homedir contexts from Todd Miller.
ea03a1c
  * Set default user and prefix from seusers from Dan Walsh.
ea03a1c
  * Add swigify Makefile target from Dan Walsh.
add9ada
8bb5a23
* Wed Sep 26 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.9-1
8bb5a23
- Upgrade to latest from NSA
ea03a1c
  * Pass CFLAGS to CC even on link command, per Dennis Gilmore.
ea03a1c
  * Clear errno on non-fatal errors to avoid reporting them upon a
ea03a1c
    later error that does not set errno.
ea03a1c
  * Improve reporting of system errors, e.g. full filesystem or read-only filesystem from Stephen Smalley.
8bb5a23
8bb5a23
- Fix segfault in genhomedircon when using bad user names
8bb5a23
0971186
* Wed Sep 26 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.6-2
0971186
- Fix genhomedircon code to only generate valid context
0971186
- Fixes autorelabel problem
0971186
422f3b6
* Thu Sep 13 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.6-1
422f3b6
- Upgrade to latest from NSA
ea03a1c
  * Change to use getpw* function calls to the _r versions from Todd Miller.
422f3b6
8f8294e
* Thu Aug 23 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.5-1
8f8294e
- Upgrade to latest from NSA
8f8294e
cf2b1c2
* Mon Aug 20 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.4-1
cf2b1c2
- Upgrade to latest from NSA
ea03a1c
  * Allow dontaudits to be turned off via semanage interface when
ea03a1c
    updating policy
cf2b1c2
6da4db8
* Sat Aug 11 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-5
6da4db8
- Add ability to load a policy without dontaudit rules
6da4db8
-
6da4db8
65c9f70
* Tue Jun 26 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-4
65c9f70
- Rebuild to fix segfault on x86 platforms, swigify on each build
65c9f70
d49d036
* Fri Jun 1 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-3
d49d036
- Rebuild for rawhide
d49d036
212e1b7
* Thu May 3 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-2
212e1b7
- Apply patch to fix dependencies in spec file from Robert Scheck
212e1b7
3e627b0
* Wed Apr 25 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.3-1
3e627b0
- Upgrade to latest from NSA
ea03a1c
  * Fix to libsemanage man patches so whatis will work better from Dan Walsh
3e627b0
b8748b2
* Wed Apr 25 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.2-1
b8748b2
- Upgrade to latest from NSA
ea03a1c
  * Merged optimizations from Stephen Smalley.
ea03a1c
    - do not set all booleans upon commit, only those whose values have changed
ea03a1c
    - only install the sandbox upon commit if something was rebuilt
b8748b2
eea9396
* Sat Mar 17 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.1-2
eea9396
- Add SELinux to Man page Names so man -k will work
eea9396
c52428e
* Mon Mar 12 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.1-1
ea03a1c
  * Merged dbase_file_flush patch from Dan Walsh.
ea03a1c
    This removes any mention of specific tools (e.g. semanage)
ea03a1c
    from the comment header of the auto-generated files,
ea03a1c
    since there are multiple front-end tools.
c52428e
7fe322b
* Tue Feb 20 2007 Dan Walsh <dwalsh@redhat.com> - 2.0.0-1
7fe322b
- Upgrade to latest from NSA
ea03a1c
  * Merged Makefile test target patch from Caleb Case.
ea03a1c
  * Merged get_commit_number function rename patch from Caleb Case.
ea03a1c
  * Merged strnlen -> strlen patch from Todd Miller.
7fe322b
6456c7a
* Wed Feb 7 2007 Dan Walsh <dwalsh@redhat.com> - 1.10.1-1
4b215a5
- Upgrade to latest from NSA
ea03a1c
  * Merged python binding fix from Dan Walsh.
ea03a1c
  * Updated version for stable branch.
4b215a5
b91d944
* Fri Dec 22 2006 Dan Walsh <dwalsh@redhat.com> - 1.9.2-1
b91d944
- Upgrade to latest from NSA
ea03a1c
  * Merged patch to optionally reduce disk usage by removing 
ea03a1c
    the backup module store and linked policy from Karl MacMillan
ea03a1c
  * Merged patch to correctly propagate return values in libsemanage
b91d944
7ccc8bd
* Fri Dec 22 2006 Dan Walsh <dwalsh@redhat.com> - 1.9.1-3
7ccc8bd
- Apply Karl MacMillan patch to get proper error codes.
7ccc8bd
bc624cc
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.9.1-2
bc624cc
- rebuild against python 2.5
bc624cc
6429e69
* Tue Nov 28 2006 Dan Walsh <dwalsh@redhat.com> - 1.9.1-1
6429e69
- Upgrade to latest from NSA
ea03a1c
  * Merged patch to compile wit -fPIC instead of -fpic from
ea03a1c
    Manoj Srivastava to prevent hitting the global offest table
ea03a1c
    limit. Patch changed to include libselinux and libsemanage in
ea03a1c
    addition to libsepol.
6429e69
003cc65
* Tue Oct 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.8-1
003cc65
- Upgrade to latest from NSA
ea03a1c
  * Updated version for release.
a6f3313
37c60b3
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.17-1
37c60b3
- Upgrade to latest from NSA
ea03a1c
  * Merged patch to skip reload if no active store exists and
ea03a1c
    the store path doesn't match the active store path from Dan Walsh.
ea03a1c
  * Merged patch to not destroy sepol handle on error path of
ea03a1c
    connect from James Athey.
ea03a1c
  * Merged patch to add genhomedircon path to semanage.conf from
ea03a1c
    James Athey. 
37c60b3
77e41c7
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.16-3
77e41c7
- Fix semanage to not load if is not the correct policy type and it is installing
77e41c7
da97666
* Thu Aug 31 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.16-2
da97666
- Fix requires lines
da97666
b1567cf
* Wed Aug 23 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.16-1
b1567cf
- Upgrade to latest from NSA
ea03a1c
  * Make most copy errors fatal, but allow exceptions for
ea03a1c
    file_contexts.local, seusers, and netfilter_contexts if
ea03a1c
    the source file does not exist in the store.
b1567cf
a6f3313
* Sat Aug 12 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.15-1
a6f3313
- Upgrade to latest from NSA
ea03a1c
  * Merged separate local file contexts patch from Chris PeBenito.
ea03a1c
  * Merged patch to make most copy errors non-fatal from Dan Walsh.
a6f3313
df4486c
* Thu Aug 10 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.13-3
df4486c
- Change other updates to be non-fatal
df4486c
6ba7395
* Wed Aug 9 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.13-2
6ba7395
- Change netfilter stuff to be non-fatal so update can proceed.
6ba7395
c102f81
* Thu Aug 3 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.13-1
c102f81
- Upgrade to latest from NSA
ea03a1c
  * Merged netfilter contexts support from Chris PeBenito.
c102f81
af95fdb
* Mon Jul 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.12-2
af95fdb
- Rebuild for new gcc
af95fdb
b4bff1f
* Tue Jul 11 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.12-1
b4bff1f
- Upgrade to latest from NSA
ea03a1c
  * Merged support for read operations on read-only fs from 
ea03a1c
    Caleb Case (Tresys Technology).
b4bff1f
43f2cfd
* Tue Jul 4 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.11-1
43f2cfd
- Upgrade to latest from NSA
ea03a1c
  * Lindent.
ea03a1c
  * Merged setfiles location check patch from Dan Walsh.
43f2cfd
1c63c08
* Fri Jun 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.9-1
1c63c08
- Upgrade to latest from NSA
ea03a1c
  * Merged several fixes from Serge Hallyn:
ea03a1c
       dbase_file_cache:  deref of uninit data on error path.
ea03a1c
       dbase_policydb_cache:  clear fp to avoid double fclose
ea03a1c
       semanage_fc_sort:  destroy temp on error paths
1c63c08
786f3e5
* Fri Jun 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-2
786f3e5
- Handle setfiles being in /sbin or /usr/sbin
786f3e5
25b23d0
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.8-1
25b23d0
- Upgrade to latest from NSA
ea03a1c
  * Updated default location for setfiles to /sbin to
ea03a1c
    match policycoreutils.  This can also be adjusted via 
ea03a1c
    semanage.conf using the syntax:
ea03a1c
    [setfiles]
ea03a1c
    path = /path/to/setfiles
ea03a1c
    args = -q -c $@ $<
ea03a1c
    [end]
25b23d0
8f1e8ed
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.7-3
8f1e8ed
- Spec file cleanup from n0dalus+redhat@gmail.com
8f1e8ed
8f1e8ed
* Mon May 15 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.7-2
8f1e8ed
- Add /usr/include/semanage to spec file
8f1e8ed
5b53b9a
* Mon May 8 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.7-1
5b53b9a
- Upgrade to latest from NSA
ea03a1c
  * Merged fix warnings patch from Karl MacMillan.
5b53b9a
96b801b
* Fri Apr 14 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.6-1
9b0bb20
- Upgrade to latest from NSA
ea03a1c
  * Merged updated file context sorting patch from Christopher
ea03a1c
    Ashworth, with bug fix for escaped character flag.
ea03a1c
  * Merged file context sorting code from Christopher Ashworth 
ea03a1c
    (Tresys Technology), based on fc_sort.c code in refpolicy.
ea03a1c
  * Merged python binding t_output_helper removal patch from Dan Walsh.
ea03a1c
  * Regenerated swig files.
9b0bb20
9b0bb20
* Wed Mar 29 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.3-1
9b0bb20
- Fix to work with new version of swig
9b0bb20
- Upgrade to latest from NSA
ea03a1c
  * Merged corrected fix for descriptor leak from Dan Walsh.
9b0bb20
a247f45
* Wed Mar 29 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.2-2
a247f45
- Fix leaky descriptor
a247f45
a247f45
* Tue Mar 21 2006 Dan Walsh <dwalsh@redhat.com> - 1.6.2-1
60ab106
- Upgrade to latest from NSA
ea03a1c
  * Merged Makefile PYLIBVER definition patch from Dan Walsh.
ea03a1c
  * Merged man page reorganization from Ivan Gyurdiev.
60ab106
5b53b9a
* Fri Mar 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.6-1
aa0c632
- Make work on RHEL4
aa0c632
- Upgrade to latest from NSA
ea03a1c
  * Merged abort early on merge errors patch from Ivan Gyurdiev.
ea03a1c
  * Cleaned up error handling in semanage_split_fc based on a patch
ea03a1c
    by Serge Hallyn (IBM) and suggestions by Ivan Gyurdiev.
ea03a1c
  * Merged MLS handling fixes from Ivan Gyurdiev.
aa0c632
5a4115f
* Fri Feb 17 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.28-1
5a4115f
- Upgrade to latest from NSA
ea03a1c
  * Merged bug fix for fcontext validate handler from Ivan Gyurdiev.
ea03a1c
  * Merged base_merge_components changes from Ivan Gyurdiev.
5a4115f
95d8014
* Thu Feb 16 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.26-1
95d8014
- Upgrade to latest from NSA
ea03a1c
  * Merged paths array patch from Ivan Gyurdiev.
ea03a1c
  * Merged bug fix patch from Ivan Gyurdiev.
ea03a1c
  * Merged improve bindings patch from Ivan Gyurdiev.
ea03a1c
  * Merged use PyList patch from Ivan Gyurdiev.  
ea03a1c
  * Merged memory leak fix patch from Ivan Gyurdiev.
ea03a1c
  * Merged nodecon support patch from Ivan Gyurdiev.
ea03a1c
  * Merged cleanups patch from Ivan Gyurdiev.
ea03a1c
  * Merged split swig patch from Ivan Gyurdiev.
95d8014
5cdd750
* Mon Feb 13 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.23-1
5cdd750
- Upgrade to latest from NSA
ea03a1c
  * Merged optionals in base patch from Joshua Brindle.
ea03a1c
  * Merged treat seusers/users_extra as optional sections patch from
ea03a1c
    Ivan Gyurdiev.
ea03a1c
  * Merged parse_optional fixes from Ivan Gyurdiev.
5cdd750
bdc5c50
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.21-2.1
bdc5c50
- bump again for double-long bug on ppc(64)
bdc5c50
437a167
* Fri Feb 10 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.21-2
437a167
- Fix handling of seusers and users_map file
437a167
437a167
* Tue Feb 07 2006 Dan Walsh <dwalsh@redhat.com> - 1.5.21-1
b406948
- Upgrade to latest from NSA
ea03a1c
  * Merged seuser/user_extra support patch from Joshua Brindle.
ea03a1c
  * Merged remote system dbase patch from Ivan Gyurdiev.  
b406948
7e12efe
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.20-1.1
7e12efe
- rebuilt for new gcc4.1 snapshot and glibc changes
7e12efe
c77fc83
* Thu Feb 2 2006 Dan Walsh <dwalsh@redhat.com> 1.5.20-1
c77fc83
- Upgrade to latest from NSA
ea03a1c
  * Merged clone record on set_con patch from Ivan Gyurdiev.  
c77fc83
9d3d831
* Mon Jan 30 2006 Dan Walsh <dwalsh@redhat.com> 1.5.19-1
9d3d831
- Upgrade to latest from NSA
ea03a1c
  * Merged fname parameter patch from Ivan Gyurdiev.
ea03a1c
  * Merged more size_t -> unsigned int fixes from Ivan Gyurdiev.
ea03a1c
  * Merged seusers.system patch from Ivan Gyurdiev.
ea03a1c
  * Merged improve port/fcontext API patch from Ivan Gyurdiev.  
9d3d831
2d7ec48
* Fri Jan 27 2006 Dan Walsh <dwalsh@redhat.com> 1.5.18-1
2d7ec48
- Upgrade to latest from NSA
ea03a1c
  * Merged seuser -> seuser_local rename patch from Ivan Gyurdiev.
ea03a1c
  * Merged set_create_store, access_check, and is_connected interfaces
ea03a1c
    from Joshua Brindle.
2d7ec48
659f45d
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.16-1
659f45d
- Upgrade to latest from NSA
ea03a1c
  * Regenerate python wrappers.
659f45d
42ed049
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.15-1
42ed049
- Upgrade to latest from NSA
ea03a1c
  * Merged pywrap Makefile diff from Dan Walsh.
ea03a1c
  * Merged cache management patch from Ivan Gyurdiev.
ea03a1c
  * Merged bugfix for dbase_llist_clear from Ivan Gyurdiev.
ea03a1c
  * Merged remove apply_local function patch from Ivan Gyurdiev.
ea03a1c
  * Merged only do read locking in direct case patch from Ivan Gyurdiev.
ea03a1c
  * Merged cache error path memory leak fix from Ivan Gyurdiev.
ea03a1c
  * Merged auto-generated file header patch from Ivan Gyurdiev.
ea03a1c
  * Merged pywrap test update from Ivan Gyurdiev.
ea03a1c
  * Merged hidden defs update from Ivan Gyurdiev.
42ed049
cef3ae1
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.14-2
cef3ae1
- Break out python out of regular Makefile
cef3ae1
c3f6b70
* Fri Jan 13 2006 Dan Walsh <dwalsh@redhat.com> 1.5.14-1
c3f6b70
- Upgrade to latest from NSA
ea03a1c
  * Merged disallow port overlap patch from Ivan Gyurdiev.
ea03a1c
  * Merged join prereq and implementation patches from Ivan Gyurdiev.
ea03a1c
  * Merged join user extra data part 2 patch from Ivan Gyurdiev.
ea03a1c
  * Merged bugfix patch from Ivan Gyurdiev.
ea03a1c
  * Merged remove add_local/set_local patch from Ivan Gyurdiev.
ea03a1c
  * Merged user extra data part 1 patch from Ivan Gyurdiev.
ea03a1c
  * Merged size_t -> unsigned int patch from Ivan Gyurdiev.
ea03a1c
  * Merged calloc check in semanage_store patch from Ivan Gyurdiev,
ea03a1c
    bug noticed by Steve Grubb.
ea03a1c
  * Merged cleanups after add/set removal patch from Ivan Gyurdiev.
c3f6b70
d70e174
* Fri Jan 7 2006 Dan Walsh <dwalsh@redhat.com> 1.5.9-1
d70e174
- Upgrade to latest from NSA
ea03a1c
  * Merged const in APIs patch from Ivan Gyurdiev.
ea03a1c
  * Merged validation of local file contexts patch from Ivan Gyurdiev.
ea03a1c
  * Merged compare2 function patch from Ivan Gyurdiev.
ea03a1c
  * Merged hidden def/proto update patch from Ivan Gyurdiev.
d70e174
f12cd09
* Thu Jan 6 2006 Dan Walsh <dwalsh@redhat.com> 1.5.8-1
f12cd09
- Upgrade to latest from NSA
ea03a1c
  * Re-applied string and file optimization patch from Russell Coker,
ea03a1c
    with bug fix.
ea03a1c
  * Reverted string and file optimization patch from Russell Coker.
ea03a1c
  * Clarified error messages from parse_module_headers and 
ea03a1c
    parse_base_headers for base/module mismatches.
f12cd09
bcfb02b
* Thu Jan 6 2006 Dan Walsh <dwalsh@redhat.com> 1.5.6-1
bcfb02b
- Upgrade to latest from NSA
ea03a1c
  * Clarified error messages from parse_module_headers and 
ea03a1c
    parse_base_headers for base/module mismatches.
ea03a1c
  * Merged string and file optimization patch from Russell Coker.
ea03a1c
  * Merged swig header reordering patch from Ivan Gyurdiev.
ea03a1c
  * Merged toggle modify on add patch from Ivan Gyurdiev.
ea03a1c
  * Merged ports parser bugfix patch from Ivan Gyurdiev.
ea03a1c
  * Merged fcontext swig patch from Ivan Gyurdiev.
ea03a1c
  * Merged remove add/modify/delete for active booleans patch from Ivan Gyurdiev.
ea03a1c
  * Merged man pages for dbase functions patch from Ivan Gyurdiev.
ea03a1c
  * Merged pywrap tests patch from Ivan Gyurdiev.
bcfb02b
bcfb02b
* Wed Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 1.5.4-2
bcfb02b
- Patch to fix add
bcfb02b
112859c
* Wed Jan 5 2006 Dan Walsh <dwalsh@redhat.com> 1.5.4-1
112859c
- Upgrade to latest from NSA
ea03a1c
  * Merged patch series from Ivan Gyurdiev.
ea03a1c
    This includes patches to:
ea03a1c
    - separate file rw code from linked list
ea03a1c
    - annotate objects
ea03a1c
    - fold together internal headers
ea03a1c
    - support ordering of records in compare function
ea03a1c
    - add active dbase backend, active booleans
ea03a1c
    - return commit numbers for ro database calls
ea03a1c
    - use modified flags to skip rebuild whenever possible
ea03a1c
    - enable port interfaces
ea03a1c
    - update swig interfaces and typemaps
ea03a1c
    - add an API for file_contexts.local and file_contexts
ea03a1c
    - flip the traversal order in iterate/list
ea03a1c
    - reorganize sandbox_expand
ea03a1c
    - add seusers MLS validation
ea03a1c
    - improve dbase spec/documentation
ea03a1c
    - clone record on set/add/modify
112859c
23614f8
* Tue Dec 27 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-3
23614f8
- Add Ivans patch to turn on ports
23614f8
a151f78
* Wed Dec 14 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-2
a151f78
- Remove patch since upstream does the right thing
a151f78
c2b1e26
* Wed Dec 14 2005 Dan Walsh <dwalsh@redhat.com> 1.5.3-1
c2b1e26
- Upgrade to latest from NSA
ea03a1c
  * Merged further header cleanups from Ivan Gyurdiev.
ea03a1c
  * Merged toggle modified flag in policydb_modify, fix memory leak
ea03a1c
    in clear_obsolete, polymorphism vs headers fix, and include guards
ea03a1c
    for internal headers patches from Ivan Gyurdiev.
c2b1e26
9993e32
* Tue Dec 13 2005 Dan Walsh <dwalsh@redhat.com> 1.5.1-2
9993e32
- Upgrade to latest from NSA
ea03a1c
  * Merged toggle modified flag in policydb_modify, fix memory leak
ea03a1c
    in clear_obsolete, polymorphism vs headers fix, and include guards
ea03a1c
    for internal headers patches from Ivan Gyurdiev.
9993e32
2b5b2a6
* Mon Dec 12 2005 Dan Walsh <dwalsh@redhat.com> 1.5.1-1
2b5b2a6
- Upgrade to latest from NSA
ea03a1c
  * Added file-mode= setting to semanage.conf, default to 0644.
ea03a1c
    Changed semanage_copy_file and callers to use this mode when
ea03a1c
    installing policy files to runtime locations.
2b5b2a6
522bb5c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
522bb5c
- rebuilt
522bb5c
c96070d
* Wed Dec 7 2005 Dan Walsh <dwalsh@redhat.com> 1.4-1
97de529
- Fix mode of output seusers file
97de529
d6123fe
* Tue Dec 6 2005 Dan Walsh <dwalsh@redhat.com> 1.3.64-1
d6123fe
- Upgrade to latest from NSA
ea03a1c
  * Changed semanage_handle_create() to set do_reload based on
ea03a1c
    is_selinux_enabled().  This prevents improper attempts to
ea03a1c
    load policy on a non-SELinux system.
d6123fe
d6123fe
* Mon Dec 5 2005 Dan Walsh <dwalsh@redhat.com> 1.3.63-1
d6123fe
- Upgrade to latest from NSA
ea03a1c
  * Dropped handle from user_del_role interface.
ea03a1c
  * Removed defrole interfaces.
d6123fe
ff57ee5
* Tue Nov 29 2005 Dan Walsh <dwalsh@redhat.com> 1.3.61-1
ff57ee5
- Upgrade to latest from NSA
ea03a1c
  * Merged Makefile python definitions patch from Dan Walsh.
ea03a1c
  * Removed is_selinux_mls_enabled() conditionals in seusers and users
ea03a1c
    file parsers. 
ff57ee5
066e239
* Wed Nov 23 2005 Dan Walsh <dwalsh@redhat.com> 1.3.59-1
066e239
- Add additional swig objects
ea03a1c
  * Merged wrap char*** for user_get_roles patch from Joshua Brindle.
ea03a1c
  * Merged remove defrole from sepol patch from Ivan Gyurdiev.
ea03a1c
  * Merged swig wrappers for modifying users and seusers from Joshua Brindle.
066e239
be0e043
* Wed Nov 23 2005 Dan Walsh <dwalsh@redhat.com> 1.3.56-2
be0e043
- Add additional swig objects
be0e043
ffe4d2b
* Fri Nov 16 2005 Dan Walsh <dwalsh@redhat.com> 1.3.56-1
ffe4d2b
- Upgrade to latest from NSA
ea03a1c
  * Fixed free->key_free bug.
ea03a1c
  * Merged clear obsolete patch from Ivan Gyurdiev.
ea03a1c
  * Merged modified swigify patch from Dan Walsh 
ea03a1c
    (original patch from Joshua Brindle).
ea03a1c
  * Merged move genhomedircon call patch from Chad Sellers.
ffe4d2b
ab22837
* Mon Nov 14 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-3
ab22837
- Add genhomedircon patch from Joshua Brindle
ab22837
a711440
* Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-2
a711440
- Add swigify patch from Joshua Brindle
a711440
bb7c4a7
* Fri Nov 11 2005 Dan Walsh <dwalsh@redhat.com> 1.3.53-1
bb7c4a7
- Upgrade to latest from NSA
ea03a1c
  * Merged move seuser validation patch from Ivan Gyurdiev.
ea03a1c
  * Merged hidden declaration fixes from Ivan Gyurdiev,
ea03a1c
    with minor corrections.
bb7c4a7
0e20be8
* Wed Nov 9 2005 Dan Walsh <dwalsh@redhat.com> 1.3.52-1
0e20be8
- Upgrade to latest from NSA
ea03a1c
  * Merged cleanup patch from Ivan Gyurdiev.
ea03a1c
    This renames semanage_module_conn to semanage_direct_handle,
ea03a1c
    and moves sepol handle create/destroy into semanage handle
ea03a1c
    create/destroy to allow use even when disconnected (for the
ea03a1c
    record interfaces).
0e20be8
32ce509
* Tue Nov 8 2005 Dan Walsh <dwalsh@redhat.com> 1.3.51-1
32ce509
- Upgrade to latest from NSA
ea03a1c
  * Clear modules modified flag upon disconnect and commit.
32ce509
        * Added tracking of module modifications and use it to
ea03a1c
    determine whether expand-time checks should be applied
ea03a1c
    on commit.
ea03a1c
  * Reverted semanage_set_reload_bools() interface.
32ce509
ef65cfd
* Tue Nov 8 2005 Dan Walsh <dwalsh@redhat.com> 1.3.48-1
ef65cfd
- Upgrade to latest from NSA
ea03a1c
  * Disabled calls to port dbase for merge and commit and stubbed
ea03a1c
    out calls to sepol_port interfaces since they are not exported.
ea03a1c
  * Merged rename instead of copy patch from Joshua Brindle (Tresys).
ea03a1c
  * Added hidden_def/hidden_proto for exported symbols used within 
ea03a1c
    libsemanage to eliminate relocations.  Wrapped type definitions
ea03a1c
    in exported headers as needed to avoid conflicts.  Added
ea03a1c
    src/context_internal.h and src/iface_internal.h.
ea03a1c
  * Added semanage_is_managed() interface to allow detection of whether
ea03a1c
    the policy is managed via libsemanage.  This enables proper handling
ea03a1c
    in setsebool for non-managed systems.
ea03a1c
  * Merged semanage_set_reload_bools() interface from Ivan Gyurdiev,
ea03a1c
    to enable runtime control over preserving active boolean values
ea03a1c
    versus reloading their saved settings upon commit.
ef65cfd
bfd9450
* Mon Nov 7 2005 Dan Walsh <dwalsh@redhat.com> 1.3.43-1
bfd9450
- Upgrade to latest from NSA
ea03a1c
  * Merged seuser parser resync, dbase tracking and cleanup, strtol
ea03a1c
    bug, copyright, and assert space patches from Ivan Gyurdiev.
ea03a1c
  * Added src/*_internal.h in preparation for other changes.
ea03a1c
   * Added hidden/hidden_proto/hidden_def to src/debug.[hc] and
bfd9450
          src/seusers.[hc].
bfd9450
bfd9450
f2d442c
* Thu Nov 3 2005 Dan Walsh <dwalsh@redhat.com> 1.3.41-1
f2d442c
- Upgrade to latest from NSA
ea03a1c
  * Merged interface parse/print, context_to_string interface change,
ea03a1c
    move assert_noeof, and order preserving patches from Ivan Gyurdiev.
f2d442c
        * Added src/dso.h in preparation for other changes.
ea03a1c
  * Merged install seusers, handle/error messages, MLS parsing,
ea03a1c
    and seusers validation patches from Ivan Gyurdiev.
f2d442c
62754d6
* Mon Oct 31 2005 Dan Walsh <dwalsh@redhat.com> 1.3.39-1
62754d6
- Upgrade to latest from NSA
ea03a1c
  * Merged record interface, dbase flush, common database code,
ea03a1c
    and record bugfix patches from Ivan Gyurdiev.
62754d6
24d6364
* Fri Oct 28 2005 Dan Walsh <dwalsh@redhat.com> 1.3.38-1
24d6364
- Upgrade to latest from NSA
ea03a1c
  * Merged dbase policydb list and count change from Ivan Gyurdiev.
ea03a1c
  * Merged enable dbase and set relay patches from Ivan Gyurdiev.
24d6364
24d6364
* Thu Oct 27 2005 Dan Walsh <dwalsh@redhat.com> 1.3.36-1
24d6364
- Update from NSA
ea03a1c
  * Merged query APIs and dbase_file_set patches from Ivan Gyurdiev.
24d6364
24d6364
* Wed Oct 26 2005 Dan Walsh <dwalsh@redhat.com> 1.3.35-1
24d6364
- Update from NSA
ea03a1c
  * Merged sepol handle passing, seusers support, and policydb cache
ea03a1c
    patches from Ivan Gyurdiev.
24d6364
35380af
* Tue Oct 25 2005 Dan Walsh <dwalsh@redhat.com> 1.3.34-1
35380af
- Update from NSA
ea03a1c
  * Merged resync to sepol changes and booleans fixes/improvements 
ea03a1c
    patches from Ivan Gyurdiev.
ea03a1c
  * Merged support for genhomedircon/homedir template, store selection,
ea03a1c
    explicit policy reload, and semanage.conf relocation from Joshua
ea03a1c
    Brindle.
35380af
ac43226
* Mon Oct 24 2005 Dan Walsh <dwalsh@redhat.com> 1.3.32-1
ac43226
- Update from NSA
ea03a1c
  * Merged resync to sepol changes and transaction fix patches from
ea03a1c
    Ivan Gyurdiev.
ea03a1c
  * Merged reorganize users patch from Ivan Gyurdiev.
ea03a1c
  * Merged remove unused relay functions patch from Ivan Gyurdiev.
ac43226
bed7f30
* Fri Oct 21 2005 Dan Walsh <dwalsh@redhat.com> 1.3.30-1
bed7f30
- Update from NSA
ea03a1c
  * Fixed policy file leaks in semanage_load_module and
ea03a1c
    semanage_write_module.
ea03a1c
  * Merged further database work from Ivan Gyurdiev.
ea03a1c
  * Fixed bug in semanage_direct_disconnect.
bed7f30
e4a5671
* Thu Oct 20 2005 Dan Walsh <dwalsh@redhat.com> 1.3.28-1
e4a5671
- Update from NSA
ea03a1c
  * Merged interface renaming patch from Ivan Gyurdiev.
ea03a1c
  * Merged policy component patch from Ivan Gyurdiev.
ea03a1c
  * Renamed 'check=' configuration value to 'expand-check=' for 
ea03a1c
    clarity.
ea03a1c
  * Changed semanage_commit_sandbox to check for and report errors 
ea03a1c
    on rename(2) calls performed during rollback.
ea03a1c
  * Added optional check= configuration value to semanage.conf 
ea03a1c
    and updated call to sepol_expand_module to pass its value
ea03a1c
    to control assertion and hierarchy checking on module expansion.
ea03a1c
  * Merged fixes for make DESTDIR= builds from Joshua Brindle.
e4a5671
e4a5671
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.24-1
31d6500
- Update from NSA
ea03a1c
  * Merged default database from Ivan Gyurdiev.
ea03a1c
  * Merged removal of connect requirement in policydb backend from
ea03a1c
    Ivan Gyurdiev.
ea03a1c
  * Merged commit locking fix and lock rename from Joshua Brindle.
ea03a1c
  * Merged transaction rollback in lock patch from Joshua Brindle.
ea03a1c
  * Changed default args for load_policy to be null, as it no longer
ea03a1c
    takes a pathname argument and we want to preserve booleans.
ea03a1c
  * Merged move local dbase initialization patch from Ivan Gyurdiev.
ea03a1c
  * Merged acquire/release read lock in databases patch from Ivan Gyurdiev.
ea03a1c
  * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev.
ea03a1c
  * Added calls to sepol_policy_file_set_handle interface prior
ea03a1c
    to invoking sepol operations on policy files.
ea03a1c
  * Updated call to sepol_policydb_from_image to pass the handle.
31d6500
31d6500
e4a5671
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.20-1
b18ef05
- Update from NSA
ea03a1c
  * Changed default args for load_policy to be null, as it no longer
ea03a1c
    takes a pathname argument and we want to preserve booleans.
ea03a1c
  * Merged move local dbase initialization patch from Ivan Gyurdiev.
ea03a1c
  * Merged acquire/release read lock in databases patch from Ivan Gyurdiev.
ea03a1c
  * Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev.
ea03a1c
  * Added calls to sepol_policy_file_set_handle interface prior
ea03a1c
    to invoking sepol operations on policy files.
ea03a1c
  * Updated call to sepol_policydb_from_image to pass the handle.
aac0cfd
e4a5671
* Tue Oct 18 2005 Dan Walsh <dwalsh@redhat.com> 1.3.20-1
aac0cfd
- Update from NSA
ea03a1c
  * Merged user and port APIs - policy database patch from Ivan
ea03a1c
  Gyurdiev.
ea03a1c
  * Converted calls to sepol link_packages and expand_module interfaces
ea03a1c
  from using buffers to using sepol handles for error reporting, and 
ea03a1c
  changed direct_connect/disconnect to create/destroy sepol handles.
b18ef05
830a300
* Sat Oct 15 2005 Dan Walsh <dwalsh@redhat.com> 1.3.18-1
830a300
- Update from NSA
ea03a1c
  * Merged bugfix patch from Ivan Gyurdiev.
ea03a1c
  * Merged seuser database patch from Ivan Gyurdiev.
ea03a1c
  Merged direct user/port databases to the handle from Ivan Gyurdiev.
ea03a1c
  * Removed obsolete include/semanage/commit_api.h (leftover).
ea03a1c
  Merged seuser record patch from Ivan Gyurdiev.
ea03a1c
  * Merged boolean and interface databases from Ivan Gyurdiev.
830a300
43db242
* Fri Oct 14 2005 Dan Walsh <dwalsh@redhat.com> 1.3.14-1
43db242
- Update from NSA
ea03a1c
  * Updated to use get interfaces for hidden sepol_module_package type.
ea03a1c
  * Changed semanage_expand_sandbox and semanage_install_active
ea03a1c
  to generate/install the latest policy version supported  by libsepol
ea03a1c
  by default (unless overridden by semanage.conf), since libselinux
ea03a1c
  will now downgrade automatically for load_policy.
ea03a1c
  * Merged new callback-based error reporting system and ongoing
ea03a1c
  database work from Ivan Gyurdiev.
43db242
43db242
* Wed Oct 12 2005 Dan Walsh <dwalsh@redhat.com> 1.3.11-1
e479f60
- Update from NSA
ea03a1c
  * Fixed semanage_install_active() to use the same logic for
ea03a1c
  selecting a policy version as semanage_expand_sandbox().  Dropped
ea03a1c
  dead code from semanage_install_sandbox().
e479f60
3b90157
* Mon Oct 10 2005 Dan Walsh <dwalsh@redhat.com> 1.3.10-1
3b90157
- Update from NSA
ea03a1c
  * Updated for changes to libsepol, and to only use types and interfaces
ea03a1c
  provided by the shared libsepol.
3b90157
278e64a
* Fri Oct 7 2005 Dan Walsh <dwalsh@redhat.com> 1.3.9-1
278e64a
- Update from NSA
ea03a1c
  * Merged further database work from Ivan Gyurdiev.
278e64a
8b0a28a
* Tue Oct 4 2005 Dan Walsh <dwalsh@redhat.com> 1.3.8-1
8b0a28a
- Update from NSA
ea03a1c
  * Merged iterate, redistribute, and dbase split patches from
ea03a1c
  Ivan Gyurdiev.
8b0a28a
b2247ee
* Mon Oct 3 2005 Dan Walsh <dwalsh@redhat.com> 1.3.7-1
b2247ee
- Update from NSA
ea03a1c
  * Merged patch series from Ivan Gyurdiev.
ea03a1c
    (pointer typedef elimination, file renames, dbase work, backend
ea03a1c
     separation)
ea03a1c
  * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
ea03a1c
  * Separated handle create from connect interface.
ea03a1c
  * Added a constructor for initialization.
ea03a1c
  * Moved up src/include/*.h to src.
ea03a1c
  * Created a symbol map file; dropped dso.h and hidden markings.
b2247ee
9e67036
* Wed Sep 28 2005 Dan Walsh <dwalsh@redhat.com> 1.3.5-1
9e67036
- Update from NSA
ea03a1c
  * Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
ea03a1c
  * Separated handle create from connect interface.
ea03a1c
  * Added a constructor for initialization.
ea03a1c
  * Moved up src/include/*.h to src.
ea03a1c
  * Created a symbol map file; dropped dso.h and hidden markings.
9e67036
f23f477
* Fri Sep 23 2005 Dan Walsh <dwalsh@redhat.com> 1.3.4-1
f23f477
- Update from NSA
ea03a1c
  * Merged dbase redesign patch from Ivan Gyurdiev.
f23f477
bc7b8ad
* Wed Sep 21 2005 Dan Walsh <dwalsh@redhat.com> 1.3.3-1
bc7b8ad
- Update from NSA
ea03a1c
  * Merged boolean record, stub record handler, and status codes 
ea03a1c
    patches from Ivan Gyurdiev.
bc7b8ad
df7239b
* Tue Sep 20 2005 Dan Walsh <dwalsh@redhat.com> 1.3.2-1
df7239b
- Update from NSA
ea03a1c
  * Merged stub iterator functionality from Ivan Gyurdiev.
ea03a1c
  * Merged interface record patch from Ivan Gyurdiev.
df7239b
25d2554
* Wed Sep 14 2005 Dan Walsh <dwalsh@redhat.com> 1.3.1-1
25d2554
- Update from NSA
ea03a1c
  * Merged stub functionality for managing user and port records,
ea03a1c
  and record table code from Ivan Gyurdiev.
ea03a1c
  * Updated version for release.
25d2554
c05d7ad
* Thu Sep 1 2005 Dan Walsh <dwalsh@redhat.com> 1.1.6-1
c05d7ad
- Update from NSA
ea03a1c
  * Merged semod.conf template patch from Dan Walsh (Red Hat),
ea03a1c
  but restored location to /usr/share/semod/semod.conf.
ea03a1c
  * Fixed several bugs found by valgrind.
ea03a1c
  * Fixed bug in prior patch for the semod_build_module_list leak.
ea03a1c
  * Merged errno fix from Joshua Brindle (Tresys).
ea03a1c
  * Merged fix for semod_build_modules_list leak on error path
ea03a1c
    from Serge Hallyn (IBM).  Bug found by Coverity.
c05d7ad
c05d7ad
* Thu Aug 25 2005 Dan Walsh <dwalsh@redhat.com> 1.1.3-1
d9ff1de
- Update from NSA
ea03a1c
  * Merged errno fix from Joshua Brindle (Tresys).
ea03a1c
  * Merged fix for semod_build_modules_list leak on error path
ea03a1c
    from Serge Hallyn (IBM).  Bug found by Coverity.
ea03a1c
  * Merged several fixes from Serge Hallyn (IBM).  Bugs found by
ea03a1c
    Coverity.
ea03a1c
  * Fixed several other bugs and warnings.
ea03a1c
  * Merged patch to move module read/write code from libsemanage
ea03a1c
    to libsepol from Jason Tang (Tresys).  
ea03a1c
  * Merged relay records patch from Ivan Gyurdiev.
ea03a1c
  * Merged key extract patch from Ivan Gyurdiev.
4800db7
4800db7
- Initial version
4800db7
- Created by Stephen Smalley <sds@epoch.ncsc.mil> 
4800db7
4800db7