Commit Graph

300 Commits

Author SHA1 Message Date
Petr Lautrbach
4d621a89d6 libsemanage-2.5-6
- Fixes bug preventing the installation of base modules
- make distclean target work
- Do not always print a module name warning
- Use pp module name instead of filename when installing module
- tests: Do not force using gcc
- genhomedircon: add support for %group syntax
- genhomedircon: generate contexts for logins mapped to the default
ser
- Validate and compile file contexts before installing
- Swap tcp and udp protocol numbers
2016-11-22 18:22:54 +01:00
Petr Lautrbach
326e0ec7f9 libsemanage-2.5-5
- Sort object files for deterministic linking order
- Support overriding Makefile RANLIB
- Respect CC and PKG_CONFIG environment variable
2016-07-14 11:06:54 +02:00
Petr Lautrbach
218ea5cc02 libsemanage-2.5-4
- Fix multiple spelling errors
- genhomedircon: %{USERID} and %{USERNAME} support and code cleanup
2016-07-14 11:05:30 +02:00
Petr Lautrbach
ef444a88f3 libsemanage-2.5-2
- Use fully versioned arch-specific requires
2016-02-28 19:59:56 +01:00
Petr Lautrbach
5f5cd53c1b Use fully versioned arch-specific requires
https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package
2016-02-28 19:58:49 +01:00
Petr Lautrbach
83d1ec7678 libsemanage-2.5-1
- Update to upstream release 2016-02-23
2016-02-23 22:19:58 +01:00
Petr Lautrbach
5d71d668b9 BuildRequires: python 2016-02-21 14:59:48 +01:00
Petr Lautrbach
288daf8999 libsemanage-2.5-0.1.rc1
Update to upstream rc1 release 2016-01-07
2016-02-21 12:37:19 +01:00
Dennis Gilmore
95eef66f4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 03:54:09 +00:00
Robert Kuska
e6fb2b816f Rebuilt for Python3.5 rebuild 2015-11-04 10:43:01 +01:00
Petr Lautrbach
a24f66486d libsemanage-2.4-4
- Save homedir_template in the policy store for genhomedircon
  https://bugs.gentoo.org/558686
