setools: inherit cython class
PATCH 1/3 setools: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build paths.
--- recipes-security/setools/setools_4.5.1.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
recipes-security/setools/setools_4.5.1.bb +2 -6
@@ -16,17 +16,13 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=69a7b68f0a4a570d7c0c43465333ecbc \ S = "${WORKDIR}/git" -DEPENDS = "python3-cython-native libsepol libselinux" +DEPENDS = "libsepol libselinux" RDEPENDS:${PN} = "python3-networkx python3-logging libselinux-python" RPROVIDES:${PN} = "${PN}-console" -inherit python_setuptools_build_meta - -do_install:prepend() { - sed -i -e 's:${RECIPE_SYSROOT}::g' ${S}/setools/policyrep.c -} +inherit python_setuptools_build_meta cython do_install:append() { # Need PyQt6 support, disable gui tools
Signature · 1 line
2.25.1
PATCH 2/3 selinux: upgrade 3.7 -> 3.8
ChangeLog:
https://github.com/SELinuxProject/selinux/releases/tag/3.8
* libsemanage: Preserve file context and ownership in policy store
* libselinux: deprecate security_disable(3)
* libsepol: Support nlmsg extended permissions
* libsepol: Add policy capability netlink_xperm
* libsemanage: Optionally allow duplicate declarations
* policycoreutils: introduce unsetfiles
* libselinux/utils: introduce selabel_compare
* improved selabel_lookup performance
* libselinux: support parallel usage of selabel_lookup(3)
* libsepol: add support for xperms in conditional policies
* Improved man pages
* Code improvements and bug fixes
* Always build for LFS mode on 32-bit archs.
* libsemanage: Mute error messages from selinux_restorecon introduced in 3.8-rc1
* Regex spec ordering is restored to pre 3.8-rc1
* Binary fcontext files format changed, files using old format are ignored
* Code improvements and bug fixes
License-Update: White space cleanup for libsemanage/LICENSE
---
...{checkpolicy_3.7.bb => checkpolicy_3.8.bb} | 0
...python_3.7.bb => libselinux-python_3.8.bb} | 1 -
...hon-modules-install-path-for-multili.patch | 6 +-
...bselinux-fix-swig-bindings-for-4.3.0.patch | 91 ----
...T-and-rely-on-the-installed-file-nam.patch | 6 +-
...re-drop-the-obsolete-LSF-transitiona.patch | 8 +-
.../{libselinux_3.7.bb => libselinux_3.8.bb} | 0
...semanage-fix-swig-bindings-for-4.3.0.patch | 422 ------------------
...anage-Fix-execve-segfaults-on-Ubuntu.patch | 6 +-
...anage-allow-to-disable-audit-support.patch | 14 +-
...-disable-expand-check-on-policy-load.patch | 2 +-
...{libsemanage_3.7.bb => libsemanage_3.8.bb} | 3 +-
.../{libsepol_3.7.bb => libsepol_3.8.bb} | 0
.../{mcstrans_3.7.bb => mcstrans_3.8.bb} | 2 +-
...oreutils_3.7.bb => policycoreutils_3.8.bb} | 0
...{restorecond_3.7.bb => restorecond_3.8.bb} | 0
.../selinux/{secilc_3.7.bb => secilc_3.8.bb} | 0
...elinux-dbus_3.7.bb => selinux-dbus_3.8.bb} | 0
...{selinux-gui_3.7.bb => selinux-gui_3.8.bb} | 0
...ux-python_3.7.bb => selinux-python_3.8.bb} | 0
...-sandbox_3.7.bb => selinux-sandbox_3.8.bb} | 0
recipes-security/selinux/selinux_common.inc | 2 +-
...ule-utils_3.7.bb => semodule-utils_3.8.bb} | 0
23 files changed, 24 insertions(+), 539 deletions(-)
rename recipes-security/selinux/{checkpolicy_3.7.bb => checkpolicy_3.8.bb} (100%)
rename recipes-security/selinux/{libselinux-python_3.7.bb => libselinux-python_3.8.bb} (96%)
delete mode 100644 recipes-security/selinux/libselinux/0001-libselinux-fix-swig-bindings-for-4.3.0.patch
rename recipes-security/selinux/{libselinux_3.7.bb => libselinux_3.8.bb} (100%)
delete mode 100644 recipes-security/selinux/libsemanage/0001-libsemanage-fix-swig-bindings-for-4.3.0.patch
rename recipes-security/selinux/{libsemanage_3.7.bb => libsemanage_3.8.bb} (92%)
rename recipes-security/selinux/{libsepol_3.7.bb => libsepol_3.8.bb} (100%)
rename recipes-security/selinux/{mcstrans_3.7.bb => mcstrans_3.8.bb} (97%)
rename recipes-security/selinux/{policycoreutils_3.7.bb => policycoreutils_3.8.bb} (100%)
rename recipes-security/selinux/{restorecond_3.7.bb => restorecond_3.8.bb} (100%)
rename recipes-security/selinux/{secilc_3.7.bb => secilc_3.8.bb} (100%)
rename recipes-security/selinux/{selinux-dbus_3.7.bb => selinux-dbus_3.8.bb} (100%)
rename recipes-security/selinux/{selinux-gui_3.7.bb => selinux-gui_3.8.bb} (100%)
rename recipes-security/selinux/{selinux-python_3.7.bb => selinux-python_3.8.bb} (100%)
rename recipes-security/selinux/{selinux-sandbox_3.7.bb => selinux-sandbox_3.8.bb} (100%)
rename recipes-security/selinux/{semodule-utils_3.7.bb => semodule-utils_3.8.bb} (100%)recipes-security/selinux/checkpolicy_3.8.bb renamed from recipes-security/selinux/checkpolicy_3.7.bb +0 -0
recipes-security/selinux/libselinux-python_3.8.bb renamed from recipes-security/selinux/libselinux-python_3.7.bb +0 -1
@@ -15,7 +15,6 @@ SRC_URI += "\ file://0001-Makefile-fix-python-modules-install-path-for-multili.patch \ file://0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch \ file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \ - file://0001-libselinux-fix-swig-bindings-for-4.3.0.patch \ " S = "${WORKDIR}/git/libselinux"
recipes-security/selinux/libselinux/0001-Makefile-fix-python-modules-install-path-for-multili.patch +3 -3
@@ -1,4 +1,4 @@ -From dff260851ccecf9723a6ddfce0103e09f3ba4613 Mon Sep 17 00:00:00 2001 +From 626d07afcb8e8b3a68158e8a3ea1654620769644 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Mon, 13 Apr 2020 12:44:23 +0800 Subject: [PATCH] Makefile: fix python modules install path for multilib
@@ -11,10 +11,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile -index d3b981f..265f1be 100644 +index 213c7d3..92227cb 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -191,7 +191,7 @@ install: all +@@ -193,7 +193,7 @@ install: all ln -sf --relative $(DESTDIR)$(SHLIBDIR)/$(LIBSO) $(DESTDIR)$(LIBDIR)/$(TARGET) install-pywrap: pywrap
recipes-security/selinux/libselinux/0001-libselinux-fix-swig-bindings-for-4.3.0.patch deleted +0 -91
91 lines not on this page · raw message
recipes-security/selinux/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch +3 -3
@@ -1,4 +1,4 @@ -From 303d8dfe53fcd02ea5818f976369cdb629bc1114 Mon Sep 17 00:00:00 2001 +From 1048b80be8fe800fa343f26db833a6e89b5ba9ab Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <[email protected]> Date: Fri, 25 Oct 2019 13:37:14 +0200 Subject: [PATCH] Do not use PYCEXT, and rely on the installed file name
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <[email protected]> 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile -index 265f1be..47e51d6 100644 +index 92227cb..7c71c65 100644 --- a/src/Makefile +++ b/src/Makefile @@ -15,7 +15,6 @@ INCLUDEDIR ?= $(PREFIX)/include
@@ -38,7 +38,7 @@ index 265f1be..47e51d6 100644 RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -L" + RbConfig::CONFIG["archlibdir"] + " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]') RUBYINSTALL ?= $(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') -@@ -193,7 +192,7 @@ install: all +@@ -195,7 +194,7 @@ install: all install-pywrap: pywrap CFLAGS="$(CPPFLAGS) $(CFLAGS) $(SWIG_CFLAGS)" $(PYTHON) -m pip install --prefix=$(PREFIX) --root $(DESTDIR) --ignore-installed --no-deps $(PYTHON_SETUP_ARGS) . install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py
recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch +4 -4
@@ -1,4 +1,4 @@ -From 6c2af45ec8cff9b282d599dc098db0ca127bdc59 Mon Sep 17 00:00:00 2001 +From f33b426680492629d3d8ed664049cbe584f26f18 Mon Sep 17 00:00:00 2001 From: Renato Caldas <[email protected]> Date: Thu, 29 Jun 2023 13:59:11 +0100 Subject: [PATCH] libselinux: restore: drop the obsolete LSF transitional API.
@@ -14,10 +14,10 @@ Signed-off-by: Renato Caldas <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/selinux_restorecon.c b/src/selinux_restorecon.c -index 38f10f1..5b3d035 100644 +index bc6ed93..3bc0d8d 100644 --- a/src/selinux_restorecon.c +++ b/src/selinux_restorecon.c -@@ -436,7 +436,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, +@@ -438,7 +438,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, file_spec_t *prevfl, *fl; uint32_t h; int ret;
@@ -26,7 +26,7 @@ index 38f10f1..5b3d035 100644 __pthread_mutex_lock(&fl_mutex); -@@ -450,7 +450,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, +@@ -452,7 +452,7 @@ static int filespec_add(ino_t ino, const char *con, const char *file, for (prevfl = &fl_head[h], fl = fl_head[h].next; fl; prevfl = fl, fl = fl->next) { if (ino == fl->ino) {
recipes-security/selinux/libselinux_3.8.bb renamed from recipes-security/selinux/libselinux_3.7.bb +0 -0
recipes-security/selinux/libsemanage/0001-libsemanage-fix-swig-bindings-for-4.3.0.patch deleted +0 -422
422 lines not on this page · raw message
recipes-security/selinux/libsemanage/libsemanage-Fix-execve-segfaults-on-Ubuntu.patch +3 -3
@@ -1,4 +1,4 @@ -From a91134e98ba4b3b6645d12bb68a07976b60f86c8 Mon Sep 17 00:00:00 2001 +From 418a2736fd7da15758ab84f9448e7517e3ad82c1 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Mon, 26 Mar 2012 15:15:16 +0800 Subject: [PATCH] libsemanage: Fix execve segfaults on Ubuntu.
@@ -17,10 +17,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/semanage_store.c b/src/semanage_store.c -index 27c5d34..519f298 100644 +index 2ca2e90..914d720 100644 --- a/src/semanage_store.c +++ b/src/semanage_store.c -@@ -1470,7 +1470,7 @@ static int semanage_exec_prog(semanage_handle_t * sh, +@@ -1445,7 +1445,7 @@ static int semanage_exec_prog(semanage_handle_t * sh, if (forkval == 0) { /* child process. file descriptors will be closed * because they were set as close-on-exec. */
recipes-security/selinux/libsemanage/libsemanage-allow-to-disable-audit-support.patch +7 -7
@@ -1,4 +1,4 @@ -From c96010440e7a2a87787a535fd0f9ccf26a2b4a5e Mon Sep 17 00:00:00 2001 +From 0fddb654b4193e91b8534cbbeaa5fd9b6aa1ead2 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Mon, 20 Jan 2014 03:53:48 -0500 Subject: [PATCH] libsemanage: allow to disable audit support
@@ -13,7 +13,7 @@ Signed-off-by: Wenzong Fan <[email protected]> 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile -index d525996..2f5e159 100644 +index 8dfbd76..4012f28 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,6 +27,14 @@ ifeq ($(DEBUG),1)
@@ -41,7 +41,7 @@ index d525996..2f5e159 100644 $(LIBPC): $(LIBPC).in ../VERSION diff --git a/src/seusers_local.c b/src/seusers_local.c -index 795a33d..6539cdf 100644 +index eb3f82b..45da825 100644 --- a/src/seusers_local.c +++ b/src/seusers_local.c @@ -8,7 +8,11 @@ typedef struct semanage_seuser record_t;
@@ -72,7 +72,7 @@ index 795a33d..6539cdf 100644 int semanage_seuser_modify_local(semanage_handle_t * handle, const semanage_seuser_key_t * key, -@@ -164,8 +170,11 @@ int semanage_seuser_modify_local(semanage_handle_t * handle, +@@ -165,8 +171,11 @@ int semanage_seuser_modify_local(semanage_handle_t * handle, (void) semanage_seuser_query(handle, key, &previous); handle->msg_callback = callback; rc = dbase_modify(handle, dconfig, key, new);
@@ -84,7 +84,7 @@ index 795a33d..6539cdf 100644 err: if (previous) semanage_seuser_free(previous); -@@ -181,8 +190,12 @@ int semanage_seuser_del_local(semanage_handle_t * handle, +@@ -182,8 +191,12 @@ int semanage_seuser_del_local(semanage_handle_t * handle, dbase_config_t *dconfig = semanage_seuser_dbase_local(handle); rc = dbase_del(handle, dconfig, key); semanage_seuser_query(handle, key, &seuser);
@@ -98,7 +98,7 @@ index 795a33d..6539cdf 100644 semanage_seuser_free(seuser); return rc; diff --git a/tests/Makefile b/tests/Makefile -index 69f49a3..f914492 100644 +index 241ff17..fa03fb6 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -4,10 +4,18 @@ CILS = $(sort $(wildcard *.cil))
@@ -114,7 +114,7 @@ index 69f49a3..f914492 100644 +endif + EXECUTABLE = libsemanage-tests - CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter + CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute override CFLAGS += -I../src -I../include -override LDLIBS += -lcunit -lbz2 -laudit -lselinux -lsepol +override LDLIBS += -lcunit -lbz2 $(LIBAUDIT) -lselinux -lsepol
recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch +1 -1
@@ -1,4 +1,4 @@ -From 7af73c1684ce0e30ce0cd58b51708bde1e3a1984 Mon Sep 17 00:00:00 2001 +From af4948d5a1cfb41338a7539dcd80735b5c250e58 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Wed, 7 May 2014 11:36:27 -0400 Subject: [PATCH] libsemanage: disable expand-check on policy load
recipes-security/selinux/libsemanage_3.8.bb renamed from recipes-security/selinux/libsemanage_3.7.bb +1 -2
@@ -5,7 +5,7 @@ as by programs like load_policy that need to perform specific transformations \ on binary policies such as customizing policy boolean settings." SECTION = "base" LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=03068f550c635f6520e0f0252da412fc" require selinux_common.inc
@@ -14,7 +14,6 @@ inherit lib_package python3native SRC_URI += "file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \ file://libsemanage-allow-to-disable-audit-support.patch \ file://libsemanage-disable-expand-check-on-policy-load.patch \ - file://0001-libsemanage-fix-swig-bindings-for-4.3.0.patch \ " DEPENDS = "libsepol libselinux python3 bison-native swig-native"
recipes-security/selinux/libsepol_3.8.bb renamed from recipes-security/selinux/libsepol_3.7.bb +0 -0
recipes-security/selinux/mcstrans_3.8.bb renamed from recipes-security/selinux/mcstrans_3.7.bb +1 -1
@@ -31,7 +31,7 @@ do_install:append() { if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/tmpfiles.d - echo "d ${localstatedir}/run/setrans - - - -" \ + echo "d ${runtimedir}/setrans - - - -" \ > ${D}${sysconfdir}/tmpfiles.d/setrans.conf else install -d ${D}${sysconfdir}/default/volatiles
recipes-security/selinux/policycoreutils_3.8.bb renamed from recipes-security/selinux/policycoreutils_3.7.bb +0 -0
recipes-security/selinux/restorecond_3.8.bb renamed from recipes-security/selinux/restorecond_3.7.bb +0 -0
recipes-security/selinux/secilc_3.8.bb renamed from recipes-security/selinux/secilc_3.7.bb +0 -0
recipes-security/selinux/selinux-dbus_3.8.bb renamed from recipes-security/selinux/selinux-dbus_3.7.bb +0 -0
recipes-security/selinux/selinux-gui_3.8.bb renamed from recipes-security/selinux/selinux-gui_3.7.bb +0 -0
recipes-security/selinux/selinux-python_3.8.bb renamed from recipes-security/selinux/selinux-python_3.7.bb +0 -0
recipes-security/selinux/selinux-sandbox_3.8.bb renamed from recipes-security/selinux/selinux-sandbox_3.7.bb +0 -0
recipes-security/selinux/selinux_common.inc +1 -1
@@ -1,7 +1,7 @@ HOMEPAGE = "https://github.com/SELinuxProject" SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=main;protocol=https" -SRCREV = "2eb286bc0841791043567437ba5413f3014fb94e" +SRCREV = "71aec30d068789e856e7cc429b620ae1cfa890f1" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
recipes-security/selinux/semodule-utils_3.8.bb renamed from recipes-security/selinux/semodule-utils_3.7.bb +0 -0
Signature · 1 line
2.25.1
PATCH 3/3 refpolicy: update to 20250213+git
In reply to Yi ZhaoChangeLog:
https://github.com/SELinuxProject/refpolicy/releases/tag/RELEASE_2_20250213
* Add tool for validating appconfig contexts files.
* Add netlink extended permissions definitions.
* Updates for Systemd up to v257.
---
.../refpolicy/refpolicy-minimum_git.bb | 2 +-
.../refpolicy/refpolicy-targeted_git.bb | 3 +-
...tile-alias-common-var-volatile-paths.patch | 2 +-
...inimum-make-sysadmin-module-optional.patch | 10 +-
...e-unconfined_u-definition-to-unconfi.patch | 83 ++++++++++++++
...box-set-aliases-for-bin-sbin-and-usr.patch | 2 +-
...-allow-systemd-networkd-to-accept-a.patch} | 32 +++---
...d-make-unconfined_u-the-default-sel.patch} | 2 +-
...y-policy-to-common-yocto-hostname-al.patch | 2 +-
...sr-bin-bash-context-to-bin-bash.bash.patch | 4 +-
...abel-resolv.conf-in-var-run-properly.patch | 2 +-
...-apply-login-context-to-login.shadow.patch | 4 +-
...-fc-hwclock-add-hwclock-alternatives.patch | 2 +-
...g-apply-policy-to-dmesg-alternatives.patch | 2 +-
...ssh-apply-policy-to-ssh-alternatives.patch | 4 +-
...ply-policy-to-network-commands-alter.patch | 2 +-
...ply-rpm_exec-policy-to-cpio-binaries.patch | 2 +-
...c-su-apply-policy-to-su-alternatives.patch | 2 +-
...fc-fstools-fix-real-path-for-fstools.patch | 14 +--
...fix-update-alternatives-for-sysvinit.patch | 4 +-
...l-apply-policy-to-brctl-alternatives.patch | 2 +-
...apply-policy-to-nologin-alternatives.patch | 6 +-
...apply-policy-to-sulogin-alternatives.patch | 2 +-
...tp-apply-policy-to-ntpd-alternatives.patch | 2 +-
...pply-policy-to-kerberos-alternatives.patch | 2 +-
...ap-apply-policy-to-ldap-alternatives.patch | 2 +-
...ply-policy-to-postgresql-alternative.patch | 2 +-
...-apply-policy-to-screen-alternatives.patch | 2 +-
...ply-policy-to-usermanage-alternative.patch | 2 +-
...etty-add-file-context-to-start_getty.patch | 2 +-
...k-apply-policy-to-vlock-alternatives.patch | 2 +-
...for-init-scripts-and-systemd-service.patch | 8 +-
...bs_dist-set-aliase-for-root-director.patch | 2 +-
...ystem-logging-add-rules-for-the-syml.patch | 2 +-
...ystem-logging-add-rules-for-syslogd-.patch | 4 +-
...ernel-files-add-rules-for-the-symlin.patch | 20 ++--
...ystem-logging-fix-auditd-startup-fai.patch | 4 +-
...ernel-terminal-don-t-audit-tty_devic.patch | 2 +-
...ystem-systemd-enable-support-for-sys.patch | 4 +-
...ystem-logging-allow-systemd-tmpfiles.patch | 4 +-
...les-sysadm-allow-sysadm-to-use-init.patch} | 4 +-
...ystem-systemd-allow-systemd_logind_t.patch | 43 -------
...s-system-systemd-systemd-user-fixes.patch} | 8 +-
...stem-logging-grant-getpcap-capabili.patch} | 4 +-
...stem-allow-services-to-read-tmpfs-u.patch} | 10 +-
...rnel-domain-allow-all-domains-to-co.patch} | 2 +-
...-allow-systemd-logind-to-inherit-fds.patch | 68 +++++++++++
...stemd-tmpfiles-to-read-bin_t-symlink.patch | 107 ++++++++++++++++++
...stem-mount-make-mount_t-domain-MLS-.patch} | 6 +-
...les-sysadm-MLS-sysadm-rw-to-clearan.patch} | 4 +-
...rvices-rpc-make-nfsd_t-domain-MLS-t.patch} | 6 +-
...min-dmesg-make-dmesg_t-MLS-trusted-.patch} | 2 +-
...rnel-kernel-make-kernel_t-MLS-trust.patch} | 6 +-
...stem-init-make-init_t-MLS-trusted-f.patch} | 6 +-
...stem-systemd-make-systemd-tmpfiles_.patch} | 6 +-
...stem-systemd-systemd-make-systemd_-.patch} | 14 +--
...stem-logging-add-the-syslogd_t-to-t.patch} | 4 +-
...stem-init-make-init_t-MLS-trusted-f.patch} | 6 +-
...stem-init-all-init_t-to-read-any-le.patch} | 6 +-
...stem-logging-allow-auditd_t-to-writ.patch} | 4 +-
...rnel-kernel-make-kernel_t-MLS-trust.patch} | 6 +-
...stem-setrans-allow-setrans_t-use-fd.patch} | 2 +-
...stem-systemd-make-_systemd_t-MLS-tr.patch} | 6 +-
...stem-logging-make-syslogd_runtime_t.patch} | 4 +-
.../refpolicy/refpolicy_common.inc | 45 ++++----
recipes-security/refpolicy/refpolicy_git.inc | 4 +-
66 files changed, 428 insertions(+), 211 deletions(-)
create mode 100644 recipes-security/refpolicy/refpolicy/0001-refpolicy-targeted-Revert-users-Move-unconfined_u-definition-to-unconfi.patch
rename recipes-security/refpolicy/refpolicy/{0002-refpolicy-minimum-enable-nscd_use_shm.patch => 0002-refpolicy-minimum-allow-systemd-networkd-to-accept-a.patch} (49%)
rename recipes-security/refpolicy/refpolicy/{0001-refpolicy-targeted-make-unconfined_u-the-default-sel.patch => 0002-refpolicy-targeted-make-unconfined_u-the-default-sel.patch} (98%)
rename recipes-security/refpolicy/refpolicy/{0036-policy-modules-roles-sysadm-allow-sysadm-to-use-init.patch => 0035-policy-modules-roles-sysadm-allow-sysadm-to-use-init.patch} (91%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0035-policy-modules-system-systemd-allow-systemd_logind_t.patch
rename recipes-security/refpolicy/refpolicy/{0037-policy-modules-system-systemd-systemd-user-fixes.patch => 0036-policy-modules-system-systemd-systemd-user-fixes.patch} (93%)
rename recipes-security/refpolicy/refpolicy/{0038-policy-modules-system-logging-grant-getpcap-capabili.patch => 0037-policy-modules-system-logging-grant-getpcap-capabili.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0039-policy-modules-system-allow-services-to-read-tmpfs-u.patch => 0038-policy-modules-system-allow-services-to-read-tmpfs-u.patch} (95%)
rename recipes-security/refpolicy/refpolicy/{0040-policy-modules-kernel-domain-allow-all-domains-to-co.patch => 0039-policy-modules-kernel-domain-allow-all-domains-to-co.patch} (95%)
create mode 100644 recipes-security/refpolicy/refpolicy/0040-systemd-allow-systemd-logind-to-inherit-fds.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0041-systemd-allow-systemd-tmpfiles-to-read-bin_t-symlink.patch
rename recipes-security/refpolicy/refpolicy/{0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch => 0042-policy-modules-system-mount-make-mount_t-domain-MLS-.patch} (85%)
rename recipes-security/refpolicy/refpolicy/{0042-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch => 0043-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0043-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch => 0044-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch} (90%)
rename recipes-security/refpolicy/refpolicy/{0044-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch => 0045-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch} (94%)
rename recipes-security/refpolicy/refpolicy/{0045-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch => 0046-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch} (95%)
rename recipes-security/refpolicy/refpolicy/{0046-policy-modules-system-init-make-init_t-MLS-trusted-f.patch => 0047-policy-modules-system-init-make-init_t-MLS-trusted-f.patch} (90%)
rename recipes-security/refpolicy/refpolicy/{0047-policy-modules-system-systemd-make-systemd-tmpfiles_.patch => 0048-policy-modules-system-systemd-make-systemd-tmpfiles_.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0048-policy-modules-system-systemd-systemd-make-systemd_-.patch => 0049-policy-modules-system-systemd-systemd-make-systemd_-.patch} (88%)
rename recipes-security/refpolicy/refpolicy/{0049-policy-modules-system-logging-add-the-syslogd_t-to-t.patch => 0050-policy-modules-system-logging-add-the-syslogd_t-to-t.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0050-policy-modules-system-init-make-init_t-MLS-trusted-f.patch => 0051-policy-modules-system-init-make-init_t-MLS-trusted-f.patch} (86%)
rename recipes-security/refpolicy/refpolicy/{0051-policy-modules-system-init-all-init_t-to-read-any-le.patch => 0052-policy-modules-system-init-all-init_t-to-read-any-le.patch} (88%)
rename recipes-security/refpolicy/refpolicy/{0052-policy-modules-system-logging-allow-auditd_t-to-writ.patch => 0053-policy-modules-system-logging-allow-auditd_t-to-writ.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0053-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch => 0054-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch} (84%)
rename recipes-security/refpolicy/refpolicy/{0054-policy-modules-system-setrans-allow-setrans_t-use-fd.patch => 0055-policy-modules-system-setrans-allow-setrans_t-use-fd.patch} (93%)
rename recipes-security/refpolicy/refpolicy/{0055-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch => 0056-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch} (88%)
rename recipes-security/refpolicy/refpolicy/{0056-policy-modules-system-logging-make-syslogd_runtime_t.patch => 0057-policy-modules-system-logging-make-syslogd_runtime_t.patch} (94%)recipes-security/refpolicy/refpolicy-minimum_git.bb +1 -1
@@ -13,7 +13,7 @@ domains are unconfined. \ SRC_URI += " \ file://0001-refpolicy-minimum-make-sysadmin-module-optional.patch \ - file://0002-refpolicy-minimum-enable-nscd_use_shm.patch \ + file://0002-refpolicy-minimum-allow-systemd-networkd-to-accept-a.patch \ " POLICY_NAME = "minimum"
recipes-security/refpolicy/refpolicy-targeted_git.bb +2 -1
@@ -13,5 +13,6 @@ POLICY_MLS_SENS = "0" include refpolicy_${PV}.inc SRC_URI += " \ - file://0001-refpolicy-targeted-make-unconfined_u-the-default-sel.patch \ + file://0001-refpolicy-targeted-Revert-users-Move-unconfined_u-definition-to-unconfi.patch \ + file://0002-refpolicy-targeted-make-unconfined_u-the-default-sel.patch \ "
recipes-security/refpolicy/refpolicy/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch +1 -1
@@ -1,4 +1,4 @@ -From 2627c403bb84d710a2469e501e6a0ccf5c7fb438 Mon Sep 17 00:00:00 2001 +From c36ccb73201949df2e4e01dc12e36c77bc42e099 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Thu, 28 Mar 2019 16:14:09 -0400 Subject: [PATCH] fc/subs/volatile: alias common /var/volatile paths
recipes-security/refpolicy/refpolicy/0001-refpolicy-minimum-make-sysadmin-module-optional.patch +5 -5
@@ -1,4 +1,4 @@ -From 923dec0f0231024680bb6f7d48ff7edf82ed8082 Mon Sep 17 00:00:00 2001 +From 4a5d6d9b7c317a2b819ef9a0ebce2e913ad42be9 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Fri, 5 Apr 2019 11:53:28 -0400 Subject: [PATCH] refpolicy-minimum: make sysadmin module optional
@@ -22,10 +22,10 @@ Signed-off-by: Yi Zhao <[email protected]> 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te -index 8af34aa7e..fdd64fb5b 100644 +index 7df44cead..65146974b 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -653,13 +653,15 @@ ifdef(`init_systemd',` +@@ -648,13 +648,15 @@ ifdef(`init_systemd',` unconfined_write_keys(init_t) ') ',`
@@ -48,10 +48,10 @@ index 8af34aa7e..fdd64fb5b 100644 ') ') diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te -index 4ba131d29..9c4b0a1d8 100644 +index f96092070..db28ce41c 100644 --- a/policy/modules/system/locallogin.te +++ b/policy/modules/system/locallogin.te -@@ -277,7 +277,9 @@ userdom_use_unpriv_users_fds(sulogin_t) +@@ -279,7 +279,9 @@ userdom_use_unpriv_users_fds(sulogin_t) userdom_search_user_home_dirs(sulogin_t) userdom_use_user_ptys(sulogin_t)
recipes-security/refpolicy/refpolicy/0001-refpolicy-targeted-Revert-users-Move-unconfined_u-definition-to-unconfi.patch new file +83 -0
83 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch +1 -1
@@ -1,4 +1,4 @@ -From bd8d0af36d8f6eb0f25c43b94e31e93d4ac7513b Mon Sep 17 00:00:00 2001 +From 1fd50ccbfb7943a4e479af91d308f433f1f0ec8a Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Thu, 28 Mar 2019 20:48:10 -0400 Subject: [PATCH] fc/subs/busybox: set aliases for bin, sbin and usr
recipes-security/refpolicy/refpolicy/0002-refpolicy-minimum-allow-systemd-networkd-to-accept-a.patch renamed from recipes-security/refpolicy/refpolicy/0002-refpolicy-minimum-enable-nscd_use_shm.patch +16 -16
@@ -1,7 +1,8 @@ -From 9494c078e1aea2ab6ecdf0c3ca01e2d3941b11a7 Mon Sep 17 00:00:00 2001 +From 805d55ae146a21575b013e041cec7f97899d39ae Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 26 Feb 2021 09:13:23 +0800 -Subject: [PATCH] refpolicy-minimum: enable nscd_use_shm +Subject: [PATCH] refpolicy-minimum: allow systemd-networkd to accept and + listen socket Fixes: avc: denied { listen } for pid=340 comm="systemd-network"
@@ -26,22 +27,21 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/services/nscd.te | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + policy/modules/system/systemd.te | 1 + + 1 file changed, 1 insertion(+) -diff --git a/policy/modules/services/nscd.te b/policy/modules/services/nscd.te -index ffc60497c..d226f1145 100644 ---- a/policy/modules/services/nscd.te -+++ b/policy/modules/services/nscd.te -@@ -15,7 +15,7 @@ gen_require(` - ## can use nscd shared memory. - ## </p> - ## </desc> --gen_tunable(nscd_use_shm, false) -+gen_tunable(nscd_use_shm, true) - - attribute_role nscd_roles; +diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te +index 45d4db784..af0e05e9d 100644 +--- a/policy/modules/system/systemd.te ++++ b/policy/modules/system/systemd.te +@@ -1305,6 +1305,7 @@ allow systemd_networkd_t self:rawip_socket create_socket_perms; + allow systemd_networkd_t self:tun_socket { create_socket_perms relabelfrom relabelto }; + allow systemd_networkd_t self:udp_socket create_socket_perms; + allow systemd_networkd_t self:unix_dgram_socket create_socket_perms; ++allow systemd_networkd_t self:unix_stream_socket { accept listen }; + manage_dirs_pattern(systemd_networkd_t, systemd_networkd_runtime_t, systemd_networkd_runtime_t) + manage_files_pattern(systemd_networkd_t, systemd_networkd_runtime_t, systemd_networkd_runtime_t) -- 2.25.1
recipes-security/refpolicy/refpolicy/0002-refpolicy-targeted-make-unconfined_u-the-default-sel.patch renamed from recipes-security/refpolicy/refpolicy/0001-refpolicy-targeted-make-unconfined_u-the-default-sel.patch +1 -1
@@ -1,4 +1,4 @@ -From 38cac8a2f2ec94bbc9b6d04ffcc35b7459c05b11 Mon Sep 17 00:00:00 2001 +From 0b299c6f8950cbba592a366e93f9ecb0605ffe9a Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Mon, 20 Apr 2020 11:50:03 +0800 Subject: [PATCH] refpolicy-targeted: make unconfined_u the default selinux
recipes-security/refpolicy/refpolicy/0003-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch +1 -1
@@ -1,4 +1,4 @@ -From b8ec557e6aa310c65d9183ae741e649eae1c3619 Mon Sep 17 00:00:00 2001 +From db25a33d356c7c273c1bcee33bd1f5df80bf29b0 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] fc/hostname: apply policy to common yocto hostname
recipes-security/refpolicy/refpolicy/0004-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch +2 -2
@@ -1,4 +1,4 @@ -From ddba777d85a78cb372a84f4ff003888e1ba06afa Mon Sep 17 00:00:00 2001 +From 2016c05b60f0d81294ccccc4242e03d4143b843e Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Thu, 28 Mar 2019 21:37:32 -0400 Subject: [PATCH] fc/bash: apply /usr/bin/bash context to /bin/bash.bash
@@ -15,7 +15,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc -index 04d6caa80..7d2efef0a 100644 +index 9ac701579..b1163fdbb 100644 --- a/policy/modules/kernel/corecommands.fc +++ b/policy/modules/kernel/corecommands.fc @@ -147,6 +147,7 @@ ifdef(`distro_gentoo',`
recipes-security/refpolicy/refpolicy/0005-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch +1 -1
@@ -1,4 +1,4 @@ -From 3f24037dd9c0c468d4182d6b047a9baa2469726a Mon Sep 17 00:00:00 2001 +From e2a5ddc7235c9cf248a9d860ab8d0d71ec42e7a7 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Thu, 4 Apr 2019 10:45:03 -0400 Subject: [PATCH] fc/resolv.conf: label resolv.conf in var/run/ properly
recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch +2 -2
@@ -1,4 +1,4 @@ -From b318d4d8feb1a021e63d38ac2bea4abe834c4e3b Mon Sep 17 00:00:00 2001 +From 59b9c22802488a693d40e7570536cca89bdc58ee Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Thu, 28 Mar 2019 21:43:53 -0400 Subject: [PATCH] fc/login: apply login context to login.shadow
@@ -12,7 +12,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/authlogin.fc b/policy/modules/system/authlogin.fc -index fcdd38d6d..c7e7b64a9 100644 +index eca178a2e..ddf5ecec2 100644 --- a/policy/modules/system/authlogin.fc +++ b/policy/modules/system/authlogin.fc @@ -8,6 +8,7 @@
recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 78e157da0424e06347030577dcdd00f3e6c085ef Mon Sep 17 00:00:00 2001 +From 9a551208b7e1ebd451115ea36cde1536f34f3866 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Thu, 28 Mar 2019 21:59:18 -0400 Subject: [PATCH] fc/hwclock: add hwclock alternatives
recipes-security/refpolicy/refpolicy/0008-fc-dmesg-apply-policy-to-dmesg-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From d15ee4e3684c52af2caa3af2c24af73ab7ceb677 Mon Sep 17 00:00:00 2001 +From c67674b38368f5d584fd3013f0193b6e6e733a66 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Fri, 29 Mar 2019 08:26:55 -0400 Subject: [PATCH] fc/dmesg: apply policy to dmesg alternatives
recipes-security/refpolicy/refpolicy/0009-fc-ssh-apply-policy-to-ssh-alternatives.patch +2 -2
@@ -1,4 +1,4 @@ -From f287a7b6b9a41963cec1e9bf70eff99e840c9cc3 Mon Sep 17 00:00:00 2001 +From 0493199f682a52c097ae81ac96118295e47bdf90 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Fri, 29 Mar 2019 09:20:58 -0400 Subject: [PATCH] fc/ssh: apply policy to ssh alternatives
@@ -12,7 +12,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/services/ssh.fc b/policy/modules/services/ssh.fc -index a30d01afc..e033d1a70 100644 +index 93bfa8d26..7b7e567f9 100644 --- a/policy/modules/services/ssh.fc +++ b/policy/modules/services/ssh.fc @@ -4,6 +4,7 @@ HOME_DIR/\.ssh(/.*)? gen_context(system_u:object_r:ssh_home_t,s0)
recipes-security/refpolicy/refpolicy/0010-fc-sysnetwork-apply-policy-to-network-commands-alter.patch +1 -1
@@ -1,4 +1,4 @@ -From fcfd91661ea05b5967f75927116056924e972214 Mon Sep 17 00:00:00 2001 +From 53c2af24e86b3ab9be5a982958bb0e5c9e8c1360 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Tue, 9 Jun 2015 21:22:52 +0530 Subject: [PATCH] fc/sysnetwork: apply policy to network commands alternatives
recipes-security/refpolicy/refpolicy/0011-fc-rpm-apply-rpm_exec-policy-to-cpio-binaries.patch +1 -1
@@ -1,4 +1,4 @@ -From 6e5d4763c0e3e7b2b819694d85710128f4e0ff28 Mon Sep 17 00:00:00 2001 +From 2df4a4620b74973ceafde3732273234de9668fe3 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Fri, 29 Mar 2019 09:54:07 -0400 Subject: [PATCH] fc/rpm: apply rpm_exec policy to cpio binaries
recipes-security/refpolicy/refpolicy/0012-fc-su-apply-policy-to-su-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From ca60691cffdf516f3f09cee23874a49d890c9de8 Mon Sep 17 00:00:00 2001 +From 0d026ac95a9da5e345e5b7fbaded216396e12bde Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Thu, 13 Feb 2014 00:33:07 -0500 Subject: [PATCH] fc/su: apply policy to su alternatives
recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch +7 -7
@@ -1,4 +1,4 @@ -From f6a42851e3abe274a733f92f90541de3047e5d74 Mon Sep 17 00:00:00 2001 +From 09de3f9093cde03bf906411403ff43a25290bd6b Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Mon, 27 Jan 2014 03:54:01 -0500 Subject: [PATCH] fc/fstools: fix real path for fstools
@@ -14,10 +14,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 10 insertions(+) diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc -index 63423802d..124109a68 100644 +index 9064ab52e..5962e5736 100644 --- a/policy/modules/system/fstools.fc +++ b/policy/modules/system/fstools.fc -@@ -58,7 +58,9 @@ +@@ -57,7 +57,9 @@ /usr/sbin/addpart -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/badblocks -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/blkid -- gen_context(system_u:object_r:fsadm_exec_t,s0)
@@ -27,8 +27,8 @@ index 63423802d..124109a68 100644 /usr/sbin/cfdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/clubufflush -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/delpart -- gen_context(system_u:object_r:fsadm_exec_t,s0) -@@ -72,10 +74,13 @@ - /usr/sbin/efibootmgr -- gen_context(system_u:object_r:fsadm_exec_t,s0) +@@ -70,10 +72,13 @@ + /usr/sbin/e2mmpstatus -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/fatsort -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/fdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) +/usr/sbin/fdisk\.util-linux -- gen_context(system_u:object_r:fsadm_exec_t,s0)
@@ -41,7 +41,7 @@ index 63423802d..124109a68 100644 /usr/sbin/install-mbr -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/jfs_.* -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/losetup.* -- gen_context(system_u:object_r:fsadm_exec_t,s0) -@@ -83,13 +88,16 @@ +@@ -81,13 +86,16 @@ /usr/sbin/make_reiser4 -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/mkdosfs -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/mke2fs -- gen_context(system_u:object_r:fsadm_exec_t,s0)
@@ -58,7 +58,7 @@ index 63423802d..124109a68 100644 /usr/sbin/partx -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/raidautorun -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/raidstart -- gen_context(system_u:object_r:fsadm_exec_t,s0) -@@ -99,8 +107,10 @@ +@@ -97,8 +105,10 @@ /usr/sbin/sfdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/smartctl -- gen_context(system_u:object_r:fsadm_exec_t,s0) /usr/sbin/swapoff -- gen_context(system_u:object_r:fsadm_exec_t,s0)
recipes-security/refpolicy/refpolicy/0014-fc-init-fix-update-alternatives-for-sysvinit.patch +2 -2
@@ -1,4 +1,4 @@ -From eecf36ae218ee0d85fd07a14bfbcb6636ab84095 Mon Sep 17 00:00:00 2001 +From a76963ea8a74c818bd03acae75ae86db59c366e7 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] fc/init: fix update-alternatives for sysvinit
@@ -27,7 +27,7 @@ index 2e47783c2..e359539be 100644 /run/shutdown\.pid -- gen_context(system_u:object_r:shutdown_runtime_t,s0) diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc -index 7d2efef0a..9a5711a83 100644 +index b1163fdbb..1c2553d21 100644 --- a/policy/modules/kernel/corecommands.fc +++ b/policy/modules/kernel/corecommands.fc @@ -156,6 +156,8 @@ ifdef(`distro_gentoo',`
recipes-security/refpolicy/refpolicy/0015-fc-brctl-apply-policy-to-brctl-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From e26d8e3eea2cab884562793221ce9b8c39c614cc Mon Sep 17 00:00:00 2001 +From 19c91699eda904d2c377a29c62bdf6be1ebf59f7 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 10:19:54 +0800 Subject: [PATCH] fc/brctl: apply policy to brctl alternatives
recipes-security/refpolicy/refpolicy/0016-fc-corecommands-apply-policy-to-nologin-alternatives.patch +3 -3
@@ -1,4 +1,4 @@ -From 48b69b97a52cf782fbc54f5e55e92ee81466d0bc Mon Sep 17 00:00:00 2001 +From 3b40ac147bc2e1a1d387d519fd1710e92d934b4e Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 10:21:51 +0800 Subject: [PATCH] fc/corecommands: apply policy to nologin alternatives
@@ -11,10 +11,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc -index 9a5711a83..c9009af5f 100644 +index 1c2553d21..65178ba32 100644 --- a/policy/modules/kernel/corecommands.fc +++ b/policy/modules/kernel/corecommands.fc -@@ -311,6 +311,8 @@ ifdef(`distro_debian',` +@@ -312,6 +312,8 @@ ifdef(`distro_debian',` /usr/sbin/insmod_ksymoops_clean -- gen_context(system_u:object_r:bin_t,s0) /usr/sbin/mkfs\.cramfs -- gen_context(system_u:object_r:bin_t,s0) /usr/sbin/nologin -- gen_context(system_u:object_r:shell_exec_t,s0)
recipes-security/refpolicy/refpolicy/0017-fc-locallogin-apply-policy-to-sulogin-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 29e16342861e11d6463ec63ffbe55d1665d05e7d Mon Sep 17 00:00:00 2001 +From 07657262d8ac7304f8dd0224e3daaecc925d4392 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 10:43:28 +0800 Subject: [PATCH] fc/locallogin: apply policy to sulogin alternatives
recipes-security/refpolicy/refpolicy/0018-fc-ntp-apply-policy-to-ntpd-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From c1847b18ed1b1a18dbafc735bfb1368c2abb9d55 Mon Sep 17 00:00:00 2001 +From 85f3abe44a579ddff62fa3ef774c9d53c3bb35e4 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 10:45:23 +0800 Subject: [PATCH] fc/ntp: apply policy to ntpd alternatives
recipes-security/refpolicy/refpolicy/0019-fc-kerberos-apply-policy-to-kerberos-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 1400afd28f2cd886bae487fb17811a5fd98b86b9 Mon Sep 17 00:00:00 2001 +From b23752c14edcda3a5d25c386986cb2a53f68df71 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 10:55:05 +0800 Subject: [PATCH] fc/kerberos: apply policy to kerberos alternatives
recipes-security/refpolicy/refpolicy/0020-fc-ldap-apply-policy-to-ldap-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 53370099eb97c008460bb7b99817737beb94a9bf Mon Sep 17 00:00:00 2001 +From e86acf68aec0f34bd0d0e41cedbaf4e1584d1a74 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 11:06:13 +0800 Subject: [PATCH] fc/ldap: apply policy to ldap alternatives
recipes-security/refpolicy/refpolicy/0021-fc-postgresql-apply-policy-to-postgresql-alternative.patch +1 -1
@@ -1,4 +1,4 @@ -From 67fda1f031d70d1281b058a5f3a31e220b052d21 Mon Sep 17 00:00:00 2001 +From e237a9acdb30805eec7f7baea6265a4595f93b9d Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 11:13:16 +0800 Subject: [PATCH] fc/postgresql: apply policy to postgresql alternatives
recipes-security/refpolicy/refpolicy/0022-fc-screen-apply-policy-to-screen-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From fb72a7ca4963a7537bcb98a730025f6f8941d146 Mon Sep 17 00:00:00 2001 +From 83195f523c21392d9be0af8cd3bc358bd42f882c Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 11:15:33 +0800 Subject: [PATCH] fc/screen: apply policy to screen alternatives
recipes-security/refpolicy/refpolicy/0023-fc-usermanage-apply-policy-to-usermanage-alternative.patch +1 -1
@@ -1,4 +1,4 @@ -From 343389daef155325172928f7d5608e638897775d Mon Sep 17 00:00:00 2001 +From 75bc058a2571dc61b74b18647fa0288b9c47d628 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 11:25:34 +0800 Subject: [PATCH] fc/usermanage: apply policy to usermanage alternatives
recipes-security/refpolicy/refpolicy/0024-fc-getty-add-file-context-to-start_getty.patch +1 -1
@@ -1,4 +1,4 @@ -From 23cef56ad581ee4579ab6ee26c9dd8b114816b6b Mon Sep 17 00:00:00 2001 +From 5b7b58fb5b23b4ccc427233061ba816b45faaca3 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 15 Nov 2019 16:07:30 +0800 Subject: [PATCH] fc/getty: add file context to start_getty
recipes-security/refpolicy/refpolicy/0025-fc-vlock-apply-policy-to-vlock-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 32988df0a389ef480334dffce4d5cc96b0f1012e Mon Sep 17 00:00:00 2001 +From 6e72fd53bbadf600c06c3f25dfd502e6a9c502fb Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Wed, 18 Dec 2019 15:04:41 +0800 Subject: [PATCH] fc/vlock: apply policy to vlock alternatives
recipes-security/refpolicy/refpolicy/0026-fc-add-fcontext-for-init-scripts-and-systemd-service.patch +4 -4
@@ -1,4 +1,4 @@ -From 8586fbe84abd716a425e13e8b48179a08e210db2 Mon Sep 17 00:00:00 2001 +From 7f58d61471a45851dd162c2b4bd9733a5311c0b9 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Tue, 30 Jun 2020 10:45:57 +0800 Subject: [PATCH] fc: add fcontext for init scripts and systemd service files
@@ -14,7 +14,7 @@ Signed-off-by: Yi Zhao <[email protected]> 4 files changed, 5 insertions(+) diff --git a/policy/modules/services/cron.fc b/policy/modules/services/cron.fc -index 827363d88..e8412396d 100644 +index e71ad22c1..bb1351732 100644 --- a/policy/modules/services/cron.fc +++ b/policy/modules/services/cron.fc @@ -1,4 +1,5 @@
@@ -34,7 +34,7 @@ index 382c067f9..0ecc5acc4 100644 /usr/bin/rngd -- gen_context(system_u:object_r:rngd_exec_t,s0) diff --git a/policy/modules/services/rpc.fc b/policy/modules/services/rpc.fc -index 7edc09fac..7416fa39f 100644 +index 3b6d1c930..4949d995a 100644 --- a/policy/modules/services/rpc.fc +++ b/policy/modules/services/rpc.fc @@ -2,7 +2,9 @@
@@ -46,7 +46,7 @@ index 7edc09fac..7416fa39f 100644 +/etc/rc\.d/init\.d/nfscommon -- gen_context(system_u:object_r:rpcd_initrc_exec_t,s0) /etc/rc\.d/init\.d/rpcidmapd -- gen_context(system_u:object_r:rpcd_initrc_exec_t,s0) - /usr/bin/nfsdcld -- gen_context(system_u:object_r:rpcd_exec_t,s0) + /usr/bin/blkmapd -- gen_context(system_u:object_r:blkmapd_exec_t,s0) diff --git a/policy/modules/system/logging.fc b/policy/modules/system/logging.fc index 3b0dea51b..0ce2bec4b 100644 --- a/policy/modules/system/logging.fc
recipes-security/refpolicy/refpolicy/0027-file_contexts.subs_dist-set-aliase-for-root-director.patch +1 -1
@@ -1,4 +1,4 @@ -From 20f43a932c5f7369a446707624d12285035b72fc Mon Sep 17 00:00:00 2001 +From de259386cb52e44dd00534f598800a23be0d7689 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Sun, 5 Apr 2020 22:03:45 +0800 Subject: [PATCH] file_contexts.subs_dist: set aliase for /root directory
recipes-security/refpolicy/refpolicy/0028-policy-modules-system-logging-add-rules-for-the-syml.patch +1 -1
@@ -1,4 +1,4 @@ -From 97839d4388be64e168613c2ea3202a76e58fb656 Mon Sep 17 00:00:00 2001 +From 5147059bcfce76f04c4bacaadc4007588b6a722f Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] policy/modules/system/logging: add rules for the symlink of
recipes-security/refpolicy/refpolicy/0029-policy-modules-system-logging-add-rules-for-syslogd-.patch +2 -2
@@ -1,4 +1,4 @@ -From 9bd0c30476615fd4af29a9dd5b3b664398a9845a Mon Sep 17 00:00:00 2001 +From e2ce1a7a491ee079b9e393ba6bc6c17d457959f4 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Fri, 29 Mar 2019 10:33:18 -0400 Subject: [PATCH] policy/modules/system/logging: add rules for syslogd symlink
@@ -18,7 +18,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index eea78ffc5..5f06428f1 100644 +index 11bbbc113..38e0b4766 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -425,6 +425,7 @@ files_search_spool(syslogd_t)
recipes-security/refpolicy/refpolicy/0030-policy-modules-kernel-files-add-rules-for-the-symlin.patch +10 -10
@@ -1,4 +1,4 @@ -From 6293ec11e3c471b54c328f56f20c694b7287885f Mon Sep 17 00:00:00 2001 +From da3cf0879a8e34996125871e8d1336726f715acb Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] policy/modules/kernel/files: add rules for the symlink of
@@ -30,10 +30,10 @@ index b1728d37c..c5012e6b4 100644 /tmp/\.journal <<none>> diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if -index 811efef94..00146fc23 100644 +index e1fafd4ab..dbd7efa60 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if -@@ -4880,6 +4880,7 @@ interface(`files_search_tmp',` +@@ -4897,6 +4897,7 @@ interface(`files_search_tmp',` ') allow $1 tmp_t:dir search_dir_perms;
@@ -41,7 +41,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -4916,6 +4917,7 @@ interface(`files_list_tmp',` +@@ -4933,6 +4934,7 @@ interface(`files_list_tmp',` ') allow $1 tmp_t:dir list_dir_perms;
@@ -49,7 +49,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -4952,6 +4954,7 @@ interface(`files_delete_tmp_dir_entry',` +@@ -4969,6 +4971,7 @@ interface(`files_delete_tmp_dir_entry',` ') allow $1 tmp_t:dir del_entry_dir_perms;
@@ -57,7 +57,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -4970,6 +4973,7 @@ interface(`files_read_generic_tmp_files',` +@@ -4987,6 +4990,7 @@ interface(`files_read_generic_tmp_files',` ') read_files_pattern($1, tmp_t, tmp_t)
@@ -65,7 +65,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -4988,6 +4992,7 @@ interface(`files_manage_generic_tmp_dirs',` +@@ -5005,6 +5009,7 @@ interface(`files_manage_generic_tmp_dirs',` ') manage_dirs_pattern($1, tmp_t, tmp_t)
@@ -73,7 +73,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -5024,6 +5029,7 @@ interface(`files_manage_generic_tmp_files',` +@@ -5041,6 +5046,7 @@ interface(`files_manage_generic_tmp_files',` ') manage_files_pattern($1, tmp_t, tmp_t)
@@ -81,7 +81,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -5060,6 +5066,7 @@ interface(`files_rw_generic_tmp_sockets',` +@@ -5077,6 +5083,7 @@ interface(`files_rw_generic_tmp_sockets',` ') rw_sock_files_pattern($1, tmp_t, tmp_t)
@@ -89,7 +89,7 @@ index 811efef94..00146fc23 100644 ') ######################################## -@@ -5267,6 +5274,7 @@ interface(`files_tmp_filetrans',` +@@ -5284,6 +5291,7 @@ interface(`files_tmp_filetrans',` ') filetrans_pattern($1, tmp_t, $2, $3, $4)
recipes-security/refpolicy/refpolicy/0031-policy-modules-system-logging-fix-auditd-startup-fai.patch +2 -2
@@ -1,4 +1,4 @@ -From 40ddb313a0cb04b3e9b180e04d3427715de58aee Mon Sep 17 00:00:00 2001 +From 59c29aa28424cf61f6b71a9022dced52d5b58c8f Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] policy/modules/system/logging: fix auditd startup failures
@@ -17,7 +17,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index 5f06428f1..3ffddcb0a 100644 +index 38e0b4766..a1912254e 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -117,6 +117,7 @@ allow auditctl_t self:netlink_audit_socket nlmsg_readpriv;
recipes-security/refpolicy/refpolicy/0032-policy-modules-kernel-terminal-don-t-audit-tty_devic.patch +1 -1
@@ -1,4 +1,4 @@ -From 857a2cf93f6194d04ae8d2a8a544422e8a021e85 Mon Sep 17 00:00:00 2001 +From 81222e113818c210d4c2a65567d0b464f96b0523 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] policy/modules/kernel/terminal: don't audit tty_device_t in
recipes-security/refpolicy/refpolicy/0033-policy-modules-system-systemd-enable-support-for-sys.patch +2 -2
@@ -1,4 +1,4 @@ -From 44fe25734126ae52d95456992d6a5257bb28a5c2 Mon Sep 17 00:00:00 2001 +From 1c992963d7006927a79c9009c372ab9593b5bb95 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Thu, 4 Feb 2016 06:03:19 -0500 Subject: [PATCH] policy/modules/system/systemd: enable support for
@@ -29,7 +29,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index d58aba30b..8ae917644 100644 +index 523e49f14..e48a8c26f 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -10,7 +10,7 @@ policy_module(systemd)
recipes-security/refpolicy/refpolicy/0034-policy-modules-system-logging-allow-systemd-tmpfiles.patch +2 -2
@@ -1,4 +1,4 @@ -From 07582b5efbc4fd199e80d9cc9b8144e4c88e0a2b Mon Sep 17 00:00:00 2001 +From 803bb22683f9265837d0a0713d1f49003eb33ac8 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Sat, 30 Sep 2023 17:20:29 +0800 Subject: [PATCH] policy/modules/system/logging: allow systemd-tmpfiles to
@@ -24,7 +24,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index 3ffddcb0a..df6095805 100644 +index a1912254e..481ae9d14 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -27,6 +27,10 @@ type auditd_log_t;
recipes-security/refpolicy/refpolicy/0035-policy-modules-roles-sysadm-allow-sysadm-to-use-init.patch renamed from recipes-security/refpolicy/refpolicy/0036-policy-modules-roles-sysadm-allow-sysadm-to-use-init.patch +2 -2
@@ -1,4 +1,4 @@ -From be2a2d244fd95e4207986fa095988a02cb33cb32 Mon Sep 17 00:00:00 2001 +From c89141ec6fc96e304a8dac16fa5f4e45fa802201 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 28 Oct 2022 11:56:09 +0800 Subject: [PATCH] policy/modules/roles/sysadm: allow sysadm to use init file
@@ -19,7 +19,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te -index 69777df20..af5ccca9d 100644 +index acf2c67ae..0c96829a9 100644 --- a/policy/modules/roles/sysadm.te +++ b/policy/modules/roles/sysadm.te @@ -95,6 +95,8 @@ ifdef(`init_systemd',`
recipes-security/refpolicy/refpolicy/0035-policy-modules-system-systemd-allow-systemd_logind_t.patch deleted +0 -43
43 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0036-policy-modules-system-systemd-systemd-user-fixes.patch renamed from recipes-security/refpolicy/refpolicy/0037-policy-modules-system-systemd-systemd-user-fixes.patch +4 -4
@@ -1,4 +1,4 @@ -From d57677139a8fc837ede3430986bea0c42f49fc97 Mon Sep 17 00:00:00 2001 +From b2271a808dcc39a199729cbc3884577a5359bb63 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Thu, 4 Feb 2021 10:48:54 +0800 Subject: [PATCH] policy/modules/system/systemd: systemd --user fixes
@@ -31,10 +31,10 @@ Signed-off-by: Yi Zhao <[email protected]> 2 files changed, 34 insertions(+) diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if -index e62e8344a..96b5d31b4 100644 +index 0f92c23bd..1ae6195a1 100644 --- a/policy/modules/system/systemd.if +++ b/policy/modules/system/systemd.if -@@ -230,6 +230,36 @@ template(`systemd_role_template',` +@@ -236,6 +236,36 @@ template(`systemd_role_template',` ') ')
@@ -72,7 +72,7 @@ index e62e8344a..96b5d31b4 100644 ## <summary> ## Allow the specified domain to be started as a daemon by the diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if -index 73bb7c410..ea7a90a5d 100644 +index 677bad480..d2e5feda7 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -1467,6 +1467,10 @@ template(`userdom_admin_user_template',`
recipes-security/refpolicy/refpolicy/0037-policy-modules-system-logging-grant-getpcap-capabili.patch renamed from recipes-security/refpolicy/refpolicy/0038-policy-modules-system-logging-grant-getpcap-capabili.patch +2 -2
@@ -1,4 +1,4 @@ -From c54c53f8765c4401aa4c1b4a6204c8b538c008ad Mon Sep 17 00:00:00 2001 +From 74f4dd3dfdd0356171a7ce08c5d5c797c57dbe4a Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Tue, 28 May 2024 11:21:48 +0800 Subject: [PATCH] policy/modules/system/logging: grant getpcap capability to
@@ -21,7 +21,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index df6095805..086498936 100644 +index 481ae9d14..be602fc7f 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -402,6 +402,8 @@ optional_policy(`
recipes-security/refpolicy/refpolicy/0038-policy-modules-system-allow-services-to-read-tmpfs-u.patch renamed from recipes-security/refpolicy/refpolicy/0039-policy-modules-system-allow-services-to-read-tmpfs-u.patch +5 -5
@@ -1,4 +1,4 @@ -From 33bc8d28c406ffd7a6aef2f390734b3f5bdfc5a3 Mon Sep 17 00:00:00 2001 +From 0047cbb8997d9d36613dcee9b60430fa44025713 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 30 Aug 2024 12:39:48 +0800 Subject: [PATCH] policy/modules/system: allow services to read tmpfs under
@@ -67,7 +67,7 @@ index a900226bf..75b94785b 100644 mcs_process_set_categories(getty_t) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index 086498936..dca46f105 100644 +index be602fc7f..dbb9c62c9 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -491,6 +491,7 @@ files_read_kernel_symbol_table(syslogd_t)
@@ -79,10 +79,10 @@ index 086498936..dca46f105 100644 mls_file_write_all_levels(syslogd_t) # Need to be able to write to /var/run/ and /var/log directories diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index 9375e8926..24fc90838 100644 +index e48a8c26f..23f7a6027 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te -@@ -1294,6 +1294,7 @@ files_watch_root_dirs(systemd_networkd_t) +@@ -1332,6 +1332,7 @@ files_watch_root_dirs(systemd_networkd_t) files_list_runtime(systemd_networkd_t) fs_getattr_all_fs(systemd_networkd_t)
@@ -91,7 +91,7 @@ index 9375e8926..24fc90838 100644 fs_read_nsfs_files(systemd_networkd_t) fs_watch_memory_pressure(systemd_networkd_t) diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te -index b2e43aa7d..f543a48d2 100644 +index 620de7e2e..ccb073351 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te @@ -142,6 +142,7 @@ files_dontaudit_getattr_tmp_dirs(udev_t)
recipes-security/refpolicy/refpolicy/0039-policy-modules-kernel-domain-allow-all-domains-to-co.patch renamed from recipes-security/refpolicy/refpolicy/0040-policy-modules-kernel-domain-allow-all-domains-to-co.patch +1 -1
@@ -1,4 +1,4 @@ -From 58adf54a5ef927cda85c11e2c73151d6e91e8294 Mon Sep 17 00:00:00 2001 +From 975472091496c8f6ed6544dd307672ccb97cf958 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Thu, 3 Oct 2024 21:12:33 +0800 Subject: [PATCH] policy/modules/kernel/domain: allow all domains to connect to
recipes-security/refpolicy/refpolicy/0040-systemd-allow-systemd-logind-to-inherit-fds.patch new file +68 -0
68 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0041-systemd-allow-systemd-tmpfiles-to-read-bin_t-symlink.patch new file +107 -0
107 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0042-policy-modules-system-mount-make-mount_t-domain-MLS-.patch renamed from recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch +3 -3
@@ -1,4 +1,4 @@ -From fe5fe08deab5f02a3609e5333e09e5e3af05140a Mon Sep 17 00:00:00 2001 +From 87ebadc702f2e3de7c4a8470cffde09a53c8fb8f Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Sat, 15 Feb 2014 04:22:47 -0500 Subject: [PATCH] policy/modules/system/mount: make mount_t domain MLS trusted
@@ -19,10 +19,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index d9e431a84..20d6aaba1 100644 +index c5727585c..71ff4efd1 100644 --- a/policy/modules/system/mount.te +++ b/policy/modules/system/mount.te -@@ -118,6 +118,7 @@ fs_dontaudit_write_all_image_files(mount_t) +@@ -119,6 +119,7 @@ fs_dontaudit_write_all_image_files(mount_t) mls_file_read_all_levels(mount_t) mls_file_write_all_levels(mount_t)
recipes-security/refpolicy/refpolicy/0043-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch renamed from recipes-security/refpolicy/refpolicy/0042-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch +2 -2
@@ -1,4 +1,4 @@ -From 7a0339aeba7cfe38b62c81ee4074446bba60e801 Mon Sep 17 00:00:00 2001 +From 4cb4afe1def20e106b0cbac0fb686c28a95ac6d7 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Mon, 28 Jan 2019 14:05:18 +0800 Subject: [PATCH] policy/modules/roles/sysadm: MLS - sysadm rw to clearance
@@ -23,7 +23,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te -index af5ccca9d..10cebdc53 100644 +index 0c96829a9..5fbcc7204 100644 --- a/policy/modules/roles/sysadm.te +++ b/policy/modules/roles/sysadm.te @@ -48,6 +48,8 @@ logging_watch_all_logs(sysadm_t)
recipes-security/refpolicy/refpolicy/0044-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch renamed from recipes-security/refpolicy/refpolicy/0043-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch +3 -3
@@ -1,4 +1,4 @@ -From a563f59fe223aa9c74df7a482b5da80ce05fbbf5 Mon Sep 17 00:00:00 2001 +From 7feb72e30444b314c0bf3ca400375b2486d0e7c9 Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Fri, 23 Aug 2013 12:01:53 +0800 Subject: [PATCH] policy/modules/services/rpc: make nfsd_t domain MLS trusted
@@ -15,10 +15,10 @@ Signed-off-by: Yi Zhao <[email protected]> 2 files changed, 7 insertions(+) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te -index 8fd1875d3..6c35a2374 100644 +index 65c814a97..da264d081 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te -@@ -381,6 +381,8 @@ mls_process_read_all_levels(kernel_t) +@@ -378,6 +378,8 @@ mls_process_read_all_levels(kernel_t) mls_process_write_all_levels(kernel_t) mls_file_write_all_levels(kernel_t) mls_file_read_all_levels(kernel_t)
recipes-security/refpolicy/refpolicy/0045-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch renamed from recipes-security/refpolicy/refpolicy/0044-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch +1 -1
@@ -1,4 +1,4 @@ -From 6bd19ab1f6adac7722ef35c70982efea04b5d91f Mon Sep 17 00:00:00 2001 +From 929d814365465704142aaa3eaa80abad6d03efde Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Tue, 30 Jun 2020 10:18:20 +0800 Subject: [PATCH] policy/modules/admin/dmesg: make dmesg_t MLS trusted reading
recipes-security/refpolicy/refpolicy/0046-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch renamed from recipes-security/refpolicy/refpolicy/0045-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch +3 -3
@@ -1,4 +1,4 @@ -From a196f11f4a7f2f96cbf05614513204ca17aa0691 Mon Sep 17 00:00:00 2001 +From 6ebec2a77b771cfcac8a7320eae7a9abde7cfc3a Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Fri, 13 Oct 2017 07:20:40 +0000 Subject: [PATCH] policy/modules/kernel/kernel: make kernel_t MLS trusted for
@@ -59,10 +59,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te -index 6c35a2374..ebde22e02 100644 +index da264d081..e84bcf2b6 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te -@@ -383,6 +383,8 @@ mls_file_write_all_levels(kernel_t) +@@ -380,6 +380,8 @@ mls_file_write_all_levels(kernel_t) mls_file_read_all_levels(kernel_t) mls_socket_write_all_levels(kernel_t) mls_fd_use_all_levels(kernel_t)
recipes-security/refpolicy/refpolicy/0047-policy-modules-system-init-make-init_t-MLS-trusted-f.patch renamed from recipes-security/refpolicy/refpolicy/0046-policy-modules-system-init-make-init_t-MLS-trusted-f.patch +3 -3
@@ -1,4 +1,4 @@ -From 777e396d61c3af7b847fcc9ebc490f1e5f3969b9 Mon Sep 17 00:00:00 2001 +From 93936c7a0cf671f463b5d3360c6c906df4028e33 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Fri, 15 Jan 2016 03:47:05 -0500 Subject: [PATCH] policy/modules/system/init: make init_t MLS trusted for
@@ -27,10 +27,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te -index e724c295e..6ffdb547f 100644 +index 43d62b2e1..039272004 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -238,6 +238,10 @@ mls_process_write_all_levels(init_t) +@@ -239,6 +239,10 @@ mls_process_write_all_levels(init_t) mls_fd_use_all_levels(init_t) mls_process_set_level(init_t)
recipes-security/refpolicy/refpolicy/0048-policy-modules-system-systemd-make-systemd-tmpfiles_.patch renamed from recipes-security/refpolicy/refpolicy/0047-policy-modules-system-systemd-make-systemd-tmpfiles_.patch +3 -3
@@ -1,4 +1,4 @@ -From f87ab013d4dffe5b588376b73c51fbfc5e9b1205 Mon Sep 17 00:00:00 2001 +From a698845641cf86d0cdcab4b014b14757fbc0a605 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Thu, 4 Feb 2016 06:03:19 -0500 Subject: [PATCH] policy/modules/system/systemd: make systemd-tmpfiles_t domain
@@ -43,10 +43,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 5 insertions(+) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index 24fc90838..dc3badece 100644 +index c605d58de..fb75c2f45 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te -@@ -1970,6 +1970,11 @@ sysnet_relabel_config(systemd_tmpfiles_t) +@@ -2024,6 +2024,11 @@ sysnet_relabel_config(systemd_tmpfiles_t) systemd_log_parse_environment(systemd_tmpfiles_t)
recipes-security/refpolicy/refpolicy/0049-policy-modules-system-systemd-systemd-make-systemd_-.patch renamed from recipes-security/refpolicy/refpolicy/0048-policy-modules-system-systemd-systemd-make-systemd_-.patch +7 -7
@@ -1,4 +1,4 @@ -From ec080f2b0b18b29e46bded08a0880624e5380026 Mon Sep 17 00:00:00 2001 +From f70cd58e286d417f9024b23056234038629bb75f Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Thu, 18 Jun 2020 09:59:58 +0800 Subject: [PATCH] policy/modules/system/systemd: systemd-*: make systemd_*_t
@@ -43,10 +43,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 12 insertions(+) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index dc3badece..0440b4795 100644 +index fb75c2f45..45d4db784 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te -@@ -430,6 +430,9 @@ files_search_var_lib(systemd_backlight_t) +@@ -439,6 +439,9 @@ files_search_var_lib(systemd_backlight_t) fs_getattr_all_fs(systemd_backlight_t) fs_search_cgroup_dirs(systemd_backlight_t)
@@ -56,7 +56,7 @@ index dc3badece..0440b4795 100644 ####################################### # # Binfmt local policy -@@ -603,6 +606,9 @@ term_use_unallocated_ttys(systemd_generator_t) +@@ -616,6 +619,9 @@ term_use_unallocated_ttys(systemd_generator_t) udev_read_runtime_files(systemd_generator_t)
@@ -66,9 +66,9 @@ index dc3badece..0440b4795 100644 ifdef(`distro_gentoo',` corecmd_shell_entry_type(systemd_generator_t) ') -@@ -1058,6 +1064,9 @@ userdom_setattr_user_ttys(systemd_logind_t) +@@ -1093,6 +1099,9 @@ userdom_relabelto_user_runtime_dirs(systemd_logind_t) + userdom_setattr_user_ttys(systemd_logind_t) userdom_use_user_ttys(systemd_logind_t) - domain_read_all_domains_state(systemd_logind_t) +mls_file_read_all_levels(systemd_logind_t) +mls_file_write_all_levels(systemd_logind_t)
@@ -76,7 +76,7 @@ index dc3badece..0440b4795 100644 # Needed to work around patch not yet merged into the systemd-logind supported on RHEL 7.x # The change in systemd by Nicolas Iooss on 02-Feb-2016 with hash 4b51966cf6c06250036e428608da92f8640beb96 # should fix the problem where user directories in /run/user/$UID/ are not getting the proper context -@@ -1681,6 +1690,9 @@ udev_read_runtime_files(systemd_rfkill_t) +@@ -1722,6 +1731,9 @@ udev_read_runtime_files(systemd_rfkill_t) systemd_log_parse_environment(systemd_rfkill_t)
recipes-security/refpolicy/refpolicy/0050-policy-modules-system-logging-add-the-syslogd_t-to-t.patch renamed from recipes-security/refpolicy/refpolicy/0049-policy-modules-system-logging-add-the-syslogd_t-to-t.patch +2 -2
@@ -1,4 +1,4 @@ -From 564d43016ed6dcbadb7a7203d8d639d0c782d4e7 Mon Sep 17 00:00:00 2001 +From 25be898844c76cba143de013c05966258e0ec98d Mon Sep 17 00:00:00 2001 From: Xin Ouyang <[email protected]> Date: Thu, 22 Aug 2013 13:37:23 +0800 Subject: [PATCH] policy/modules/system/logging: add the syslogd_t to trusted
@@ -18,7 +18,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index dca46f105..cedcaeb36 100644 +index dbb9c62c9..9659937fe 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -495,6 +495,9 @@ fs_list_tmpfs(syslogd_t)
recipes-security/refpolicy/refpolicy/0051-policy-modules-system-init-make-init_t-MLS-trusted-f.patch renamed from recipes-security/refpolicy/refpolicy/0050-policy-modules-system-init-make-init_t-MLS-trusted-f.patch +3 -3
@@ -1,4 +1,4 @@ -From c49b89d2a6cfc33c0e6fe6347609fea09ae7fe2e Mon Sep 17 00:00:00 2001 +From ba07393b28fd2459a6ae7e4c50a48d1ee954360e Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Tue, 28 May 2019 16:41:37 +0800 Subject: [PATCH] policy/modules/system/init: make init_t MLS trusted for
@@ -17,10 +17,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te -index 6ffdb547f..8bd8e2f63 100644 +index 039272004..0a7add4b7 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -237,6 +237,7 @@ mls_file_write_all_levels(init_t) +@@ -238,6 +238,7 @@ mls_file_write_all_levels(init_t) mls_process_write_all_levels(init_t) mls_fd_use_all_levels(init_t) mls_process_set_level(init_t)
recipes-security/refpolicy/refpolicy/0052-policy-modules-system-init-all-init_t-to-read-any-le.patch renamed from recipes-security/refpolicy/refpolicy/0051-policy-modules-system-init-all-init_t-to-read-any-le.patch +3 -3
@@ -1,4 +1,4 @@ -From f8b5f66dd987609027d8e0381338e39b52a47138 Mon Sep 17 00:00:00 2001 +From a01c52188566c4148862076dae90baa265e985df Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Wed, 3 Feb 2016 04:16:06 -0500 Subject: [PATCH] policy/modules/system/init: all init_t to read any level
@@ -22,10 +22,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te -index 8bd8e2f63..8af34aa7e 100644 +index 0a7add4b7..7df44cead 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -243,6 +243,9 @@ mls_key_write_all_levels(init_t) +@@ -244,6 +244,9 @@ mls_key_write_all_levels(init_t) mls_file_downgrade(init_t) mls_file_upgrade(init_t)
recipes-security/refpolicy/refpolicy/0053-policy-modules-system-logging-allow-auditd_t-to-writ.patch renamed from recipes-security/refpolicy/refpolicy/0052-policy-modules-system-logging-allow-auditd_t-to-writ.patch +2 -2
@@ -1,4 +1,4 @@ -From d6573102f922b0e08d49cb5582612dfbaae10600 Mon Sep 17 00:00:00 2001 +From dfc4e8ef225a6ce97ef4862b608228440d099863 Mon Sep 17 00:00:00 2001 From: Wenzong Fan <[email protected]> Date: Thu, 25 Feb 2016 04:25:08 -0500 Subject: [PATCH] policy/modules/system/logging: allow auditd_t to write socket
@@ -22,7 +22,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index cedcaeb36..1b181f7cc 100644 +index 9659937fe..2c733c0f2 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -236,6 +236,8 @@ miscfiles_read_localization(auditd_t)
recipes-security/refpolicy/refpolicy/0054-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch renamed from recipes-security/refpolicy/refpolicy/0053-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch +3 -3
@@ -1,4 +1,4 @@ -From 6b77c79af18f6dba52b7a63a7a2aefdd48c0fd33 Mon Sep 17 00:00:00 2001 +From f26d8ea933ef3f6fe72fbded8d1f6b683c135ab9 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Thu, 31 Oct 2019 17:35:59 +0800 Subject: [PATCH] policy/modules/kernel/kernel: make kernel_t MLS trusted for
@@ -15,10 +15,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te -index ebde22e02..60e805cb8 100644 +index e84bcf2b6..987709345 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te -@@ -385,6 +385,7 @@ mls_socket_write_all_levels(kernel_t) +@@ -382,6 +382,7 @@ mls_socket_write_all_levels(kernel_t) mls_fd_use_all_levels(kernel_t) # https://bugzilla.redhat.com/show_bug.cgi?id=667370 mls_file_downgrade(kernel_t)
recipes-security/refpolicy/refpolicy/0055-policy-modules-system-setrans-allow-setrans_t-use-fd.patch renamed from recipes-security/refpolicy/refpolicy/0054-policy-modules-system-setrans-allow-setrans_t-use-fd.patch +1 -1
@@ -1,4 +1,4 @@ -From 03e4c0afc4a0aa432b30e9b5e8abbe069871fb9e Mon Sep 17 00:00:00 2001 +From 44aada7fe60d66a45fdcb9b1e5039365cf2b962b Mon Sep 17 00:00:00 2001 From: Roy Li <[email protected]> Date: Sat, 22 Feb 2014 13:35:38 +0800 Subject: [PATCH] policy/modules/system/setrans: allow setrans_t use fd at any
recipes-security/refpolicy/refpolicy/0056-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch renamed from recipes-security/refpolicy/refpolicy/0055-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch +3 -3
@@ -1,4 +1,4 @@ -From 1ca4caa4600e9b742f0c7816efe8cff153fe412a Mon Sep 17 00:00:00 2001 +From 115135e6809b715df2b382bf9e35eef3e09be311 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Mon, 22 Feb 2021 11:28:12 +0800 Subject: [PATCH] policy/modules/system/systemd: make *_systemd_t MLS trusted
@@ -24,10 +24,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if -index 96b5d31b4..07c506e1c 100644 +index 7654d1076..22d5e2b18 100644 --- a/policy/modules/system/systemd.if +++ b/policy/modules/system/systemd.if -@@ -228,6 +228,9 @@ template(`systemd_role_template',` +@@ -235,6 +235,9 @@ template(`systemd_role_template',` xdg_read_config_files($1_systemd_t) xdg_read_data_files($1_systemd_t) ')
recipes-security/refpolicy/refpolicy/0057-policy-modules-system-logging-make-syslogd_runtime_t.patch renamed from recipes-security/refpolicy/refpolicy/0056-policy-modules-system-logging-make-syslogd_runtime_t.patch +2 -2
@@ -1,4 +1,4 @@ -From 8e5a17676c9976d163b70edd31834c4e16405ed9 Mon Sep 17 00:00:00 2001 +From 17f0718ec39892d411d2cbe029864167d5d191a2 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Sat, 18 Dec 2021 17:31:45 +0800 Subject: [PATCH] policy/modules/system/logging: make syslogd_runtime_t MLS
@@ -31,7 +31,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te -index 1b181f7cc..d5878876b 100644 +index 2c733c0f2..c758dbff0 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -459,6 +459,8 @@ allow syslogd_t syslogd_runtime_t:file map;
recipes-security/refpolicy/refpolicy_common.inc +23 -22
51 lines not on this page · raw message
recipes-security/refpolicy/refpolicy_git.inc +2 -2
@@ -1,8 +1,8 @@ -PV = "2.20240916+git" +PV = "2.20250213+git" SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=https;branch=main;name=refpolicy;destsuffix=refpolicy" -SRCREV_refpolicy ?= "741dc96eb7e737bc2f00b7f4b4b394a66d32d913" +SRCREV_refpolicy = "badb91ce49e20449b1a73cd98dc9250b622ed369" UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)"
Signature · 1 line
2.25.1