Commit Graph

703 Commits

Author SHA1 Message Date
Petr Lautrbach
5f312f8f65 Drop sha1.c from 0001-Use-SHA-2-instead-of-SHA-1.patch
Fixes:

    sha1.c:26:10: fatal error: sha1.h: No such file or directory
       26 | #include "sha1.h"
          |          ^~~~~~~~
    compilation terminated.
2021-09-29 17:21:52 +02:00
Petr Lautrbach
458f26d091 SELinux userspace 3.3-rc2 release 2021-09-29 14:40:03 +02:00
Petr Lautrbach
ae2afb9386 libselinux-3.2-4
Rebase on upstream commit 32611aea6543

See
    $ cd SELinuxProject/selinux
    $ git log --pretty=oneline libsepol-3.2..32611aea6543 -- libsepol
2021-07-28 16:58:52 +02:00
Fedora Release Engineering
1f82cc7a54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 12:21:38 +00:00
Python Maint
b8d77c650d Rebuilt for Python 3.10 2021-06-03 10:37:09 +02:00
Petr Lautrbach
8ee91681cc SELinux userspace 3.2 release 2021-03-08 15:51:18 +01:00
Petr Lautrbach
eb76942819 SELinux userspace 3.2-rc2 release 2021-02-05 10:17:12 +01:00
Fedora Release Engineering
444b9a9424 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 17:59:23 +00:00
Petr Lautrbach
a749a265bd SELinux userspace 3.2-rc1 release
https://lore.kernel.org/selinux/87a6t36bpp.fsf@redhat.com/T/#u
2021-01-20 16:43:22 +01:00
Mamoru TASAKA
542cd73a5d F-34: rebuild against ruby 3.0 2021-01-07 11:40:58 +09:00
Petr Lautrbach
93aa02b877 Enable gating on tests
https://docs.fedoraproject.org/en-US/ci/gating/
2020-11-20 14:33:36 +01:00
Petr Lautrbach
c2f612087d libselinux-3.1-5
- selinux(8): explain that runtime disable is deprecated
2020-11-20 14:33:36 +01:00
Petr Lautrbach
2b807f244a Add make to BuildRequires 2020-11-04 20:21:31 +01:00
Petr Lautrbach
8899502a28 libselinux-3.1-4
- Use libsepol.so.2
- Convert matchpathcon to selabel_lookup()
- Change userspace AVC setenforce and policy load messages to audit
  format
- Remove trailing slash on selabel_file lookups
- Use kernel status page by default
2020-10-30 12:57:18 +01:00
Petr Lautrbach
74de835e2c Rebase on db0f2f382e31 at SELinuxProject
- Use libsepol.so.2
- Convert matchpathcon to selabel_lookup()
- Change userspace AVC setenforce and policy load messages to audit
  format
- Remove trailing slash on selabel_file lookups
- Use kernel status page by default
2020-10-30 12:56:19 +01:00
Jeff Law
1f5682248b Re-enable LTO 2020-09-02 12:41:27 -06:00
Petr Lautrbach
2b98f772a6 Use -fno-semantic-interposition and more make macros
see https://github.com/SELinuxProject/selinux/blob/master/README.md

CFLAGS that are encouraged to be set when overriding are:

  -fno-semantic-interposition for gcc or compilers that do not do this.
