SELinux userpace 3.0-rc1 release candidate
This commit is contained in:
parent
15ab9bf126
commit
6e2f3c16bb
1
.gitignore
vendored
1
.gitignore
vendored
@ -143,3 +143,4 @@ libsemanage-2.0.45.tgz
|
|||||||
/libsemanage-2.9-rc1.tar.gz
|
/libsemanage-2.9-rc1.tar.gz
|
||||||
/libsemanage-2.9-rc2.tar.gz
|
/libsemanage-2.9-rc2.tar.gz
|
||||||
/libsemanage-2.9.tar.gz
|
/libsemanage-2.9.tar.gz
|
||||||
|
/libsemanage-3.0-rc1.tar.gz
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From dc105dcb5e34e256bcbcf547fea590cfcee06933 Mon Sep 17 00:00:00 2001
|
From f94d9d560bf05bf059da75150d49899478b23fdc Mon Sep 17 00:00:00 2001
|
||||||
From: Petr Lautrbach <plautrba@redhat.com>
|
From: Petr Lautrbach <plautrba@redhat.com>
|
||||||
Date: Wed, 7 Nov 2018 18:17:34 +0100
|
Date: Wed, 7 Nov 2018 18:17:34 +0100
|
||||||
Subject: [PATCH] libsemanage: Fix RESOURCE_LEAK and USE_AFTER_FREE coverity
|
Subject: [PATCH] libsemanage: Fix RESOURCE_LEAK and USE_AFTER_FREE coverity
|
||||||
@ -9,7 +9,7 @@ Subject: [PATCH] libsemanage: Fix RESOURCE_LEAK and USE_AFTER_FREE coverity
|
|||||||
1 file changed, 8 insertions(+), 13 deletions(-)
|
1 file changed, 8 insertions(+), 13 deletions(-)
|
||||||
|
|
||||||
diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c
|
diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c
|
||||||
index c58961be..8e4d116d 100644
|
index 1088a0ac6165..79aa72b98cf5 100644
|
||||||
--- a/libsemanage/src/direct_api.c
|
--- a/libsemanage/src/direct_api.c
|
||||||
+++ b/libsemanage/src/direct_api.c
|
+++ b/libsemanage/src/direct_api.c
|
||||||
@@ -1028,7 +1028,7 @@ static int semanage_direct_write_langext(semanage_handle_t *sh,
|
@@ -1028,7 +1028,7 @@ static int semanage_direct_write_langext(semanage_handle_t *sh,
|
||||||
@ -21,7 +21,7 @@ index c58961be..8e4d116d 100644
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
if (fp != NULL) fclose(fp);
|
if (fp != NULL) fclose(fp);
|
||||||
@@ -2177,7 +2177,6 @@ cleanup:
|
@@ -2184,7 +2184,6 @@ cleanup:
|
||||||
semanage_module_info_destroy(sh, modinfo);
|
semanage_module_info_destroy(sh, modinfo);
|
||||||
free(modinfo);
|
free(modinfo);
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ index c58961be..8e4d116d 100644
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2342,16 +2341,6 @@ static int semanage_direct_get_module_info(semanage_handle_t *sh,
|
@@ -2349,16 +2348,6 @@ static int semanage_direct_get_module_info(semanage_handle_t *sh,
|
||||||
free(tmp);
|
free(tmp);
|
||||||
tmp = NULL;
|
tmp = NULL;
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ index c58961be..8e4d116d 100644
|
|||||||
/* lookup enabled/disabled status */
|
/* lookup enabled/disabled status */
|
||||||
ret = semanage_module_get_path(sh,
|
ret = semanage_module_get_path(sh,
|
||||||
*modinfo,
|
*modinfo,
|
||||||
@@ -2395,7 +2384,13 @@ cleanup:
|
@@ -2402,7 +2391,13 @@ cleanup:
|
||||||
free(modinfos);
|
free(modinfos);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,5 +62,5 @@ index c58961be..8e4d116d 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
--
|
--
|
||||||
2.23.0.rc1
|
2.23.0
|
||||||
|
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
%define libsepolver 2.9-1
|
%define libsepolver 3.0
|
||||||
%define libselinuxver 2.9-1
|
%define libselinuxver 3.0
|
||||||
|
|
||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
Name: libsemanage
|
Name: libsemanage
|
||||||
Version: 2.9
|
Version: 3.0
|
||||||
Release: 5%{?dist}
|
Release: 0.rc1.1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Source0: https://github.com/SELinuxProject/selinux/releases/download/20190315/libsemanage-2.9.tar.gz
|
Source0: https://github.com/SELinuxProject/selinux/releases/download/20191031/libsemanage-3.0-rc1.tar.gz
|
||||||
# fedora-selinux/selinux: git format-patch -N 20190315 -- libsemanage
|
# fedora-selinux/selinux: git format-patch -N libsemanage-3.0-rc1 -- libsemanage
|
||||||
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
|
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
|
||||||
|
# Patch list start
|
||||||
Patch0001: 0001-libsemanage-Fix-RESOURCE_LEAK-and-USE_AFTER_FREE-cov.patch
|
Patch0001: 0001-libsemanage-Fix-RESOURCE_LEAK-and-USE_AFTER_FREE-cov.patch
|
||||||
|
# Patch list end
|
||||||
URL: https://github.com/SELinuxProject/selinux/wiki
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||||
Source1: semanage.conf
|
Source1: semanage.conf
|
||||||
|
|
||||||
@ -72,7 +74,7 @@ The libsemanage-python3 package contains the python 3 bindings for developing
|
|||||||
SELinux management applications.
|
SELinux management applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n libsemanage-%{version} -p 2
|
%autosetup -n libsemanage-%{version}-rc1 -p 2
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -154,6 +156,9 @@ sed -i '1s%\(#! */usr/bin/python\)\([^3].*\|\)$%\13\2%' %{buildroot}%{_libexecdi
|
|||||||
%{_libexecdir}/selinux/semanage_migrate_store
|
%{_libexecdir}/selinux/semanage_migrate_store
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 11 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-0.rc1.1
|
||||||
|
- SELinux userspace 3.0-rc1 release candidate
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.9-5
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.9-5
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libsemanage-2.9.tar.gz) = ea2924e8ce97d376519d40d499145b3db413cf9cc1eb995ed338b95c131e043d8c43b87b2012cee2bb6354a6e3161ebf5ce4a1200278d3ecd4294b43d177a5c2
|
SHA512 (libsemanage-3.0-rc1.tar.gz) = 2e159c1384d0e9d7d2ec54bb83c460659e2b705e8380f763ef9e67d1f2725aba91d466a89e8bac3ff7a10980711c35b3a2637e14f8300fb472614244265b0f04
|
||||||
|
Loading…
Reference in New Issue
Block a user