2015-09-04 09:58:55 +02:00
Adam Jackson
ec0d6590d9 Pass ldflags into the build so hardening works 2015-08-14 14:55:39 -04:00
Petr Lautrbach
489cabf310 libsemanage-2.4-2
- semanage_migrate_store: use /usr/bin/python3
- move semanage_migrate_store script to libsemanage-python3 (#1248002)
2015-07-30 18:17:39 +02:00
Petr Lautrbach
978a4047fc Upload libsemanage-2.4.tar.gz to lookaside cache 2015-07-20 18:14:08 +02:00
Petr Lautrbach
ed8fe0a212 Re-order changelogs entries 2015-07-20 18:10:32 +02:00
Petr Lautrbach
40002ca5f7 Merge branch 'private-master-2.4'
libsemanage-2.4-1
2015-07-20 18:09:00 +02:00
Petr Lautrbach
c1c140a26e * Wed Jun 24 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-0.6
- Allow to use compressed modules without a compression extension
2015-06-24 18:00:08 +02:00
Dennis Gilmore
2d874ef491 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 17:15:07 +00:00
Petr Lautrbach
7c6e3d711b * Tue Jun 16 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-0.5
- add /var/lib/selinux/tmp directory
2015-06-16 16:19:45 +02:00
Petr Lautrbach
814c1da596 add /var/lib/selinux/tmp directory 2015-06-16 16:19:16 +02:00
Petr Lautrbach
98249f5718 libsemanage-2.4-0.4 2015-05-12 19:32:12 +02:00
Petr Lautrbach
0df50b80dd HEAD 2fa9bda562
- semanage_migrate_store: add -r <root> option for migrating inside chroots
2015-05-12 19:31:02 +02:00
Petr Lautrbach
153a29f02a Update to upstream release 2.4 from https://github.com/bachradsusi/selinux.git branch 2.4 2015-04-13 14:52:15 +02:00
Peter Robinson
3387bb8a63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 05:56:21 +00:00
Miroslav Grepl
bc9b70b7c6 * Wed Jul 30 2014 Miroslav Grepl <mgrepl@fedoraproject.org> - 2.3-5
- Skip policy module re-link when only setting booleans.
    * patch from Stephen Smalley
2014-07-30 19:22:07 +02:00
Tom Callaway
3b4c09022e fix license handling 2014-07-18 15:19:21 -04:00
Dennis Gilmore
01f8a9facb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:24:21 -05:00
Kalev Lember
70daba3c78 Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-28 12:12:50 +02:00
Dan Walsh
059a39519f Update to upstream
* Fix memory leak in semanage_genhomedircon from Thomas Hurd.
2014-05-06 14:33:02 -04:00
Dan Walsh
a0fdb6de82 libsemanage: fix memory leak in semanage_genhomedircon
- Patch from THomas Hurd
2014-03-31 08:34:33 -04:00
Dan Walsh
b321505c81 Move semanage.conf man page from devel package to main package 2014-02-11 09:30:21 -05:00
Dan Walsh
d76cbbc290 Update to upstream
* Avoid duplicate list entries from Dan Walsh.
	* Add audit support to libsemanage from Dan Walsh.
	* Remove policy.kern and replace with symlink from Dan Walsh.
	* Apply a MAX_UID check for genhomedircon from Laurent Bigonville.
	* Fix man pages from Laurent Bigonville.
2013-10-31 09:31:40 -04:00
Dan Walsh
ab84ace2a1 Cleanup handling of missing mls_range to fix problems with useradd -Z
- Fix auditing of login record changes, roles were not working correctly.
Resolves: #952237
2013-10-16 14:34:13 -04:00
Dan Walsh
8dcd430104 Fix errors found by coverity 2013-10-04 14:55:58 -04:00
Dan Walsh
2a9c9b49a7 Do not fail on missing SELinux User Record when adding login record 2013-09-25 12:46:19 -04:00
Dan Walsh
a7e3a97407 Add msg to audit records 2013-09-23 15:11:52 -04:00
Dan Walsh
4bccd198db Do not write error message to screen when looking for previous record for auditing.
- Add mls_range from user record if the MLS range is not specified by the seuser add record.
- Error out if seuser or mls range is not specified when adding user records
2013-09-23 14:30:33 -04:00
Dan Walsh
a70e6a436c Create symlink from policy.kern to active kernel. 2013-09-09 09:34:32 -04:00
Dan Walsh
a7785d28a7 Move handling of role audit records into the library
- Patch stops semanage from removing user record while in use
2013-07-26 17:49:13 -04:00
Dan Walsh
514a8aa4c0 Move handling of role audit records into the library
- Patch stops semanage from removing user record while in use
2013-07-26 17:39:40 -04:00
Dan Walsh
d0c5aefe7f Remove dependance on selinux-policy, /etc/selinux should be owned by libsemanage, and selinux-policy can require it. 2013-07-09 11:12:34 -04:00
Dan Walsh
3d5abbea35 Allways build python3 version 2013-06-28 06:29:56 -04:00
Dan Walsh
4c4dc161a0 - Fix test suite to build 2013-06-28 06:29:06 -04:00
Dan Walsh
13bc72f76a - Fix test suite to build 2013-04-22 10:29:48 -04:00
Dan Walsh
db579f949e Fix test suite to build 2013-04-11 11:37:19 -04:00
Dan Walsh
518c1aa0ae Revert some changes which are causing the wrong policy version file to be created 2013-02-14 07:58:54 -05:00
Dan Walsh
1021fcbc45 Update to upstream
* Add sefcontext_compile to compile regex everytime policy is rebuilt
	* Cleanup/fix enable/disable/remove module.
	* redo genhomedircon minuid
	* fixes from coverity
	* semanage_store: do not leak memory in semanage_exec_prog
	* genhomedircon: remove useless conditional in get_home_dirs
	* genhomedircon: double free in get_home_dirs
	* fcontext_record: do not leak on error in semanage_fcontext_key_create
	* genhomedircon: do not leak on failure in write_gen_home_dir_context
	* semanage_store: do not leak fd
	* genhomedircon: do not leak shells list
	* semanage_store: do not leak on strdup failure
	* semanage_store: rewrite for readability
2013-02-07 13:41:45 -05:00
Dan Walsh
4f6c727597 Add selinux-policy as a requires to get /etc/selinux owned 2013-01-16 09:56:17 -05:00
Dan Walsh
971fc3e245 Add /etc/selinux to payload for case where selinux-policy is not installed 2013-01-16 09:37:32 -05:00
Dan Walsh
15a3a08fb3 Update to latest patches from eparis/Upstream
-    libsemanage: fixes from coverity
-    libsemange: redo genhomedircon minuid
2013-01-05 11:31:53 -05:00