2020-07-22 21:21:24 +02:00
Tom Stellard
1eee30d43f Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-21 04:44:34 +00:00
Petr Lautrbach
a0956bca33 libselinux-3.1-1
- SELinux userspace 3.1 release
2020-07-13 09:49:43 +02:00
Jeff Law
c1725b1580 Disable LTO 2020-07-01 12:28:00 -06:00
Miro Hrončok
f9c8eab379 Rebuilt for Python 3.9 2020-05-23 06:04:14 +02:00
Petr Lautrbach
ddd80eeb74 libselinux-3.0-4
- Eliminate use of security_compute_user()
2020-03-05 14:38:46 +01:00
Fedora Release Engineering
53aea8974b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:20:40 +00:00
Mamoru TASAKA
e76c42e2c7 F-32: rebuild against ruby27 2020-01-18 13:49:27 +09:00
Petr Lautrbach
10608d13f5 SELinux userspace 3.0 release 2019-12-06 08:54:14 +01:00
Petr Lautrbach
2bb8ef885f SELinux userspace 3.0-rc1 release candidate 2019-11-11 11:12:44 +01:00
Miro Hrončok
6acb3de757 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:56:07 +02:00
Miro Hrončok
48e8d76deb Rebuilt for Python 3.8 2019-08-16 04:35:39 +02:00
Petr Lautrbach
0db7048f3d libselinux-2.9-5.fc31
- Drop python2-libselinux (#1739646)
2019-08-12 16:11:03 +02:00
Petr Lautrbach
4c00215c8b Drop python2-libselinux
https://bugzilla.redhat.com/show_bug.cgi?id=1739646
2019-08-12 16:06:56 +02:00
Fedora Release Engineering
be7cdcb77a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:21:18 +00:00
Petr Lautrbach
639114037b
libselinux-2.9-3.fc31
- Use standard build flags for Python bindings
2019-06-28 14:19:02 +02:00
Petr Lautrbach
1ae6338b7d
libselinux: Do not use SWIG_CFLAGS when Python bindings are built
Fixes:

Detecting usr/lib64/python3.6/site-packages/selinux/audit2why.cpython-36m-x86_64-linux-gnu.so with not-hardened warnings '
Hardened: audit2why.cpython-36m-x86_64-linux-gnu.so: FAIL: Gaps were detected in the annobin coverage.  Run with -v to list.
' on x86_64
2019-06-28 14:09:35 +02:00
Petr Lautrbach
7334191246 Fix a trivial typo libselinux-utils Summary
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1713765
2019-05-31 08:21:02 +02:00
Petr Lautrbach
787bbff586 libselinux-2.9-2.fc31
- Use Python distutils to install SELinux python bindings
2019-05-24 15:56:29 +02:00
Petr Lautrbach
5d8ec18db0 Use Python distutils to install SELinux python bindings
SWIG-4.0 changed its behavior so that it uses: from . import _selinux  which
looks for _selinux module in the same directory as where __init__.py is -
$(PYLIBDIR)/site-packages/selinux. But _selinux module is installed into
$(PYLIBDIR)/site-packages/ since a9604c30a5e2f ("libselinux: Change the location
of _selinux.so").

In order to prevent such breakage in future use Python's distutils instead of
building and installing python bindings manually in Makefile.

Fixes:
>>> import selinux
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.7/site-packages/selinux/__init__.py", line 13, in <module>
    from . import _selinux
ImportError: cannot import name '_selinux' from 'selinux' (/usr/lib64/python3.7/site-packages/selinux/__init__.py)
>>>

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
2019-05-22 12:47:32 +02:00
Petr Lautrbach
3c4868da25 Use separate patches instead of one big fedora-selinux.patch 2019-05-09 17:27:26 +02:00
Petr Lautrbach
6aa9d48ad7 SELinux userspace 2.9 release 2019-03-18 16:56:53 +01:00
Petr Lautrbach
f3c6251fc2 Temporary build with OVERRIDE_GETTID=0
This change should be dropped as soon as glibc we'll be correctly built as 2.30
version.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1685594
2019-03-11 15:59:09 +01:00
Petr Lautrbach
b04ead8bfb Use build flags set by %set_build_flags 2019-03-11 10:56:01 +01:00
Petr Lautrbach
813ea3403a SELinux userspace 2.9-rc2 release 2019-03-06 17:26:24 +01:00
Fedora Release Engineering
781fbd8e07 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:12:00 +00:00
Petr Lautrbach
f0805e3a76 SELinux userspace 2.9-rc1 release candidate 2019-01-30 09:55:10 +01:00
Mamoru TASAKA
1530db6627 F-30: again rebuild against ruby26 2019-01-22 09:16:40 +09:00
Petr Lautrbach
f4f1a7cf6d libselinux-2.8-7
- selinux_restorecon: Skip customized files also without -v
- Do not dereference symlink with statfs in selinux_restorecon
2019-01-21 17:29:28 +01:00
Mamoru TASAKA
c48dc77a94 F-30: rebuild against ruby26 2019-01-22 00:14:01 +09:00
Petr Lautrbach
9588e46203 libselinux-2.8-5
- Fix RESOURCE_LEAK coverity scan defects
2018-11-13 10:37:02 +01:00
Petr Šplíchal
debb5ae895 Remove explicit requires from tests.yml
Requires are now handled by Standard Test Roles based on the
individual test metadata so there is no need to list them here.
2018-10-08 13:01:00 +02:00
Petr Šplíchal
01586d10b5 Use FMF filter instead of listing tests manually
There is a new feature in the Standard Test Roles which allows to
use an FMF filter instead of listing all tests manually. All tier
one selinux tests are selected as well, thus extending requires.
2018-10-02 13:24:53 +02:00
Petr Lautrbach
10b3671015 libselinux-2.8-4
- Fix the whatis line for the selinux_boolean_sub.3 manpage
- Fix line wrapping in selabel_file.5
- Fix spelling errors in manpages
2018-09-04 09:03:02 +02:00