Commit Graph

714 Commits

Author SHA1 Message Date
Petr Lautrbach
09ab6cd3e9 Rebuild 2022-05-25 16:42:09 +02:00
Petr Lautrbach
dbbdcdacbe SELinux userspace 3.4 release 2022-05-19 14:51:13 +02:00
Petr Lautrbach
2441ed1cdc SELinux userspace 3.4-rc3 release 2022-05-10 16:22:23 +02:00
Petr Lautrbach
7fb483760b libselinux-3.4-0.rc2.1
- SELinux userspace 3.4-rc2 release
2022-04-21 18:07:57 +02:00
Petr Lautrbach
811f3cb62d libselinux-3.4-0.rc1.1
- SELinux userspace 3.4-rc1 release
2022-04-12 13:49:34 +02:00
Mamoru TASAKA
c36b28a7a8 F-36: rebuild against ruby31 2022-01-27 14:05:20 +09:00
Fedora Release Engineering
46fa8cfc93 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:14:25 +00:00
Petr Lautrbach
8bf9807938 libselinux-3.3-2
- Introduce selinux_restorecon_parallel(3)
2021-11-29 12:10:55 +01:00
Petr Lautrbach
6c076e55a0 Introduce selinux_restorecon_parallel(3) 2021-11-29 12:10:05 +01:00
Petr Lautrbach
29eb75e1ed SELinux userspace 3.3 release 2021-10-22 13:49:35 +02:00
Petr Lautrbach
48a5425ce5 SELinux userspace 3.3-rc3 release 2021-10-08 19:06:20 +02:00
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