[openwrt/openwrt] libselinux: update to version 3.3

LEDE Commits lede-commits at lists.infradead.org
Thu Oct 28 14:15:27 PDT 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6925c7580d28f407bdffa47aa13b1f535b40cd41

commit 6925c7580d28f407bdffa47aa13b1f535b40cd41
Author: Dominick Grift <dominick.grift at defensec.nl>
AuthorDate: Fri Oct 22 13:51:12 2021 +0200

    libselinux: update to version 3.3
    
    Update VERSIONs to 3.3 for release.
    libselinux: Fix potential undefined shifts
    Update VERSIONs to 3.3-rc3 for release.
    Update VERSIONs to 3.3-rc2 for release.
    libselinux/utils: drop requirement to combine compiling and linking
    Update VERSIONs and Python bindings version to 3.3-rc1 for release
    Improve error message for label file validation
    libselinux: replace strerror by %m
    libselinux: silence -Wextra-semi-stmt warning
    libselinux/utils/getseuser.c: fix build with gcc 4.8
    selinux.8: document how mount flag nosuid affects SELinux
    libselinux: fix typo
    libselinux: improve getcon(3) man page
    libselinux: selinux_status_open: return 1 in fallback mode
    libselinux: do not use status page fallback mode internally
    libselinux: make selinux_status_open(3) reentrant
    libselinux: avc_destroy(3) closes status page
    libselinux: label_file.c: fix indent
    libselinux: regex: unify parameter names
    libselinux: sidtab_sid_stats(): unify parameter name
    libselinux: drop redundant casts to the same type
    libselinux: label_db::db_init(): open file with CLOEXEC mode
    libselinux: matchpathcon: free memory on realloc failure
    libselinux: label_file::init(): do not pass NULL to strdup
    libselinux: init_selinux_config(): free resources on error
    libselinux: matchmediacon(): close file on error
    libselinux: store_stem(): do not free possible non-heap object
    libselinux: getdefaultcon: free memory on multiple same arguments
    libselinux: setexecfilecon(): drop dead assignment
    libselinux: label_media::init(): drop dead assignment
    libselinux: label_x::init(): drop dead assignment
    libselinux: context_new(): drop dead assignment
    libselinux: exclude_non_seclabel_mounts(): drop unused variable
    libselinux: getconlist: free memory on multiple level arguments
    libselinux: selabel_get_digests_all_partial_matches: free memory after FTS_D block
    libselinux: selinux_restorecon: mark local variable static
    libselinux: avcstat: use standard length modifier for unsigned long long
    libselinux: sefcontext_compile: mark local variable static
    libselinux: Sha1Finalise(): do not discard const qualifier
    libselinux: label_common(): do not discard const qualifier
    libselinux: selinux_file_context_cmp(): do not discard const qualifier
    libselinux: sidtab_hash(): do not discard const qualifier
    libselinux: silence -Wstringop-overflow warning from gcc 10.3.1
    libselinux: selinux_check_passwd_access_internal(): respect deny_unknown
    libselinux: do not duplicate make target when going into subdirectory
    
    Signed-off-by: Dominick Grift <dominick.grift at defensec.nl>
---
 package/libs/libselinux/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libs/libselinux/Makefile b/package/libs/libselinux/Makefile
index 0c5f9baceb..3969ef38d9 100644
--- a/package/libs/libselinux/Makefile
+++ b/package/libs/libselinux/Makefile
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libselinux
-PKG_VERSION:=3.2
+PKG_VERSION:=3.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/3.2
-PKG_HASH:=df758ef1d9d4811051dd901ea6b029ae334ffd7c671c128beb16bce1e25ac161
+PKG_SOURCE_URL:=https://github.com/SELinuxProject/selinux/releases/download/$(PKG_VERSION)
+PKG_HASH:=acfdee27633d2496508c28727c3d41d3748076f66d42fccde2e6b9f3463a7057
 HOST_BUILD_DEPENDS:=libsepol/host pcre/host
 
 PKG_LICENSE:=libselinux-1.0



More information about the lede-commits mailing list