selinux: move selinux scripts to selinux-scripts
PATCH RESEND 1/4 selinux: move selinux scripts to selinux-scripts
---
.../selinux-autorelabel/selinux-autorelabel.service | 0
.../selinux-autorelabel/selinux-autorelabel.sh | 0
.../{selinux => selinux-scripts}/selinux-autorelabel_0.1.bb | 0
.../selinux-init/selinux-init.service | 0
.../{selinux => selinux-scripts}/selinux-init/selinux-init.sh | 0
.../selinux-init/selinux-init.sh.sysvinit | 0
recipes-security/{selinux => selinux-scripts}/selinux-init_0.1.bb | 0
recipes-security/{selinux => selinux-scripts}/selinux-initsh.inc | 0
.../selinux-labeldev/selinux-labeldev.service | 0
.../selinux-labeldev/selinux-labeldev.sh | 0
.../{selinux => selinux-scripts}/selinux-labeldev_0.1.bb | 0
11 files changed, 0 insertions(+), 0 deletions(-)
rename recipes-security/{selinux => selinux-scripts}/selinux-autorelabel/selinux-autorelabel.service (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-autorelabel/selinux-autorelabel.sh (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-autorelabel_0.1.bb (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-init/selinux-init.service (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-init/selinux-init.sh (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-init/selinux-init.sh.sysvinit (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-init_0.1.bb (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-initsh.inc (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-labeldev/selinux-labeldev.service (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-labeldev/selinux-labeldev.sh (100%)
rename recipes-security/{selinux => selinux-scripts}/selinux-labeldev_0.1.bb (100%)recipes-security/selinux-scripts/selinux-autorelabel/selinux-autorelabel.service renamed from recipes-security/selinux/selinux-autorelabel/selinux-autorelabel.service +0 -0
recipes-security/selinux-scripts/selinux-autorelabel/selinux-autorelabel.sh renamed from recipes-security/selinux/selinux-autorelabel/selinux-autorelabel.sh +0 -0
recipes-security/selinux-scripts/selinux-autorelabel_0.1.bb renamed from recipes-security/selinux/selinux-autorelabel_0.1.bb +0 -0
recipes-security/selinux-scripts/selinux-init/selinux-init.service renamed from recipes-security/selinux/selinux-init/selinux-init.service +0 -0
recipes-security/selinux-scripts/selinux-init/selinux-init.sh renamed from recipes-security/selinux/selinux-init/selinux-init.sh +0 -0
recipes-security/selinux-scripts/selinux-init/selinux-init.sh.sysvinit renamed from recipes-security/selinux/selinux-init/selinux-init.sh.sysvinit +0 -0
recipes-security/selinux-scripts/selinux-init_0.1.bb renamed from recipes-security/selinux/selinux-init_0.1.bb +0 -0
recipes-security/selinux-scripts/selinux-initsh.inc renamed from recipes-security/selinux/selinux-initsh.inc +0 -0
recipes-security/selinux-scripts/selinux-labeldev/selinux-labeldev.service renamed from recipes-security/selinux/selinux-labeldev/selinux-labeldev.service +0 -0
recipes-security/selinux-scripts/selinux-labeldev/selinux-labeldev.sh renamed from recipes-security/selinux/selinux-labeldev/selinux-labeldev.sh +0 -0
recipes-security/selinux-scripts/selinux-labeldev_0.1.bb renamed from recipes-security/selinux/selinux-labeldev_0.1.bb +0 -0
Signature · 1 line
2.25.1
PATCH RESEND 2/4 selinux-python: add RDEPENDES on audit-python
Add RDEPENDS on audit-python for selinux-python-semanage.
Fixes:
$ semanage fcontext -a -t user_home_t "/web(/.*)?"
Traceback (most recent call last):
File "/usr/sbin/semanage", line 975, in <module>
do_parser()
File "/usr/sbin/semanage", line 947, in do_parser
args.func(args)
File "/usr/sbin/semanage", line 329, in handleFcontext
OBJECT.add(args.file_spec, args.type, args.ftype, args.range, args.seuser)
File "/usr/lib/python3.9/site-packages/seobject.py", line 2485, in add
self.__add(target, type, ftype, serange, seuser)
File "/usr/lib/python3.9/site-packages/seobject.py", line 2481, in __add
self.mylog.log_change("resrc=fcontext op=add %s ftype=%s tcontext=%s:%s:%s:%s"
% (audit.audit_encode_nv_string("tglob", target, 0), ftype_to_audit[ftype],)
NameError: name 'audit' is not defined--- recipes-security/selinux/selinux-python_3.2.bb | 1 + 1 file changed, 1 insertion(+)
recipes-security/selinux/selinux-python_3.2.bb +1 -0
@@ -50,6 +50,7 @@ RDEPENDS:${BPN}-semanage += "\ python3-xml \ python3-misc \ libselinux-python \ + audit-python \ ${BPN} \ " RDEPENDS:${BPN}-sepolicy += "\
Signature · 1 line
2.25.1
PATCH RESEND 1/1 PATCH 3/4] selinux: upgrade 3.2 -> 3.3
In reply to Yi Zhao---
...{checkpolicy_3.2.bb => checkpolicy_3.3.bb} | 0
...python_3.2.bb => libselinux-python_3.3.bb} | 0
.../{libselinux_3.2.bb => libselinux_3.3.bb} | 0
...{libsemanage_3.2.bb => libsemanage_3.3.bb} | 0
.../selinux/libsepol/CVE-2021-36084.patch | 99 -------------
.../selinux/libsepol/CVE-2021-36085.patch | 38 -----
.../selinux/libsepol/CVE-2021-36086.patch | 46 ------
.../{libsepol_3.2.bb => libsepol_3.3.bb} | 4 -
.../{mcstrans_3.2.bb => mcstrans_3.3.bb} | 0
...oreutils_3.2.bb => policycoreutils_3.3.bb} | 0
...{restorecond_3.2.bb => restorecond_3.3.bb} | 0
.../selinux/secilc/CVE-2021-36087.patch | 134 ------------------
.../selinux/{secilc_3.2.bb => secilc_3.3.bb} | 2 -
...elinux-dbus_3.2.bb => selinux-dbus_3.3.bb} | 0
...{selinux-gui_3.2.bb => selinux-gui_3.3.bb} | 0
...ux-python_3.2.bb => selinux-python_3.3.bb} | 0
...-sandbox_3.2.bb => selinux-sandbox_3.3.bb} | 0
recipes-security/selinux/selinux_common.inc | 2 +-
...ule-utils_3.2.bb => semodule-utils_3.3.bb} | 0
19 files changed, 1 insertion(+), 324 deletions(-)
rename recipes-security/selinux/{checkpolicy_3.2.bb => checkpolicy_3.3.bb} (100%)
rename recipes-security/selinux/{libselinux-python_3.2.bb => libselinux-python_3.3.bb} (100%)
rename recipes-security/selinux/{libselinux_3.2.bb => libselinux_3.3.bb} (100%)
rename recipes-security/selinux/{libsemanage_3.2.bb => libsemanage_3.3.bb} (100%)
delete mode 100644 recipes-security/selinux/libsepol/CVE-2021-36084.patch
delete mode 100644 recipes-security/selinux/libsepol/CVE-2021-36085.patch
delete mode 100644 recipes-security/selinux/libsepol/CVE-2021-36086.patch
rename recipes-security/selinux/{libsepol_3.2.bb => libsepol_3.3.bb} (85%)
rename recipes-security/selinux/{mcstrans_3.2.bb => mcstrans_3.3.bb} (100%)
rename recipes-security/selinux/{policycoreutils_3.2.bb => policycoreutils_3.3.bb} (100%)
rename recipes-security/selinux/{restorecond_3.2.bb => restorecond_3.3.bb} (100%)
delete mode 100644 recipes-security/selinux/secilc/CVE-2021-36087.patch
rename recipes-security/selinux/{secilc_3.2.bb => secilc_3.3.bb} (90%)
rename recipes-security/selinux/{selinux-dbus_3.2.bb => selinux-dbus_3.3.bb} (100%)
rename recipes-security/selinux/{selinux-gui_3.2.bb => selinux-gui_3.3.bb} (100%)
rename recipes-security/selinux/{selinux-python_3.2.bb => selinux-python_3.3.bb} (100%)
rename recipes-security/selinux/{selinux-sandbox_3.2.bb => selinux-sandbox_3.3.bb} (100%)
rename recipes-security/selinux/{semodule-utils_3.2.bb => semodule-utils_3.3.bb} (100%)recipes-security/selinux/checkpolicy_3.3.bb renamed from recipes-security/selinux/checkpolicy_3.2.bb +0 -0
recipes-security/selinux/libselinux-python_3.3.bb renamed from recipes-security/selinux/libselinux-python_3.2.bb +0 -0
recipes-security/selinux/libselinux_3.3.bb renamed from recipes-security/selinux/libselinux_3.2.bb +0 -0
recipes-security/selinux/libsemanage_3.3.bb renamed from recipes-security/selinux/libsemanage_3.2.bb +0 -0
recipes-security/selinux/libsepol/CVE-2021-36084.patch deleted +0 -99
99 lines not on this page · raw message
recipes-security/selinux/libsepol/CVE-2021-36085.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 2d35fcc7e9e976a2346b1de20e54f8663e8a6cba Mon Sep 17 00:00:00 2001 -From: James Carter <[email protected]> -Date: Thu, 8 Apr 2021 13:32:04 -0400 -Subject: [PATCH] libsepol/cil: Destroy classperm list when resetting map perms - -Map perms share the same struct as regular perms, but only the -map perms use the classperms field. This field is a pointer to a -list of classperms that is created and added to when resolving -classmapping rules, so the map permission doesn't own any of the -data in the list and this list should be destroyed when the AST is -reset. - -When resetting a perm, destroy the classperms list without destroying -the data in the list. - -Signed-off-by: James Carter <[email protected]> - -Upstream-Status: Backport -CVE: CVE-2021-36085 -Signed-off-by: Armin Kuster <[email protected]> - ---- - libsepol/cil/src/cil_reset_ast.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: libsepol-3.0/cil/src/cil_reset_ast.c -=================================================================== ---- libsepol-3.0.orig/cil/src/cil_reset_ast.c -+++ libsepol-3.0/cil/src/cil_reset_ast.c -@@ -34,7 +34,7 @@ static void cil_reset_class(struct cil_c - - static void cil_reset_perm(struct cil_perm *perm) - { -- cil_reset_classperms_list(perm->classperms); -+ cil_list_destroy(&perm->classperms, CIL_FALSE); - } - - static inline void cil_reset_classperms(struct cil_classperms *cp)
recipes-security/selinux/libsepol/CVE-2021-36086.patch deleted +0 -46
46 lines not on this page · raw message
recipes-security/selinux/libsepol_3.3.bb renamed from recipes-security/selinux/libsepol_3.2.bb +0 -4
@@ -9,10 +9,6 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" require selinux_common.inc -SRC_URI += "file://CVE-2021-36084.patch \ - file://CVE-2021-36085.patch \ - file://CVE-2021-36086.patch " - inherit lib_package S = "${WORKDIR}/git/libsepol"
recipes-security/selinux/mcstrans_3.3.bb renamed from recipes-security/selinux/mcstrans_3.2.bb +0 -0
recipes-security/selinux/policycoreutils_3.3.bb renamed from recipes-security/selinux/policycoreutils_3.2.bb +0 -0
recipes-security/selinux/restorecond_3.3.bb renamed from recipes-security/selinux/restorecond_3.2.bb +0 -0
recipes-security/selinux/secilc/CVE-2021-36087.patch deleted +0 -134
134 lines not on this page · raw message
recipes-security/selinux/secilc_3.3.bb renamed from recipes-security/selinux/secilc_3.2.bb +0 -2
@@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=c7e802b9a3b0c2c852669864c08b9138" require selinux_common.inc -SRC_URI += "file://CVE-2021-36087.patch" - DEPENDS += "libsepol xmlto-native" S = "${WORKDIR}/git/secilc"
recipes-security/selinux/selinux-dbus_3.3.bb renamed from recipes-security/selinux/selinux-dbus_3.2.bb +0 -0
recipes-security/selinux/selinux-gui_3.3.bb renamed from recipes-security/selinux/selinux-gui_3.2.bb +0 -0
recipes-security/selinux/selinux-python_3.3.bb renamed from recipes-security/selinux/selinux-python_3.2.bb +0 -0
recipes-security/selinux/selinux-sandbox_3.3.bb renamed from recipes-security/selinux/selinux-sandbox_3.2.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=master;protocol=https" -SRCREV = "cf853c1a0c2328ad6c62fb2b2cc55d4926301d6b" +SRCREV = "7f600c40bc18d8180993edcd54daf45124736776" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
recipes-security/selinux/semodule-utils_3.3.bb renamed from recipes-security/selinux/semodule-utils_3.2.bb +0 -0
Signature · 1 line
2.25.1
PATCH v3 4/4 refpolicy: upgrade 20210203+git -> 20210908+git
In reply to Yi Zhao* Update to latest git rev.
* Drop obsolete and useless patches.
* Rebase patches.
* Set POLICY_DISTRO from redhat to debian, which can reduce the amount of local patches.
* Set max kernel policy version from 31 to 33.
---
V2 Changes: Fix su command failure
Drop useless patches for MLS policy
V3 Changes: Update to latest rev
Drop patches which have been merged upstream
.../refpolicy/refpolicy-minimum_git.bb | 3 +-
.../refpolicy/refpolicy-targeted_git.bb | 1 +
...tile-alias-common-var-volatile-paths.patch | 6 +-
...inimum-make-sysadmin-module-optional.patch | 6 +-
...ed-make-unconfined_u-the-default-sel.patch | 126 +-----------
...box-set-aliases-for-bin-sbin-and-usr.patch | 6 +-
...icy-minimum-make-xdg-module-optional.patch | 40 ++++
...ed-add-capability2-bpf-and-perfmon-f.patch | 52 +++++
...y-policy-to-common-yocto-hostname-al.patch | 2 +-
...fpolicy-minimum-enable-nscd_use_shm.patch} | 4 +-
...sr-bin-bash-context-to-bin-bash.bash.patch | 2 +-
...abel-resolv.conf-in-var-run-properly.patch | 2 +-
...-apply-login-context-to-login.shadow.patch | 10 +-
.../0007-fc-bind-fix-real-path-for-bind.patch | 32 ---
...fc-hwclock-add-hwclock-alternatives.patch} | 2 +-
...-apply-policy-to-dmesg-alternatives.patch} | 2 +-
...sh-apply-policy-to-ssh-alternatives.patch} | 2 +-
...ly-policy-to-network-commands-alter.patch} | 20 +-
...-apply-policy-to-udevadm-in-libexec.patch} | 4 +-
...ly-rpm_exec-policy-to-cpio-binaries.patch} | 2 +-
...-su-apply-policy-to-su-alternatives.patch} | 2 +-
...c-fstools-fix-real-path-for-fstools.patch} | 2 +-
...ix-update-alternatives-for-sysvinit.patch} | 2 +-
...-apply-policy-to-brctl-alternatives.patch} | 2 +-
...pply-policy-to-nologin-alternatives.patch} | 2 +-
...pply-policy-to-sulogin-alternatives.patch} | 2 +-
...p-apply-policy-to-ntpd-alternatives.patch} | 2 +-
...ply-policy-to-kerberos-alternatives.patch} | 2 +-
...p-apply-policy-to-ldap-alternatives.patch} | 2 +-
...ly-policy-to-postgresql-alternative.patch} | 2 +-
...apply-policy-to-screen-alternatives.patch} | 2 +-
...ly-policy-to-usermanage-alternative.patch} | 16 +-
...tty-add-file-context-to-start_getty.patch} | 2 +-
...-apply-policy-to-vlock-alternatives.patch} | 2 +-
...for-init-scripts-and-systemd-service.patch | 64 ++++++
...file-context-to-etc-network-if-files.patch | 33 ---
...s_dist-set-aliase-for-root-director.patch} | 6 +-
...ron-apply-policy-to-etc-init.d-crond.patch | 25 ---
...stem-logging-add-rules-for-the-syml.patch} | 22 +-
...ork-update-file-context-for-ifconfig.patch | 31 ---
...stem-logging-add-rules-for-syslogd-.patch} | 6 +-
...rnel-files-add-rules-for-the-symlin.patch} | 20 +-
...stem-logging-fix-auditd-startup-fai.patch} | 41 +---
...rnel-terminal-don-t-audit-tty_devic.patch} | 2 +-
...stem-modutils-allow-mod_t-to-access.patch} | 8 +-
...stem-getty-allow-getty_t-to-search-.patch} | 8 +-
...rvices-rpcbind-allow-rpcbind_t-to-c.patch} | 24 +--
...dmin-usermanage-allow-useradd-to-rel.patch | 71 +++++++
...ervices-avahi-allow-avahi_t-to-watch.patch | 34 ----
...stem-systemd-enable-support-for-sys.patch} | 8 +-
...stem-systemd-fix-systemd-resolved-s.patch} | 35 ++--
...ervices-bluetooth-fix-bluetoothd-sta.patch | 88 --------
...ystem-systemd-allow-systemd_-_t-to-g.patch | 156 +++++++++++++++
...oles-sysadm-allow-sysadm-to-run-rpci.patch | 38 ----
...ystem-logging-fix-syslogd-failures-f.patch | 55 +++++
...ervices-rpc-add-capability-dac_read_.patch | 34 ----
...es-system-systemd-systemd-user-fixes.patch | 172 ++++++++++++++++
...stem-sysnetwork-support-priviledge-.patch} | 38 ++--
...ervices-rngd-fix-security-context-fo.patch | 65 ------
...stem-modutils-allow-kmod_t-to-write.patch} | 15 +-
...ervices-ssh-allow-ssh_keygen_t-to-re.patch | 34 ----
...ystem-systemd-allow-systemd_logind_t.patch | 43 ++++
...ervices-ssh-make-respective-init-scr.patch | 33 ---
...stem-mount-make-mount_t-domain-MLS-.patch} | 15 +-
...ernel-terminal-allow-loging-to-reset.patch | 31 ---
...les-sysadm-MLS-sysadm-rw-to-clearan.patch} | 15 +-
...rvices-rpc-make-nfsd_t-domain-MLS-t.patch} | 27 +--
...ystem-selinuxutil-allow-semanage_t-t.patch | 33 ---
...min-dmesg-make-dmesg_t-MLS-trusted-.patch} | 6 +-
...rnel-kernel-make-kernel_t-MLS-trust.patch} | 15 +-
...ystem-init-add-capability2-bpf-and-p.patch | 37 ----
...stem-init-make-init_t-MLS-trusted-f.patch} | 6 +-
...ystem-systemd-allow-systemd_logind_t.patch | 37 ----
...stem-systemd-make-systemd-tmpfiles_.patch} | 6 +-
...ystem-logging-set-label-devlog_t-to-.patch | 86 --------
...ystem-systemd-systemd-make-systemd_-.patch | 91 +++++++++
...stem-logging-add-the-syslogd_t-to-t.patch} | 8 +-
...-system-systemd-support-systemd-user.patch | 189 ------------------
...stem-init-make-init_t-MLS-trusted-f.patch} | 6 +-
...ystem-systemd-allow-systemd-generato.patch | 69 -------
...stem-init-all-init_t-to-read-any-le.patch} | 6 +-
...ystem-systemd-allow-systemd_backligh.patch | 35 ----
...stem-logging-allow-auditd_t-to-writ.patch} | 6 +-
...ystem-logging-fix-systemd-journald-s.patch | 47 -----
...rnel-kernel-make-kernel_t-MLS-trust.patch} | 15 +-
...ervices-cron-allow-crond_t-to-search.patch | 34 ----
...ervices-crontab-allow-sysadm_r-to-ru.patch | 46 -----
...stem-setrans-allow-setrans_t-use-fd.patch} | 6 +-
...stem-systemd-make-_systemd_t-MLS-tr.patch} | 12 +-
...ervices-acpi-allow-acpid-to-watch-th.patch | 35 ----
...ystem-logging-make-syslogd_runtime_t.patch | 48 +++++
...ystem-setrans-allow-setrans-to-acces.patch | 42 ----
...oles-sysadm-allow-sysadm_t-to-watch-.patch | 33 ---
...ystem-selinux-allow-setfiles_t-to-re.patch | 44 ----
...ystem-systemd-make-systemd-logind-do.patch | 42 ----
...ystem-systemd-systemd-user-sessions-.patch | 41 ----
...ystem-systemd-systemd-make-systemd_-.patch | 162 ---------------
...ervices-ntp-make-nptd_t-MLS-trusted-.patch | 40 ----
...ervices-acpi-make-acpid_t-domain-MLS.patch | 35 ----
...ervices-avahi-make-avahi_t-MLS-trust.patch | 29 ---
...ervices-bluetooth-make-bluetooth_t-d.patch | 36 ----
...ystem-sysnetwork-make-dhcpc_t-domain.patch | 38 ----
...ervices-inetd-make-inetd_t-domain-ML.patch | 36 ----
...ervices-bind-make-named_t-domain-MLS.patch | 38 ----
...ervices-rpc-make-rpcd_t-MLS-trusted-.patch | 36 ----
...ge-update-file-context-for-chfn-chsh.patch | 34 ----
.../refpolicy/refpolicy_common.inc | 148 ++++++--------
recipes-security/refpolicy/refpolicy_git.inc | 4 +-
108 files changed, 1086 insertions(+), 2294 deletions(-)
create mode 100644 recipes-security/refpolicy/refpolicy/0002-refpolicy-minimum-make-xdg-module-optional.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0002-refpolicy-targeted-add-capability2-bpf-and-perfmon-f.patch
rename recipes-security/refpolicy/refpolicy/{0002-refpolicy-minimum-enable-nscd_use_shm.patch => 0003-refpolicy-minimum-enable-nscd_use_shm.patch} (87%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch
rename recipes-security/refpolicy/refpolicy/{0008-fc-hwclock-add-hwclock-alternatives.patch => 0007-fc-hwclock-add-hwclock-alternatives.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch => 0008-fc-dmesg-apply-policy-to-dmesg-alternatives.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0010-fc-ssh-apply-policy-to-ssh-alternatives.patch => 0009-fc-ssh-apply-policy-to-ssh-alternatives.patch} (94%)
rename recipes-security/refpolicy/refpolicy/{0011-fc-sysnetwork-apply-policy-to-ip-alternatives.patch => 0010-fc-sysnetwork-apply-policy-to-network-commands-alter.patch} (65%)
rename recipes-security/refpolicy/refpolicy/{0012-fc-udev-apply-policy-to-udevadm-in-libexec.patch => 0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch} (90%)
rename recipes-security/refpolicy/refpolicy/{0013-fc-rpm-apply-rpm_exec-policy-to-cpio-binaries.patch => 0012-fc-rpm-apply-rpm_exec-policy-to-cpio-binaries.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0014-fc-su-apply-policy-to-su-alternatives.patch => 0013-fc-su-apply-policy-to-su-alternatives.patch} (93%)
rename recipes-security/refpolicy/refpolicy/{0015-fc-fstools-fix-real-path-for-fstools.patch => 0014-fc-fstools-fix-real-path-for-fstools.patch} (98%)
rename recipes-security/refpolicy/refpolicy/{0016-fc-init-fix-update-alternatives-for-sysvinit.patch => 0015-fc-init-fix-update-alternatives-for-sysvinit.patch} (97%)
rename recipes-security/refpolicy/refpolicy/{0017-fc-brctl-apply-policy-to-brctl-alternatives.patch => 0016-fc-brctl-apply-policy-to-brctl-alternatives.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0018-fc-corecommands-apply-policy-to-nologin-alternatives.patch => 0017-fc-corecommands-apply-policy-to-nologin-alternatives.patch} (94%)
rename recipes-security/refpolicy/refpolicy/{0019-fc-locallogin-apply-policy-to-sulogin-alternatives.patch => 0018-fc-locallogin-apply-policy-to-sulogin-alternatives.patch} (93%)
rename recipes-security/refpolicy/refpolicy/{0020-fc-ntp-apply-policy-to-ntpd-alternatives.patch => 0019-fc-ntp-apply-policy-to-ntpd-alternatives.patch} (93%)
rename recipes-security/refpolicy/refpolicy/{0021-fc-kerberos-apply-policy-to-kerberos-alternatives.patch => 0020-fc-kerberos-apply-policy-to-kerberos-alternatives.patch} (97%)
rename recipes-security/refpolicy/refpolicy/{0022-fc-ldap-apply-policy-to-ldap-alternatives.patch => 0021-fc-ldap-apply-policy-to-ldap-alternatives.patch} (96%)
rename recipes-security/refpolicy/refpolicy/{0023-fc-postgresql-apply-policy-to-postgresql-alternative.patch => 0022-fc-postgresql-apply-policy-to-postgresql-alternative.patch} (96%)
rename recipes-security/refpolicy/refpolicy/{0024-fc-screen-apply-policy-to-screen-alternatives.patch => 0023-fc-screen-apply-policy-to-screen-alternatives.patch} (93%)
rename recipes-security/refpolicy/refpolicy/{0025-fc-usermanage-apply-policy-to-usermanage-alternative.patch => 0024-fc-usermanage-apply-policy-to-usermanage-alternative.patch} (80%)
rename recipes-security/refpolicy/refpolicy/{0026-fc-getty-add-file-context-to-start_getty.patch => 0025-fc-getty-add-file-context-to-start_getty.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0028-fc-vlock-apply-policy-to-vlock-alternatives.patch => 0026-fc-vlock-apply-policy-to-vlock-alternatives.patch} (92%)
create mode 100644 recipes-security/refpolicy/refpolicy/0027-fc-add-fcontext-for-init-scripts-and-systemd-service.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch
rename recipes-security/refpolicy/refpolicy/{0031-file_contexts.subs_dist-set-aliase-for-root-director.patch => 0028-file_contexts.subs_dist-set-aliase-for-root-director.patch} (87%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0029-fc-cron-apply-policy-to-etc-init.d-crond.patch
rename recipes-security/refpolicy/refpolicy/{0032-policy-modules-system-logging-add-rules-for-the-syml.patch => 0029-policy-modules-system-logging-add-rules-for-the-syml.patch} (81%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch
rename recipes-security/refpolicy/refpolicy/{0033-policy-modules-system-logging-add-rules-for-syslogd-.patch => 0030-policy-modules-system-logging-add-rules-for-syslogd-.patch} (87%)
rename recipes-security/refpolicy/refpolicy/{0034-policy-modules-kernel-files-add-rules-for-the-symlin.patch => 0031-policy-modules-kernel-files-add-rules-for-the-symlin.patch} (80%)
rename recipes-security/refpolicy/refpolicy/{0035-policy-modules-system-logging-fix-auditd-startup-fai.patch => 0032-policy-modules-system-logging-fix-auditd-startup-fai.patch} (50%)
rename recipes-security/refpolicy/refpolicy/{0036-policy-modules-kernel-terminal-don-t-audit-tty_devic.patch => 0033-policy-modules-kernel-terminal-don-t-audit-tty_devic.patch} (94%)
rename recipes-security/refpolicy/refpolicy/{0037-policy-modules-system-modutils-allow-mod_t-to-access.patch => 0034-policy-modules-system-modutils-allow-mod_t-to-access.patch} (92%)
rename recipes-security/refpolicy/refpolicy/{0039-policy-modules-system-getty-allow-getty_t-to-search-.patch => 0035-policy-modules-system-getty-allow-getty_t-to-search-.patch} (81%)
rename recipes-security/refpolicy/refpolicy/{0043-policy-modules-services-rpcbind-allow-rpcbind_t-to-c.patch => 0036-policy-modules-services-rpcbind-allow-rpcbind_t-to-c.patch} (61%)
create mode 100644 recipes-security/refpolicy/refpolicy/0037-policy-modules-admin-usermanage-allow-useradd-to-rel.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch
rename recipes-security/refpolicy/refpolicy/{0049-policy-modules-system-systemd-enable-support-for-sys.patch => 0038-policy-modules-system-systemd-enable-support-for-sys.patch} (91%)
rename recipes-security/refpolicy/refpolicy/{0050-policy-modules-system-systemd-fix-systemd-resolved-s.patch => 0039-policy-modules-system-systemd-fix-systemd-resolved-s.patch} (67%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0040-policy-modules-services-bluetooth-fix-bluetoothd-sta.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0040-policy-modules-system-systemd-allow-systemd_-_t-to-g.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0041-policy-modules-roles-sysadm-allow-sysadm-to-run-rpci.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0041-policy-modules-system-logging-fix-syslogd-failures-f.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0042-policy-modules-services-rpc-add-capability-dac_read_.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0042-policy-modules-system-systemd-systemd-user-fixes.patch
rename recipes-security/refpolicy/refpolicy/{0060-policy-modules-system-sysnetwork-support-priviledge-.patch => 0043-policy-modules-system-sysnetwork-support-priviledge-.patch} (77%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0044-policy-modules-services-rngd-fix-security-context-fo.patch
rename recipes-security/refpolicy/refpolicy/{0063-policy-modules-system-modutils-allow-kmod_t-to-write.patch => 0044-policy-modules-system-modutils-allow-kmod_t-to-write.patch} (73%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0045-policy-modules-services-ssh-allow-ssh_keygen_t-to-re.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0045-policy-modules-system-systemd-allow-systemd_logind_t.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch
rename recipes-security/refpolicy/refpolicy/{0066-policy-modules-system-mount-make-mount_t-domain-MLS-.patch => 0046-policy-modules-system-mount-make-mount_t-domain-MLS-.patch} (76%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0047-policy-modules-kernel-terminal-allow-loging-to-reset.patch
rename recipes-security/refpolicy/refpolicy/{0067-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch => 0047-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch} (80%)
rename recipes-security/refpolicy/refpolicy/{0068-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch => 0048-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch} (65%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch
rename recipes-security/refpolicy/refpolicy/{0069-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch => 0049-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch} (85%)
rename recipes-security/refpolicy/refpolicy/{0070-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch => 0050-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch} (91%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0051-policy-modules-system-init-add-capability2-bpf-and-p.patch
rename recipes-security/refpolicy/refpolicy/{0071-policy-modules-system-init-make-init_t-MLS-trusted-f.patch => 0051-policy-modules-system-init-make-init_t-MLS-trusted-f.patch} (90%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0052-policy-modules-system-systemd-allow-systemd_logind_t.patch
rename recipes-security/refpolicy/refpolicy/{0072-policy-modules-system-systemd-make-systemd-tmpfiles_.patch => 0052-policy-modules-system-systemd-make-systemd-tmpfiles_.patch} (92%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0053-policy-modules-system-logging-set-label-devlog_t-to-.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0053-policy-modules-system-systemd-systemd-make-systemd_-.patch
rename recipes-security/refpolicy/refpolicy/{0073-policy-modules-system-logging-add-the-syslogd_t-to-t.patch => 0054-policy-modules-system-logging-add-the-syslogd_t-to-t.patch} (84%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0054-policy-modules-system-systemd-support-systemd-user.patch
rename recipes-security/refpolicy/refpolicy/{0074-policy-modules-system-init-make-init_t-MLS-trusted-f.patch => 0055-policy-modules-system-init-make-init_t-MLS-trusted-f.patch} (86%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0055-policy-modules-system-systemd-allow-systemd-generato.patch
rename recipes-security/refpolicy/refpolicy/{0075-policy-modules-system-init-all-init_t-to-read-any-le.patch => 0056-policy-modules-system-init-all-init_t-to-read-any-le.patch} (88%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0056-policy-modules-system-systemd-allow-systemd_backligh.patch
rename recipes-security/refpolicy/refpolicy/{0076-policy-modules-system-logging-allow-auditd_t-to-writ.patch => 0057-policy-modules-system-logging-allow-auditd_t-to-writ.patch} (88%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0057-policy-modules-system-logging-fix-systemd-journald-s.patch
rename recipes-security/refpolicy/refpolicy/{0077-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch => 0058-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch} (73%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0058-policy-modules-services-cron-allow-crond_t-to-search.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0059-policy-modules-services-crontab-allow-sysadm_r-to-ru.patch
rename recipes-security/refpolicy/refpolicy/{0082-policy-modules-system-setrans-allow-setrans_t-use-fd.patch => 0059-policy-modules-system-setrans-allow-setrans_t-use-fd.patch} (83%)
rename recipes-security/refpolicy/refpolicy/{0090-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch => 0060-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch} (82%)
delete mode 100644 recipes-security/refpolicy/refpolicy/0061-policy-modules-services-acpi-allow-acpid-to-watch-th.patch
create mode 100644 recipes-security/refpolicy/refpolicy/0061-policy-modules-system-logging-make-syslogd_runtime_t.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0062-policy-modules-system-setrans-allow-setrans-to-acces.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0064-policy-modules-roles-sysadm-allow-sysadm_t-to-watch-.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0065-policy-modules-system-selinux-allow-setfiles_t-to-re.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0078-policy-modules-system-systemd-make-systemd-logind-do.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0079-policy-modules-system-systemd-systemd-user-sessions-.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0080-policy-modules-system-systemd-systemd-make-systemd_-.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0081-policy-modules-services-ntp-make-nptd_t-MLS-trusted-.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0083-policy-modules-services-acpi-make-acpid_t-domain-MLS.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0084-policy-modules-services-avahi-make-avahi_t-MLS-trust.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0086-policy-modules-system-sysnetwork-make-dhcpc_t-domain.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0087-policy-modules-services-inetd-make-inetd_t-domain-ML.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0088-policy-modules-services-bind-make-named_t-domain-MLS.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0089-policy-modules-services-rpc-make-rpcd_t-MLS-trusted-.patch
delete mode 100644 recipes-security/refpolicy/refpolicy/0091-fc-usermanage-update-file-context-for-chfn-chsh.patchrecipes-security/refpolicy/refpolicy-minimum_git.bb +2 -1
@@ -13,7 +13,8 @@ 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-make-xdg-module-optional.patch \ + file://0003-refpolicy-minimum-enable-nscd_use_shm.patch \ " POLICY_NAME = "minimum"
recipes-security/refpolicy/refpolicy-targeted_git.bb +1 -0
@@ -14,4 +14,5 @@ include refpolicy_${PV}.inc SRC_URI += " \ file://0001-refpolicy-targeted-make-unconfined_u-the-default-sel.patch \ + file://0002-refpolicy-targeted-add-capability2-bpf-and-perfmon-f.patch \ "
recipes-security/refpolicy/refpolicy/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch +3 -3
@@ -1,4 +1,4 @@ -From 8a6052604e4f39ef9cbab62372006bc6f736dbed Mon Sep 17 00:00:00 2001 +From d39f2ddbfcfd6e224a50bf327a7bd0031d74d0c6 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
@@ -15,10 +15,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 6 insertions(+) diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist -index 653d25d93..652e1dd35 100644 +index ba22ce7e7..23d4328f7 100644 --- a/config/file_contexts.subs_dist +++ b/config/file_contexts.subs_dist -@@ -32,3 +32,9 @@ +@@ -33,3 +33,9 @@ # not for refpolicy intern, but for /var/run using applications, # like systemd tmpfiles or systemd socket configurations /var/run /run
recipes-security/refpolicy/refpolicy/0001-refpolicy-minimum-make-sysadmin-module-optional.patch +3 -3
@@ -1,4 +1,4 @@ -From dc757d6df2314d82029b23b409df8de22a4df45e Mon Sep 17 00:00:00 2001 +From 669293ddf351f231b34979a7d708601ccbd11930 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 aa57a5661..9b03d3767 100644 +index 5a19f0e43..1f4a671dc 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -527,13 +527,15 @@ ifdef(`init_systemd',` +@@ -556,13 +556,15 @@ ifdef(`init_systemd',` unconfined_write_keys(init_t) ') ',`
recipes-security/refpolicy/refpolicy/0001-refpolicy-targeted-make-unconfined_u-the-default-sel.patch +7 -119
154 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0002-fc-subs-busybox-set-aliases-for-bin-sbin-and-usr.patch +3 -3
@@ -1,4 +1,4 @@ -From 0ee7bc5f28ffae30b1a1f40edd96cfed993db667 Mon Sep 17 00:00:00 2001 +From 974befcafcee1377e122f19a4182f74eea757158 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
@@ -15,10 +15,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 6 insertions(+) diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist -index 652e1dd35..a38d58e16 100644 +index 23d4328f7..690007f22 100644 --- a/config/file_contexts.subs_dist +++ b/config/file_contexts.subs_dist -@@ -38,3 +38,9 @@ +@@ -39,3 +39,9 @@ # volatile hierarchy. /var/volatile/log /var/log /var/volatile/tmp /var/tmp
recipes-security/refpolicy/refpolicy/0002-refpolicy-minimum-make-xdg-module-optional.patch new file +40 -0
@@ -0,0 +1,40 @@ +From 1ff0e212ce737bba59d90977a58a15250bc84ea9 Mon Sep 17 00:00:00 2001 +From: Yi Zhao <[email protected]> +Date: Wed, 29 Sep 2021 11:08:49 +0800 +Subject: [PATCH] refpolicy-minimum: make xdg module optional + +The systemd module invokes xdg_config_content and xdg_data_content +interfaces which are from xdg module. Since xdg is not a core module, we +could make it optional in minimum policy. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao <[email protected]> +--- + policy/modules/system/systemd.te | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te +index 8cea6baa1..218834495 100644 +--- a/policy/modules/system/systemd.te ++++ b/policy/modules/system/systemd.te +@@ -276,10 +276,14 @@ files_type(systemd_update_run_t) + + type systemd_conf_home_t; + init_unit_file(systemd_conf_home_t) +-xdg_config_content(systemd_conf_home_t) ++optional_policy(` ++ xdg_config_content(systemd_conf_home_t) ++') + + type systemd_data_home_t; +-xdg_data_content(systemd_data_home_t) ++optional_policy(` ++ xdg_data_content(systemd_data_home_t) ++') + + type systemd_user_runtime_notify_t; + userdom_user_runtime_content(systemd_user_runtime_notify_t) +-- +2.17.1 +
recipes-security/refpolicy/refpolicy/0002-refpolicy-targeted-add-capability2-bpf-and-perfmon-f.patch new file +52 -0
52 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0003-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch +1 -1
@@ -1,4 +1,4 @@ -From e0c34d0feb5305b1397f252d698501b641277517 Mon Sep 17 00:00:00 2001 +From 9c6f3c5acc01607a67277f69faa67e34dc98232b 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/0003-refpolicy-minimum-enable-nscd_use_shm.patch renamed from recipes-security/refpolicy/refpolicy/0002-refpolicy-minimum-enable-nscd_use_shm.patch +2 -2
@@ -1,7 +1,7 @@ -From d71b79cc9b174181934d588f64baa5637c8e85d1 Mon Sep 17 00:00:00 2001 +From 5f992b59a74cc6cde8fd20162a11065dc30fd7ab Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Fri, 26 Feb 2021 09:13:23 +0800 -Subject: [PATCH] policy/modules/services/nscd: enable nscd_use_shm +Subject: [PATCH] refpolicy-minimum: enable nscd_use_shm Fixes: avc: denied { listen } for pid=199 comm="systemd-resolve"
recipes-security/refpolicy/refpolicy/0004-fc-bash-apply-usr-bin-bash-context-to-bin-bash.bash.patch +1 -1
@@ -1,4 +1,4 @@ -From 8d2c24bc1e2ef8ddf3cf7a08297cfab8a8a92b0d Mon Sep 17 00:00:00 2001 +From bbc8b58fe5fe709dfadbffc86e17ebd2d76a257c 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
recipes-security/refpolicy/refpolicy/0005-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch +1 -1
@@ -1,4 +1,4 @@ -From 85a77289d193bb3335c78f6d51b4ae2b81249952 Mon Sep 17 00:00:00 2001 +From 3cccdec2aaa273ca09100ca957f4968a25f4f3a3 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 +5 -5
@@ -1,4 +1,4 @@ -From 253ab75676232be5522fc628b0819d0c48a08c03 Mon Sep 17 00:00:00 2001 +From 9a1e1c7b65cb3f5ab97ce05463ca02a3eaa57d86 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,17 +12,17 @@ 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 7fd315706..fa86d6f92 100644 +index 50efcff7b..5cb48882c 100644 --- a/policy/modules/system/authlogin.fc +++ b/policy/modules/system/authlogin.fc -@@ -5,6 +5,7 @@ - /etc/shadow.* -- gen_context(system_u:object_r:shadow_t,s0) +@@ -6,6 +6,7 @@ + /etc/tcb(/.*)? -- gen_context(system_u:object_r:shadow_t,s0) /usr/bin/login -- gen_context(system_u:object_r:login_exec_t,s0) +/usr/bin/login\.shadow -- gen_context(system_u:object_r:login_exec_t,s0) /usr/bin/pam_console_apply -- gen_context(system_u:object_r:pam_console_exec_t,s0) /usr/bin/pam_timestamp_check -- gen_context(system_u:object_r:pam_exec_t,s0) - /usr/bin/unix_chkpwd -- gen_context(system_u:object_r:chkpwd_exec_t,s0) + /usr/bin/tcb_convert -- gen_context(system_u:object_r:updpwd_exec_t,s0) -- 2.17.1
recipes-security/refpolicy/refpolicy/0007-fc-bind-fix-real-path-for-bind.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 7e61e5d715451bafd785ec7db01e24e726e31c35 Mon Sep 17 00:00:00 2001 -From: Joe MacDonald <[email protected]> -Date: Thu, 28 Mar 2019 21:58:53 -0400 -Subject: [PATCH] fc/bind: fix real path for bind - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Xin Ouyang <[email protected]> -Signed-off-by: Joe MacDonald <[email protected]> -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/services/bind.fc | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/policy/modules/services/bind.fc b/policy/modules/services/bind.fc -index ce68a0af9..585103eb9 100644 ---- a/policy/modules/services/bind.fc -+++ b/policy/modules/services/bind.fc -@@ -1,8 +1,10 @@ - /etc/rc\.d/init\.d/named -- gen_context(system_u:object_r:named_initrc_exec_t,s0) -+/etc/rc\.d/init\.d/bind -- gen_context(system_u:object_r:named_initrc_exec_t,s0) - /etc/rc\.d/init\.d/unbound -- gen_context(system_u:object_r:named_initrc_exec_t,s0) - - /etc/bind(/.*)? gen_context(system_u:object_r:named_zone_t,s0) - /etc/bind/named\.conf.* -- gen_context(system_u:object_r:named_conf_t,s0) -+/etc/bind/rndc\.conf.* -- gen_context(system_u:object_r:named_conf_t,s0) - /etc/bind/rndc\.key -- gen_context(system_u:object_r:dnssec_t,s0) - /etc/dnssec-trigger/dnssec_trigger_server\.key -- gen_context(system_u:object_r:dnssec_t,s0) - /etc/named\.rfc1912\.zones -- gen_context(system_u:object_r:named_conf_t,s0) --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0008-fc-hwclock-add-hwclock-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From c7e69aa036d16a57709684fd2f72959f9a4ac251 Mon Sep 17 00:00:00 2001 +From 73716015ab28a9474912902e9467f2d2a864ecd0 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 renamed from recipes-security/refpolicy/refpolicy/0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 0fe5ae0d1b5f4268b04ba6c6134324385bb630a2 Mon Sep 17 00:00:00 2001 +From 504e8429500ab0984adfd52bb09a3e993b87f2f1 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 renamed from recipes-security/refpolicy/refpolicy/0010-fc-ssh-apply-policy-to-ssh-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From e2d9462c5f26dc02f7d547548d8a94bfd79ea88f Mon Sep 17 00:00:00 2001 +From 8ad451ceff2ba4ea26290a7ba9918406a90bb10f 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
recipes-security/refpolicy/refpolicy/0010-fc-sysnetwork-apply-policy-to-network-commands-alter.patch renamed from recipes-security/refpolicy/refpolicy/0011-fc-sysnetwork-apply-policy-to-ip-alternatives.patch +14 -6
@@ -1,7 +1,7 @@ -From dc3edc3b65dccf57d4cb22eb220498c2a5d9685f Mon Sep 17 00:00:00 2001 +From c85fd7d9c45770b31de44bb35521e2251882df10 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 ip alternatives +Subject: [PATCH] fc/sysnetwork: apply policy to network commands alternatives Upstream-Status: Inappropriate [embedded specific]
@@ -10,14 +10,22 @@ Signed-off-by: Shrikant Bobade <[email protected]> Signed-off-by: Joe MacDonald <[email protected]> Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/system/sysnetwork.fc | 3 +++ - 1 file changed, 3 insertions(+) + policy/modules/system/sysnetwork.fc | 4 ++++ + 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc -index c9ec4e5ab..c3291962d 100644 +index c9ec4e5ab..4ca151524 100644 --- a/policy/modules/system/sysnetwork.fc +++ b/policy/modules/system/sysnetwork.fc -@@ -60,13 +60,16 @@ ifdef(`distro_redhat',` +@@ -44,6 +44,7 @@ ifdef(`distro_redhat',` + /usr/bin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0) + /usr/bin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0) + /usr/bin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0) ++/usr/bin/ifconfig\.net-tools -- gen_context(system_u:object_r:ifconfig_exec_t,s0) + /usr/bin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0) + /usr/bin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0) + /usr/bin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0) +@@ -60,13 +61,16 @@ ifdef(`distro_redhat',` /usr/sbin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0) /usr/sbin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0) /usr/sbin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
recipes-security/refpolicy/refpolicy/0011-fc-udev-apply-policy-to-udevadm-in-libexec.patch renamed from recipes-security/refpolicy/refpolicy/0012-fc-udev-apply-policy-to-udevadm-in-libexec.patch +2 -2
@@ -1,4 +1,4 @@ -From 9afd44d1300bc858c1569344fc1271e0468edad9 Mon Sep 17 00:00:00 2001 +From aa2635a54f9c36205ebc469f799a56ece01ac610 Mon Sep 17 00:00:00 2001 From: Joe MacDonald <[email protected]> Date: Fri, 29 Mar 2019 09:36:08 -0400 Subject: [PATCH] fc/udev: apply policy to udevadm in libexec
@@ -12,7 +12,7 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc -index c88189fb7..ad4c0bba2 100644 +index 7898ff01c..bc717e60c 100644 --- a/policy/modules/system/udev.fc +++ b/policy/modules/system/udev.fc @@ -24,6 +24,8 @@ ifdef(`distro_debian',`
recipes-security/refpolicy/refpolicy/0012-fc-rpm-apply-rpm_exec-policy-to-cpio-binaries.patch renamed from recipes-security/refpolicy/refpolicy/0013-fc-rpm-apply-rpm_exec-policy-to-cpio-binaries.patch +1 -1
@@ -1,4 +1,4 @@ -From 79e58207060c25d5f2484ed164ab74413d00792a Mon Sep 17 00:00:00 2001 +From faf757c732c9a022499b584cea64ce1fcc78e118 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/0013-fc-su-apply-policy-to-su-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0014-fc-su-apply-policy-to-su-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From a1281be5b894c0c6dc3471a1e6b6c910bab7aa46 Mon Sep 17 00:00:00 2001 +From 52853ae9ee13038c5ffae8616858c442d412a2b8 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/0014-fc-fstools-fix-real-path-for-fstools.patch renamed from recipes-security/refpolicy/refpolicy/0015-fc-fstools-fix-real-path-for-fstools.patch +1 -1
@@ -1,4 +1,4 @@ -From 02f6557320c60d895397650a59c39708c8e63d27 Mon Sep 17 00:00:00 2001 +From 4f3a637c0385204c0b87806d158e106fb9f88972 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
recipes-security/refpolicy/refpolicy/0015-fc-init-fix-update-alternatives-for-sysvinit.patch renamed from recipes-security/refpolicy/refpolicy/0016-fc-init-fix-update-alternatives-for-sysvinit.patch +1 -1
@@ -1,4 +1,4 @@ -From f7860456e3867e6d9c24a7e07bc9e518f65ec478 Mon Sep 17 00:00:00 2001 +From e1439aa43af6ef15b35eac3cdbf0cea561768362 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
recipes-security/refpolicy/refpolicy/0016-fc-brctl-apply-policy-to-brctl-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0017-fc-brctl-apply-policy-to-brctl-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 3a83de3883d0e287c0b6647e87a93d2cdc48aa10 Mon Sep 17 00:00:00 2001 +From 274066b3397b53d63134aee94a0148d9c7d1886d 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/0017-fc-corecommands-apply-policy-to-nologin-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0018-fc-corecommands-apply-policy-to-nologin-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 5219bc4e0b3147455fecb1485e8387573207070c Mon Sep 17 00:00:00 2001 +From ab0267f77e38bcda797cfe00ba6fa49ba89e334a 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
recipes-security/refpolicy/refpolicy/0018-fc-locallogin-apply-policy-to-sulogin-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0019-fc-locallogin-apply-policy-to-sulogin-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 2b3b5d43040e939e836ea5c9803f0b27641e50a4 Mon Sep 17 00:00:00 2001 +From cfb86acce9fe9da9b88c853c0b22d48d99602fbb 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/0019-fc-ntp-apply-policy-to-ntpd-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0020-fc-ntp-apply-policy-to-ntpd-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 5308969204d535391cb766ba5aa4b5479f64248c Mon Sep 17 00:00:00 2001 +From e159e70b533b500390337ec666d678c7424afb90 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/0020-fc-kerberos-apply-policy-to-kerberos-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0021-fc-kerberos-apply-policy-to-kerberos-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 89a54472ea0195ec19c291374e88e55b40107ff8 Mon Sep 17 00:00:00 2001 +From 95797c20fb68558b9f37ded3f1cc9a4ef09717f9 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/0021-fc-ldap-apply-policy-to-ldap-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0022-fc-ldap-apply-policy-to-ldap-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 1130a43390bf41adb7747d0cc62c85c4320806cb Mon Sep 17 00:00:00 2001 +From 6b43af067ec45bce1b7059fc549e246f53311d3a 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/0022-fc-postgresql-apply-policy-to-postgresql-alternative.patch renamed from recipes-security/refpolicy/refpolicy/0023-fc-postgresql-apply-policy-to-postgresql-alternative.patch +1 -1
@@ -1,4 +1,4 @@ -From 184f1dfe4cbff9c5ff2cbe865d4e7427f100ff59 Mon Sep 17 00:00:00 2001 +From 5f664c3a38853129fa1703032822c203dbeaf0a6 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/0023-fc-screen-apply-policy-to-screen-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0024-fc-screen-apply-policy-to-screen-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From e114e09928232dd9eed568a4717dca2094f6e4ad Mon Sep 17 00:00:00 2001 +From 2d1634127f8f5c9ec98f866711b8d15b7df815d1 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/0024-fc-usermanage-apply-policy-to-usermanage-alternative.patch renamed from recipes-security/refpolicy/refpolicy/0025-fc-usermanage-apply-policy-to-usermanage-alternative.patch +9 -7
@@ -1,4 +1,4 @@ -From 62a5f9dee28411f1d88a2101e507c15780467b2f Mon Sep 17 00:00:00 2001 +From 2323a6ab69c4a74ab127c16e38f14616a289b3d1 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
@@ -7,24 +7,26 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/admin/usermanage.fc | 4 ++++ - 1 file changed, 4 insertions(+) + policy/modules/admin/usermanage.fc | 6 ++++++ + 1 file changed, 6 insertions(+) diff --git a/policy/modules/admin/usermanage.fc b/policy/modules/admin/usermanage.fc -index 620eefc6f..6a051f8a5 100644 +index 620eefc6f..bf1ff09ab 100644 --- a/policy/modules/admin/usermanage.fc +++ b/policy/modules/admin/usermanage.fc -@@ -4,7 +4,9 @@ ifdef(`distro_debian',` +@@ -4,7 +4,11 @@ ifdef(`distro_debian',` /usr/bin/chage -- gen_context(system_u:object_r:passwd_exec_t,s0) /usr/bin/chfn -- gen_context(system_u:object_r:chfn_exec_t,s0) +/usr/bin/chfn\.shadow -- gen_context(system_u:object_r:chfn_exec_t,s0) ++/usr/bin/chfn\.util-linux -- gen_context(system_u:object_r:chfn_exec_t,s0) /usr/bin/chsh -- gen_context(system_u:object_r:chfn_exec_t,s0) +/usr/bin/chsh\.shadow -- gen_context(system_u:object_r:chfn_exec_t,s0) ++/usr/bin/chsh\.util-linux -- gen_context(system_u:object_r:chfn_exec_t,s0) /usr/bin/crack_[a-z]* -- gen_context(system_u:object_r:crack_exec_t,s0) /usr/bin/cracklib-[a-z]* -- gen_context(system_u:object_r:crack_exec_t,s0) /usr/bin/gpasswd -- gen_context(system_u:object_r:groupadd_exec_t,s0) -@@ -14,6 +16,7 @@ ifdef(`distro_debian',` +@@ -14,6 +18,7 @@ ifdef(`distro_debian',` /usr/bin/grpconv -- gen_context(system_u:object_r:admin_passwd_exec_t,s0) /usr/bin/grpunconv -- gen_context(system_u:object_r:admin_passwd_exec_t,s0) /usr/bin/passwd -- gen_context(system_u:object_r:passwd_exec_t,s0)
@@ -32,7 +34,7 @@ index 620eefc6f..6a051f8a5 100644 /usr/bin/pwconv -- gen_context(system_u:object_r:admin_passwd_exec_t,s0) /usr/bin/pwunconv -- gen_context(system_u:object_r:admin_passwd_exec_t,s0) /usr/bin/useradd -- gen_context(system_u:object_r:useradd_exec_t,s0) -@@ -39,6 +42,7 @@ ifdef(`distro_debian',` +@@ -39,6 +44,7 @@ ifdef(`distro_debian',` /usr/sbin/usermod -- gen_context(system_u:object_r:useradd_exec_t,s0) /usr/sbin/vigr -- gen_context(system_u:object_r:admin_passwd_exec_t,s0) /usr/sbin/vipw -- gen_context(system_u:object_r:admin_passwd_exec_t,s0)
recipes-security/refpolicy/refpolicy/0025-fc-getty-add-file-context-to-start_getty.patch renamed from recipes-security/refpolicy/refpolicy/0026-fc-getty-add-file-context-to-start_getty.patch +1 -1
@@ -1,4 +1,4 @@ -From 7be59b4d42165f7e12ccb8b2409304a2640eb898 Mon Sep 17 00:00:00 2001 +From dbd399143d6fbda828cfc9f2546bc730e0da584c 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/0026-fc-vlock-apply-policy-to-vlock-alternatives.patch renamed from recipes-security/refpolicy/refpolicy/0028-fc-vlock-apply-policy-to-vlock-alternatives.patch +1 -1
@@ -1,4 +1,4 @@ -From 1ee2b12fa1585bf765370e3e787081fe01ad990f Mon Sep 17 00:00:00 2001 +From 0280f05e2c9665f094d7098cd03e11d75908bcdb 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/0027-fc-add-fcontext-for-init-scripts-and-systemd-service.patch new file +64 -0
64 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0027-fc-init-add-file-context-to-etc-network-if-files.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From ac335f80d09f9ce4756f2e58944a975a12441fa7 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Tue, 19 Nov 2019 14:33:28 +0800 -Subject: [PATCH] fc/init: add file context to /etc/network/if-* files - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/system/init.fc | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/policy/modules/system/init.fc b/policy/modules/system/init.fc -index 5268bddb2..a6762bd00 100644 ---- a/policy/modules/system/init.fc -+++ b/policy/modules/system/init.fc -@@ -75,11 +75,12 @@ ifdef(`distro_redhat',` - ifdef(`distro_debian',` - /run/hotkey-setup -- gen_context(system_u:object_r:initrc_runtime_t,s0) - /run/kdm/.* -- gen_context(system_u:object_r:initrc_runtime_t,s0) -+') -+ - /etc/network/if-pre-up\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) - /etc/network/if-up\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) - /etc/network/if-down\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) - /etc/network/if-post-down\.d/.* -- gen_context(system_u:object_r:initrc_exec_t,s0) --') - - ifdef(`distro_gentoo', ` - /var/lib/init\.d(/.*)? gen_context(system_u:object_r:initrc_state_t,s0) --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0028-file_contexts.subs_dist-set-aliase-for-root-director.patch renamed from recipes-security/refpolicy/refpolicy/0031-file_contexts.subs_dist-set-aliase-for-root-director.patch +3 -3
@@ -1,4 +1,4 @@ -From 8c733eff8089c24fe6885977d2bdcdfb0c453726 Mon Sep 17 00:00:00 2001 +From 0bb081084a2d12f9041bfae195481d898b5a0ba1 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
@@ -14,10 +14,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 4 insertions(+) diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist -index a38d58e16..3e4c5720f 100644 +index 690007f22..f80499ebf 100644 --- a/config/file_contexts.subs_dist +++ b/config/file_contexts.subs_dist -@@ -44,3 +44,7 @@ +@@ -45,3 +45,7 @@ /usr/lib/busybox/bin /usr/bin /usr/lib/busybox/sbin /usr/sbin /usr/lib/busybox/usr /usr
recipes-security/refpolicy/refpolicy/0029-fc-cron-apply-policy-to-etc-init.d-crond.patch deleted +0 -25
@@ -1,25 +0,0 @@ -From a14d7d6fc54e7cf82d977c4b5c2df961c5eb1fe0 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Tue, 30 Jun 2020 10:45:57 +0800 -Subject: [PATCH] fc/cron: apply policy to /etc/init.d/crond - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/services/cron.fc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/policy/modules/services/cron.fc b/policy/modules/services/cron.fc -index 827363d88..e8412396d 100644 ---- a/policy/modules/services/cron.fc -+++ b/policy/modules/services/cron.fc -@@ -1,4 +1,5 @@ - /etc/rc\.d/init\.d/(anacron|atd) -- gen_context(system_u:object_r:crond_initrc_exec_t,s0) -+/etc/rc\.d/init\.d/crond -- gen_context(system_u:object_r:crond_initrc_exec_t,s0) - - /etc/cron\.d(/.*)? gen_context(system_u:object_r:system_cron_spool_t,s0) - /etc/crontab -- gen_context(system_u:object_r:system_cron_spool_t,s0) --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0029-policy-modules-system-logging-add-rules-for-the-syml.patch renamed from recipes-security/refpolicy/refpolicy/0032-policy-modules-system-logging-add-rules-for-the-syml.patch +11 -11
@@ -1,4 +1,4 @@ -From 456bb92237aa637f506fcc56b190eb534d745e41 Mon Sep 17 00:00:00 2001 +From 9c676fe5ff2a14206f25bf8ed932c305f13dcfdc 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
@@ -18,10 +18,10 @@ Signed-off-by: Yi Zhao <[email protected]> 2 files changed, 10 insertions(+) diff --git a/policy/modules/system/logging.fc b/policy/modules/system/logging.fc -index 5681acb51..a4ecd570a 100644 +index 4ff5f990a..dee26a9f4 100644 --- a/policy/modules/system/logging.fc +++ b/policy/modules/system/logging.fc -@@ -52,6 +52,7 @@ ifdef(`distro_suse', ` +@@ -53,6 +53,7 @@ ifdef(`distro_suse', ` /var/dnscache/log/main(/.*)? gen_context(system_u:object_r:var_log_t,s0) /var/log -d gen_context(system_u:object_r:var_log_t,s0-mls_systemhigh)
@@ -30,10 +30,10 @@ index 5681acb51..a4ecd570a 100644 /var/log/dmesg -- gen_context(system_u:object_r:var_log_t,s0) /var/log/syslog -- gen_context(system_u:object_r:var_log_t,s0) diff --git a/policy/modules/system/logging.if b/policy/modules/system/logging.if -index 10dee6563..9bb3afdb2 100644 +index 341763730..30d402c75 100644 --- a/policy/modules/system/logging.if +++ b/policy/modules/system/logging.if -@@ -1065,10 +1065,12 @@ interface(`logging_append_all_inherited_logs',` +@@ -1086,10 +1086,12 @@ interface(`logging_append_all_inherited_logs',` interface(`logging_read_all_logs',` gen_require(` attribute logfile;
@@ -46,7 +46,7 @@ index 10dee6563..9bb3afdb2 100644 read_files_pattern($1, logfile, logfile) ') -@@ -1087,10 +1089,12 @@ interface(`logging_read_all_logs',` +@@ -1127,10 +1129,12 @@ interface(`logging_watch_all_logs',` interface(`logging_exec_all_logs',` gen_require(` attribute logfile;
@@ -59,7 +59,7 @@ index 10dee6563..9bb3afdb2 100644 can_exec($1, logfile) ') -@@ -1152,6 +1156,7 @@ interface(`logging_manage_generic_log_dirs',` +@@ -1192,6 +1196,7 @@ interface(`logging_manage_generic_log_dirs',` files_search_var($1) allow $1 var_log_t:dir manage_dir_perms;
@@ -67,7 +67,7 @@ index 10dee6563..9bb3afdb2 100644 ') ######################################## -@@ -1172,6 +1177,7 @@ interface(`logging_relabel_generic_log_dirs',` +@@ -1212,6 +1217,7 @@ interface(`logging_relabel_generic_log_dirs',` files_search_var($1) allow $1 var_log_t:dir relabel_dir_perms;
@@ -75,7 +75,7 @@ index 10dee6563..9bb3afdb2 100644 ') ######################################## -@@ -1192,6 +1198,7 @@ interface(`logging_read_generic_logs',` +@@ -1232,6 +1238,7 @@ interface(`logging_read_generic_logs',` files_search_var($1) allow $1 var_log_t:dir list_dir_perms;
@@ -83,7 +83,7 @@ index 10dee6563..9bb3afdb2 100644 read_files_pattern($1, var_log_t, var_log_t) ') -@@ -1293,6 +1300,7 @@ interface(`logging_manage_generic_logs',` +@@ -1333,6 +1340,7 @@ interface(`logging_manage_generic_logs',` files_search_var($1) manage_files_pattern($1, var_log_t, var_log_t)
@@ -91,7 +91,7 @@ index 10dee6563..9bb3afdb2 100644 ') ######################################## -@@ -1311,6 +1319,7 @@ interface(`logging_watch_generic_logs_dir',` +@@ -1351,6 +1359,7 @@ interface(`logging_watch_generic_logs_dir',` ') allow $1 var_log_t:dir watch;
recipes-security/refpolicy/refpolicy/0030-fc-sysnetwork-update-file-context-for-ifconfig.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From b3d2611360ddf21a3f8729766a1e4b64117ea710 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Tue, 4 Aug 2020 16:48:12 +0800 -Subject: [PATCH] fc/sysnetwork: update file context for ifconfig - -The ifconfig was moved from sbin to bin with oe-core commit: -c9caff40ff61c08e24a84922f8d7c8e9cdf8883e. Update the file context for -it. - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/system/sysnetwork.fc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc -index c3291962d..4ca151524 100644 ---- a/policy/modules/system/sysnetwork.fc -+++ b/policy/modules/system/sysnetwork.fc -@@ -44,6 +44,7 @@ ifdef(`distro_redhat',` - /usr/bin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0) - /usr/bin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0) - /usr/bin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0) -+/usr/bin/ifconfig\.net-tools -- gen_context(system_u:object_r:ifconfig_exec_t,s0) - /usr/bin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0) - /usr/bin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0) - /usr/bin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0) --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0030-policy-modules-system-logging-add-rules-for-syslogd-.patch renamed from recipes-security/refpolicy/refpolicy/0033-policy-modules-system-logging-add-rules-for-syslogd-.patch +3 -3
@@ -1,4 +1,4 @@ -From 275597cbb54eb8007c07fc06c3d9bd3d3090f7f2 Mon Sep 17 00:00:00 2001 +From c9759b1024873819cf594fe7ac3bf06bcf0d959d 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,10 +18,10 @@ 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 031e2f40f..673046781 100644 +index 21e3285a9..abee7df9c 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te -@@ -404,6 +404,7 @@ files_search_spool(syslogd_t) +@@ -411,6 +411,7 @@ files_search_spool(syslogd_t) # Allow access for syslog-ng allow syslogd_t var_log_t:dir { create setattr };
recipes-security/refpolicy/refpolicy/0031-policy-modules-kernel-files-add-rules-for-the-symlin.patch renamed from recipes-security/refpolicy/refpolicy/0034-policy-modules-kernel-files-add-rules-for-the-symlin.patch +10 -10
@@ -1,4 +1,4 @@ -From 491783f2ae026ac969c9f6ef6eea1bd75ac7e2a5 Mon Sep 17 00:00:00 2001 +From fd55f9f292617c7475c62c07ed6c478b4bd9eda5 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 826722f4e..677ae96c3 100644 /tmp/\.journal <<none>> diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if -index 34a9cd66d..7fc7e922f 100644 +index 495cbe2f4..b308eefd9 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if -@@ -4533,6 +4533,7 @@ interface(`files_search_tmp',` +@@ -4555,6 +4555,7 @@ interface(`files_search_tmp',` ') allow $1 tmp_t:dir search_dir_perms;
@@ -41,7 +41,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4569,6 +4570,7 @@ interface(`files_list_tmp',` +@@ -4591,6 +4592,7 @@ interface(`files_list_tmp',` ') allow $1 tmp_t:dir list_dir_perms;
@@ -49,7 +49,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4605,6 +4607,7 @@ interface(`files_delete_tmp_dir_entry',` +@@ -4627,6 +4629,7 @@ interface(`files_delete_tmp_dir_entry',` ') allow $1 tmp_t:dir del_entry_dir_perms;
@@ -57,7 +57,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4623,6 +4626,7 @@ interface(`files_read_generic_tmp_files',` +@@ -4645,6 +4648,7 @@ interface(`files_read_generic_tmp_files',` ') read_files_pattern($1, tmp_t, tmp_t)
@@ -65,7 +65,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4641,6 +4645,7 @@ interface(`files_manage_generic_tmp_dirs',` +@@ -4663,6 +4667,7 @@ interface(`files_manage_generic_tmp_dirs',` ') manage_dirs_pattern($1, tmp_t, tmp_t)
@@ -73,7 +73,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4659,6 +4664,7 @@ interface(`files_manage_generic_tmp_files',` +@@ -4699,6 +4704,7 @@ interface(`files_manage_generic_tmp_files',` ') manage_files_pattern($1, tmp_t, tmp_t)
@@ -81,7 +81,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4695,6 +4701,7 @@ interface(`files_rw_generic_tmp_sockets',` +@@ -4735,6 +4741,7 @@ interface(`files_rw_generic_tmp_sockets',` ') rw_sock_files_pattern($1, tmp_t, tmp_t)
@@ -89,7 +89,7 @@ index 34a9cd66d..7fc7e922f 100644 ') ######################################## -@@ -4902,6 +4909,7 @@ interface(`files_tmp_filetrans',` +@@ -4942,6 +4949,7 @@ interface(`files_tmp_filetrans',` ') filetrans_pattern($1, tmp_t, $2, $3, $4)
recipes-security/refpolicy/refpolicy/0032-policy-modules-system-logging-fix-auditd-startup-fai.patch renamed from recipes-security/refpolicy/refpolicy/0035-policy-modules-system-logging-fix-auditd-startup-fai.patch +9 -32
73 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0033-policy-modules-kernel-terminal-don-t-audit-tty_devic.patch renamed from recipes-security/refpolicy/refpolicy/0036-policy-modules-kernel-terminal-don-t-audit-tty_devic.patch +1 -1
@@ -1,4 +1,4 @@ -From 15773d54215587284f937b9a37b08c682949e7ab Mon Sep 17 00:00:00 2001 +From bfcb86c9c9ad6a9f10a8556320443d8c96adedc9 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/0034-policy-modules-system-modutils-allow-mod_t-to-access.patch renamed from recipes-security/refpolicy/refpolicy/0037-policy-modules-system-modutils-allow-mod_t-to-access.patch +4 -4
@@ -1,4 +1,4 @@ -From 1126ee6883d7e107b103a18d255416d542ca50f2 Mon Sep 17 00:00:00 2001 +From b3ff2e8572cd929c419775e57b547f309ba9d8fb Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Mon, 24 Aug 2020 11:29:09 +0800 Subject: [PATCH] policy/modules/system/modutils: allow mod_t to access
@@ -37,7 +37,7 @@ Signed-off-by: Yi Zhao <[email protected]> 2 files changed, 4 insertions(+) diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te -index ef5de835e..ee249ae04 100644 +index b0a419dc1..5b4f0aca1 100644 --- a/policy/modules/system/modutils.te +++ b/policy/modules/system/modutils.te @@ -41,6 +41,8 @@ dontaudit kmod_t self:capability sys_admin;
@@ -50,10 +50,10 @@ index ef5de835e..ee249ae04 100644 list_dirs_pattern(kmod_t, modules_conf_t, modules_conf_t) read_files_pattern(kmod_t, modules_conf_t, modules_conf_t) diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te -index 4a2283b6c..daf64482f 100644 +index c50ff68c1..4c5a690fb 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te -@@ -61,6 +61,8 @@ allow udev_t self:rawip_socket create_socket_perms; +@@ -67,6 +67,8 @@ ifdef(`init_systemd',` # for systemd-udevd to rename interfaces allow udev_t self:netlink_route_socket nlmsg_write;
recipes-security/refpolicy/refpolicy/0035-policy-modules-system-getty-allow-getty_t-to-search-.patch renamed from recipes-security/refpolicy/refpolicy/0039-policy-modules-system-getty-allow-getty_t-to-search-.patch +4 -4
@@ -1,4 +1,4 @@ -From f23178d9d89bf39895f75867c29bda4dfb27e786 Mon Sep 17 00:00:00 2001 +From 175b493e7fe69de274388a7f251e74ec9cd56c41 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Tue, 23 Jun 2020 08:39:44 +0800 Subject: [PATCH] policy/modules/system/getty: allow getty_t to search tmpfs
@@ -16,13 +16,13 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/getty.te b/policy/modules/system/getty.te -index 95b1ec632..0415e1ee7 100644 +index e6e76a93b..c704ddb82 100644 --- a/policy/modules/system/getty.te +++ b/policy/modules/system/getty.te -@@ -66,6 +66,7 @@ dev_read_sysfs(getty_t) - files_read_etc_runtime_files(getty_t) +@@ -68,6 +68,7 @@ files_read_etc_runtime_files(getty_t) files_read_etc_files(getty_t) files_search_spool(getty_t) + files_dontaudit_search_var_lib(getty_t) +fs_search_tmpfs(getty_t) fs_search_auto_mountpoints(getty_t)
recipes-security/refpolicy/refpolicy/0036-policy-modules-services-rpcbind-allow-rpcbind_t-to-c.patch renamed from recipes-security/refpolicy/refpolicy/0043-policy-modules-services-rpcbind-allow-rpcbind_t-to-c.patch +3 -21
@@ -1,12 +1,9 @@ -From 40101e4da939fcea2eebe3e4800d0de4e551ca26 Mon Sep 17 00:00:00 2001 +From d1352b688603b16eb6da7a30198d8b7abfc55d1e Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Wed, 1 Jul 2020 08:44:07 +0800 Subject: [PATCH] policy/modules/services/rpcbind: allow rpcbind_t to create directory with label rpcbind_runtime_t -* Allow rpcbind_t to create directory with label rpcbind_runtime_t -* Set context for nfsserver and nfscommon - Fixes: avc: denied { create } for pid=136 comm="rpcbind" name="rpcbind" scontext=system_u:system_r:rpcbind_t:s0-s15:c0.c1023
@@ -16,26 +13,11 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/services/rpc.fc | 2 ++ policy/modules/services/rpcbind.te | 5 +++-- - 2 files changed, 5 insertions(+), 2 deletions(-) + 1 file changed, 3 insertions(+), 2 deletions(-) -diff --git a/policy/modules/services/rpc.fc b/policy/modules/services/rpc.fc -index 88d2acaf0..d9c0a4aa7 100644 ---- a/policy/modules/services/rpc.fc -+++ b/policy/modules/services/rpc.fc -@@ -1,7 +1,9 @@ - /etc/exports -- gen_context(system_u:object_r:exports_t,s0) - - /etc/rc\.d/init\.d/nfs -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0) -+/etc/rc\.d/init\.d/nfsserver -- gen_context(system_u:object_r:nfsd_initrc_exec_t,s0) - /etc/rc\.d/init\.d/nfslock -- gen_context(system_u:object_r:rpcd_initrc_exec_t,s0) -+/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/rpc\..* -- gen_context(system_u:object_r:rpcd_exec_t,s0) diff --git a/policy/modules/services/rpcbind.te b/policy/modules/services/rpcbind.te -index 370c9bce6..8972980fa 100644 +index 168c28ca3..e1eb7d5fc 100644 --- a/policy/modules/services/rpcbind.te +++ b/policy/modules/services/rpcbind.te @@ -25,16 +25,17 @@ files_type(rpcbind_var_lib_t)
recipes-security/refpolicy/refpolicy/0037-policy-modules-admin-usermanage-allow-useradd-to-rel.patch new file +71 -0
71 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 92571e7c066b3d91634a4c1f55542cb528f5bac4 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Tue, 23 Jun 2020 08:19:16 +0800 -Subject: [PATCH] policy/modules/services/avahi: allow avahi_t to watch - /etc/avahi directory - -Fixes: -type=AVC msg=audit(1592813140.176:24): avc: denied { watch } for -pid=360 comm="avahi-daemon" path="/services" dev="vda" ino=173 -scontext=system_u:system_r:avahi_t tcontext=system_u:object_r:etc_t -tclass=dir permissive=1 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/services/avahi.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/policy/modules/services/avahi.te b/policy/modules/services/avahi.te -index af838d8b0..674cdcb81 100644 ---- a/policy/modules/services/avahi.te -+++ b/policy/modules/services/avahi.te -@@ -76,6 +76,7 @@ domain_use_interactive_fds(avahi_t) - - files_read_etc_runtime_files(avahi_t) - files_read_usr_files(avahi_t) -+files_watch_etc_dirs(avahi_t) - - auth_use_nsswitch(avahi_t) - --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0038-policy-modules-system-systemd-enable-support-for-sys.patch renamed from recipes-security/refpolicy/refpolicy/0049-policy-modules-system-systemd-enable-support-for-sys.patch +4 -4
@@ -1,4 +1,4 @@ -From c2a6ad9b4eee990b79175ec1866cfe20b7c61ef3 Mon Sep 17 00:00:00 2001 +From 93d4f198bd469a8728f5ce0cc51ff18f8a58b23b 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
@@ -36,10 +36,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index 2e08efd19..7da836136 100644 +index 3d9198342..31d28a0e3 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te -@@ -10,7 +10,7 @@ policy_module(systemd, 1.11.1) +@@ -10,7 +10,7 @@ policy_module(systemd, 1.12.6) ## Enable support for systemd-tmpfiles to manage all non-security files. ## </p> ## </desc>
@@ -48,7 +48,7 @@ index 2e08efd19..7da836136 100644 ## <desc> ## <p> -@@ -1332,6 +1332,10 @@ files_relabelfrom_home(systemd_tmpfiles_t) +@@ -1396,6 +1396,10 @@ files_relabelfrom_home(systemd_tmpfiles_t) files_relabelto_home(systemd_tmpfiles_t) files_relabelto_etc_dirs(systemd_tmpfiles_t) files_setattr_lock_dirs(systemd_tmpfiles_t)
recipes-security/refpolicy/refpolicy/0039-policy-modules-system-systemd-fix-systemd-resolved-s.patch renamed from recipes-security/refpolicy/refpolicy/0050-policy-modules-system-systemd-fix-systemd-resolved-s.patch +13 -22
@@ -1,22 +1,15 @@ -From 8e762e1070e98a4235a70536ee6ca81725858a4b Mon Sep 17 00:00:00 2001 +From 99139408a7919282e97e1b2fcd5da33248386d73 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Mon, 25 Jan 2021 14:14:59 +0800 Subject: [PATCH] policy/modules/system/systemd: fix systemd-resolved startup failures -* Allow systemd_resolved_t to create socket file * Allow systemd_resolved_t to manage systemd_resolved_runtime_t link files * Allow systemd_resolved_t to send and recevie messages from dhcpc over dbus Fixes: -avc: denied { create } for pid=258 comm="systemd-resolve" -name="io.systemd.Resolve" -scontext=system_u:system_r:systemd_resolved_t:s0-s15:c0.c1023 -tcontext=system_u:object_r:systemd_resolved_runtime_t:s0 -tclass=sock_file permissive=0 - avc: denied { create } for pid=329 comm="systemd-resolve" name=".#stub-resolv.conf53cb7f9d1e3aa72b" scontext=system_u:system_r:systemd_resolved_t:s0-s15:c0.c1023
@@ -39,31 +32,29 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/system/systemd.te | 4 ++++ - 1 file changed, 4 insertions(+) + policy/modules/system/systemd.te | 2 ++ + 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index 7da836136..0411729ea 100644 +index 31d28a0e3..448905ff7 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te -@@ -1164,6 +1164,8 @@ allow systemd_resolved_t systemd_networkd_runtime_t:dir watch; +@@ -1199,6 +1199,7 @@ allow systemd_resolved_t systemd_networkd_runtime_t:dir watch; manage_dirs_pattern(systemd_resolved_t, systemd_resolved_runtime_t, systemd_resolved_runtime_t) manage_files_pattern(systemd_resolved_t, systemd_resolved_runtime_t, systemd_resolved_runtime_t) -+manage_sock_files_pattern(systemd_resolved_t, systemd_resolved_runtime_t, systemd_resolved_runtime_t) +manage_lnk_files_pattern(systemd_resolved_t, systemd_resolved_runtime_t, systemd_resolved_runtime_t) + manage_sock_files_pattern(systemd_resolved_t, systemd_resolved_runtime_t, systemd_resolved_runtime_t) init_runtime_filetrans(systemd_resolved_t, systemd_resolved_runtime_t, dir) - dev_read_sysfs(systemd_resolved_t) -@@ -1194,6 +1196,8 @@ seutil_read_file_contexts(systemd_resolved_t) - systemd_log_parse_environment(systemd_resolved_t) - systemd_read_networkd_runtime(systemd_resolved_t) - -+sysnet_dbus_chat_dhcpc(systemd_resolved_t) -+ - optional_policy(` - dbus_connect_system_bus(systemd_resolved_t) +@@ -1236,6 +1237,7 @@ optional_policy(` dbus_system_bus_client(systemd_resolved_t) + dbus_watch_system_bus_runtime_dirs(systemd_resolved_t) + dbus_watch_system_bus_runtime_named_sockets(systemd_resolved_t) ++ sysnet_dbus_chat_dhcpc(systemd_resolved_t) + ') + + ######################################### -- 2.17.1
recipes-security/refpolicy/refpolicy/0040-policy-modules-services-bluetooth-fix-bluetoothd-sta.patch deleted +0 -88
88 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0040-policy-modules-system-systemd-allow-systemd_-_t-to-g.patch new file +156 -0
156 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0041-policy-modules-roles-sysadm-allow-sysadm-to-run-rpci.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From e67fe4fa79d59be7bcefd256c1966ea8c034a3d9 Mon Sep 17 00:00:00 2001 -From: Roy Li <[email protected]> -Date: Sat, 15 Feb 2014 09:45:00 +0800 -Subject: [PATCH] policy/modules/roles/sysadm: allow sysadm to run rpcinfo - -Fixes: -$ rpcinfo -rpcinfo: can't contact rpcbind: RPC: Remote system error - Permission denied - -avc: denied { connectto } for pid=406 comm="rpcinfo" -path="/run/rpcbind.sock" scontext=root:sysadm_r:sysadm_t -tcontext=system_u:system_r:rpcbind_t tclass=unix_stream_socket -permissive=0 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Roy Li <[email protected]> -Signed-off-by: Joe MacDonald <[email protected]> -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/roles/sysadm.te | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te -index ddf973693..1642f3b93 100644 ---- a/policy/modules/roles/sysadm.te -+++ b/policy/modules/roles/sysadm.te -@@ -947,6 +947,7 @@ optional_policy(` - ') - - optional_policy(` -+ rpcbind_stream_connect(sysadm_t) - rpcbind_admin(sysadm_t, sysadm_r) - ') - --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0041-policy-modules-system-logging-fix-syslogd-failures-f.patch new file +55 -0
55 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0042-policy-modules-services-rpc-add-capability-dac_read_.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 7c94b6aa3c679dc201ed5a907f713c0857d8b8ca Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Tue, 14 May 2019 15:22:08 +0800 -Subject: [PATCH] policy/modules/services/rpc: add capability dac_read_search - for rpcd_t - -Fixes: -type=AVC msg=audit(1558592079.931:494): avc: denied { dac_read_search } -for pid=585 comm="sm-notify" capability=2 scontext=system_u:system_r:rpcd_t -tcontext=system_u:system_r:rpcd_t tclass=capability permissive=0 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/services/rpc.te | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/policy/modules/services/rpc.te b/policy/modules/services/rpc.te -index c3e37177b..87b6b4561 100644 ---- a/policy/modules/services/rpc.te -+++ b/policy/modules/services/rpc.te -@@ -232,7 +232,7 @@ optional_policy(` - # Local policy - # - --allow rpcd_t self:capability { chown dac_override setgid setpcap setuid sys_admin }; -+allow rpcd_t self:capability { chown dac_override dac_read_search setgid setpcap setuid sys_admin }; - allow rpcd_t self:capability2 block_suspend; - allow rpcd_t self:process { getcap setcap }; - allow rpcd_t self:fifo_file rw_fifo_file_perms; --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0042-policy-modules-system-systemd-systemd-user-fixes.patch new file +172 -0
172 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0043-policy-modules-system-sysnetwork-support-priviledge-.patch renamed from recipes-security/refpolicy/refpolicy/0060-policy-modules-system-sysnetwork-support-priviledge-.patch +25 -13
@@ -1,4 +1,4 @@ -From ab462f0022c35fde984dbe792ce386f5d507aeeb Mon Sep 17 00:00:00 2001 +From d1c159d4400722e783d12cc3684c1cf15004f7a9 Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Thu, 24 Sep 2020 14:05:52 +0800 Subject: [PATCH] policy/modules/system/sysnetwork: support priviledge
@@ -80,26 +80,38 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/system/sysnetwork.te | 7 +++++++ - 1 file changed, 7 insertions(+) + policy/modules/system/sysnetwork.te | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/policy/modules/system/sysnetwork.te b/policy/modules/system/sysnetwork.te -index cb1434180..a9297f976 100644 +index 4c317cc4c..05a9a52b8 100644 --- a/policy/modules/system/sysnetwork.te +++ b/policy/modules/system/sysnetwork.te -@@ -72,6 +72,11 @@ allow dhcpc_t self:netlink_route_socket create_netlink_socket_perms; - allow dhcpc_t self:rawip_socket create_socket_perms; - allow dhcpc_t self:unix_dgram_socket { create_socket_perms sendto }; - +@@ -58,10 +58,11 @@ ifdef(`distro_debian',` + # DHCP client local policy + # + allow dhcpc_t self:capability { dac_override fsetid net_admin net_bind_service net_raw setpcap sys_nice sys_resource sys_tty_config }; +allow dhcpc_t self:capability { setgid setuid sys_chroot kill }; + dontaudit dhcpc_t self:capability { sys_ptrace sys_tty_config }; + # for access("/etc/bashrc", X_OK) on Red Hat + dontaudit dhcpc_t self:capability { dac_read_search sys_module }; +-allow dhcpc_t self:process { getsched getcap setcap setfscreate ptrace signal_perms }; ++allow dhcpc_t self:process { getsched getcap setcap setfscreate ptrace signal_perms setrlimit }; + + allow dhcpc_t self:fifo_file rw_fifo_file_perms; + allow dhcpc_t self:tcp_socket create_stream_socket_perms; +@@ -69,8 +70,10 @@ allow dhcpc_t self:udp_socket create_socket_perms; + allow dhcpc_t self:packet_socket create_socket_perms; + allow dhcpc_t self:netlink_generic_socket create_socket_perms; + allow dhcpc_t self:netlink_route_socket create_netlink_socket_perms; +allow dhcpc_t self:netlink_kobject_uevent_socket create_socket_perms; -+allow dhcpc_t self:process setrlimit; + allow dhcpc_t self:rawip_socket create_socket_perms; + allow dhcpc_t self:unix_dgram_socket { create_socket_perms sendto }; +allow dhcpc_t self:unix_stream_socket connectto; -+ + allow dhcpc_t dhcp_etc_t:dir list_dir_perms; read_lnk_files_pattern(dhcpc_t, dhcp_etc_t, dhcp_etc_t) - exec_files_pattern(dhcpc_t, dhcp_etc_t, dhcp_etc_t) -@@ -145,6 +150,7 @@ files_manage_var_files(dhcpc_t) +@@ -146,6 +149,7 @@ files_manage_var_files(dhcpc_t) fs_getattr_all_fs(dhcpc_t) fs_search_auto_mountpoints(dhcpc_t) fs_search_cgroup_dirs(dhcpc_t)
@@ -107,7 +119,7 @@ index cb1434180..a9297f976 100644 term_dontaudit_use_all_ttys(dhcpc_t) term_dontaudit_use_all_ptys(dhcpc_t) -@@ -180,6 +186,7 @@ ifdef(`init_systemd',` +@@ -181,6 +185,7 @@ ifdef(`init_systemd',` init_stream_connect(dhcpc_t) init_get_all_units_status(dhcpc_t) init_search_units(dhcpc_t)
recipes-security/refpolicy/refpolicy/0044-policy-modules-services-rngd-fix-security-context-fo.patch deleted +0 -65
65 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0044-policy-modules-system-modutils-allow-kmod_t-to-write.patch renamed from recipes-security/refpolicy/refpolicy/0063-policy-modules-system-modutils-allow-kmod_t-to-write.patch +7 -8
@@ -1,4 +1,4 @@ -From 7002b4e33b949b474a0ce0b78a7f2e180dbbc9bb Mon Sep 17 00:00:00 2001 +From 8343ff97a265836ba1e1e2f4159f888c21e5cabe Mon Sep 17 00:00:00 2001 From: Yi Zhao <[email protected]> Date: Tue, 9 Feb 2021 17:31:55 +0800 Subject: [PATCH] policy/modules/system/modutils: allow kmod_t to write keys
@@ -14,22 +14,21 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/system/modutils.te | 2 ++ - 1 file changed, 2 insertions(+) + policy/modules/system/modutils.te | 1 + + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te -index ee249ae04..b8769bc02 100644 +index 5b4f0aca1..008f286a8 100644 --- a/policy/modules/system/modutils.te +++ b/policy/modules/system/modutils.te -@@ -43,6 +43,8 @@ allow kmod_t self:rawip_socket create_socket_perms; +@@ -42,6 +42,7 @@ allow kmod_t self:udp_socket create_socket_perms; + allow kmod_t self:rawip_socket create_socket_perms; allow kmod_t self:lockdown confidentiality; - +allow kmod_t self:key write; -+ + # Read module config and dependency information list_dirs_pattern(kmod_t, modules_conf_t, modules_conf_t) - read_files_pattern(kmod_t, modules_conf_t, modules_conf_t) -- 2.17.1
recipes-security/refpolicy/refpolicy/0045-policy-modules-services-ssh-allow-ssh_keygen_t-to-re.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From be61411d6d7d3bb2c700ec24f42661ce9c728df4 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Fri, 29 Jan 2021 10:32:00 +0800 -Subject: [PATCH] policy/modules/services/ssh: allow ssh_keygen_t to read - proc_t - -Fixes: -avc: denied { read } for pid=353 comm="ssh-keygen" name="filesystems" -dev="proc" ino=4026532078 scontext=system_u:system_r:ssh_keygen_t -tcontext=system_u:object_r:proc_t tclass=file permissive=0 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/services/ssh.te | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te -index 238c45ed8..2bbf50e84 100644 ---- a/policy/modules/services/ssh.te -+++ b/policy/modules/services/ssh.te -@@ -330,6 +330,8 @@ allow ssh_keygen_t self:process { sigchld sigkill sigstop signull signal }; - - allow ssh_keygen_t self:unix_stream_socket create_stream_socket_perms; - -+allow ssh_keygen_t proc_t:file read_file_perms; -+ - allow ssh_keygen_t sshd_key_t:file manage_file_perms; - files_etc_filetrans(ssh_keygen_t, sshd_key_t, file) - --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0045-policy-modules-system-systemd-allow-systemd_logind_t.patch new file +43 -0
43 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 20e6395a7e8bce552fb0190dbc57d836d763fc18 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Sun, 28 Jun 2020 16:14:45 +0800 -Subject: [PATCH] policy/modules/services/ssh: make respective init scripts - create pid dirs with proper contexts - -Fix sshd starup failure. - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/services/ssh.te | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te -index 2bbf50e84..ad0a1b7ad 100644 ---- a/policy/modules/services/ssh.te -+++ b/policy/modules/services/ssh.te -@@ -80,9 +80,7 @@ userdom_user_home_content(ssh_home_t) - type sshd_keytab_t; - files_type(sshd_keytab_t) - --ifdef(`distro_debian',` -- init_daemon_runtime_file(sshd_runtime_t, dir, "sshd") --') -+init_daemon_runtime_file(sshd_runtime_t, dir, "sshd") - - ############################## - # --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0046-policy-modules-system-mount-make-mount_t-domain-MLS-.patch renamed from recipes-security/refpolicy/refpolicy/0066-policy-modules-system-mount-make-mount_t-domain-MLS-.patch +7 -8
@@ -1,4 +1,4 @@ -From 0d69354886e0b635dd069876b9d53890a5a9cab1 Mon Sep 17 00:00:00 2001 +From 705008ba8ef960cf2e4813b4b8c5a87b919d545f 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
@@ -15,22 +15,21 @@ Upstream-Status: Inappropriate [embedded specific] Signen-off-by: Wenzong Fan <[email protected]> Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/system/mount.te | 2 ++ - 1 file changed, 2 insertions(+) + policy/modules/system/mount.te | 1 + + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te -index b628c3b2f..f55457bb0 100644 +index e39ab41a8..3481f9294 100644 --- a/policy/modules/system/mount.te +++ b/policy/modules/system/mount.te -@@ -116,6 +116,8 @@ fs_dontaudit_write_all_image_files(mount_t) +@@ -116,6 +116,7 @@ fs_dontaudit_write_all_image_files(mount_t) + mls_file_read_all_levels(mount_t) mls_file_write_all_levels(mount_t) - +mls_process_write_to_clearance(mount_t) -+ + selinux_get_enforce_mode(mount_t) - storage_raw_read_fixed_disk(mount_t) -- 2.17.1
recipes-security/refpolicy/refpolicy/0047-policy-modules-kernel-terminal-allow-loging-to-reset.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From f0249cb5802af7f9113786940d0c49e786f774ae Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Mon, 29 Jun 2020 14:27:02 +0800 -Subject: [PATCH] policy/modules/kernel/terminal: allow loging to reset tty - perms - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/kernel/terminal.if | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/policy/modules/kernel/terminal.if b/policy/modules/kernel/terminal.if -index e8c0735eb..9ccecfa0d 100644 ---- a/policy/modules/kernel/terminal.if -+++ b/policy/modules/kernel/terminal.if -@@ -119,9 +119,7 @@ interface(`term_user_tty',` - - # Debian login is from shadow utils and does not allow resetting the perms. - # have to fix this! -- ifdef(`distro_debian',` -- type_change $1 ttynode:chr_file $2; -- ') -+ type_change $1 ttynode:chr_file $2; - - tunable_policy(`console_login',` - # When user logs in from /dev/console, relabel it --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0047-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch renamed from recipes-security/refpolicy/refpolicy/0067-policy-modules-roles-sysadm-MLS-sysadm-rw-to-clearan.patch +7 -8
@@ -1,4 +1,4 @@ -From b83147aa97fe6f51c997256539dff827e3a44edc Mon Sep 17 00:00:00 2001 +From ef2b9196f3a51745a3644489d316bda7cd67f72d 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
@@ -19,23 +19,22 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Xin Ouyang <[email protected]> Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/roles/sysadm.te | 3 +++ - 1 file changed, 3 insertions(+) + policy/modules/roles/sysadm.te | 2 ++ + 1 file changed, 2 insertions(+) diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te -index a4abaefe4..aaae73fc3 100644 +index e1933a5bd..0682ed31a 100644 --- a/policy/modules/roles/sysadm.te +++ b/policy/modules/roles/sysadm.te -@@ -42,6 +42,9 @@ dev_read_kmsg(sysadm_t) +@@ -44,6 +44,8 @@ logging_watch_all_logs(sysadm_t) + logging_watch_audit_log(sysadm_t) mls_process_read_all_levels(sysadm_t) - +mls_file_read_all_levels(sysadm_t) +mls_process_write_to_clearance(sysadm_t) -+ + selinux_read_policy(sysadm_t) - ubac_process_exempt(sysadm_t) -- 2.17.1
recipes-security/refpolicy/refpolicy/0048-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch renamed from recipes-security/refpolicy/refpolicy/0068-policy-modules-services-rpc-make-nfsd_t-domain-MLS-t.patch +6 -21
@@ -1,4 +1,4 @@ -From 7b8290ba52052f90b6221c1b3ccb8f7536f4c41e Mon Sep 17 00:00:00 2001 +From 18ad027229a06fdcb833482dff0c2ae637d08e78 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
@@ -11,12 +11,11 @@ Signed-off-by: Joe MacDonald <[email protected]> Signed-off-by: Yi Zhao <[email protected]> --- policy/modules/kernel/kernel.te | 2 ++ - policy/modules/services/rpc.te | 2 ++ - policy/modules/services/rpcbind.te | 6 ++++++ - 3 files changed, 10 insertions(+) + policy/modules/services/rpcbind.te | 5 +++++ + 2 files changed, 7 insertions(+) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te -index 5ce6e041b..c1557ddb2 100644 +index ca951cb44..a32c59eb1 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te @@ -356,6 +356,8 @@ mls_process_read_all_levels(kernel_t)
@@ -28,24 +27,11 @@ index 5ce6e041b..c1557ddb2 100644 ifdef(`distro_redhat',` # Bugzilla 222337 -diff --git a/policy/modules/services/rpc.te b/policy/modules/services/rpc.te -index 87b6b4561..9618df04e 100644 ---- a/policy/modules/services/rpc.te -+++ b/policy/modules/services/rpc.te -@@ -341,6 +341,8 @@ storage_raw_read_removable_device(nfsd_t) - - miscfiles_read_public_files(nfsd_t) - -+mls_file_read_to_clearance(nfsd_t) -+ - tunable_policy(`allow_nfsd_anon_write',` - miscfiles_manage_public_files(nfsd_t) - ') diff --git a/policy/modules/services/rpcbind.te b/policy/modules/services/rpcbind.te -index 8972980fa..5c89a1343 100644 +index e1eb7d5fc..da0994749 100644 --- a/policy/modules/services/rpcbind.te +++ b/policy/modules/services/rpcbind.te -@@ -73,6 +73,12 @@ logging_send_syslog_msg(rpcbind_t) +@@ -73,6 +73,11 @@ logging_send_syslog_msg(rpcbind_t) miscfiles_read_localization(rpcbind_t)
@@ -53,7 +39,6 @@ index 8972980fa..5c89a1343 100644 +# because the are running in different level. So add rules to allow this. +mls_socket_read_all_levels(rpcbind_t) +mls_socket_write_all_levels(rpcbind_t) -+mls_file_read_to_clearance(rpcbind_t) + ifdef(`distro_debian',` term_dontaudit_use_unallocated_ttys(rpcbind_t)
recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 74f611538d63cdf4157e6b5f4b982cafe0378b9a Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Mon, 29 Jun 2020 14:30:58 +0800 -Subject: [PATCH] policy/modules/system/selinuxutil: allow semanage_t to read - /var/lib - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/system/selinuxutil.te | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te -index 8f8f42ec7..a505b3987 100644 ---- a/policy/modules/system/selinuxutil.te -+++ b/policy/modules/system/selinuxutil.te -@@ -549,10 +549,8 @@ userdom_map_user_home_content_files(semanage_t) - userdom_read_user_tmp_files(semanage_t) - userdom_map_user_tmp_files(semanage_t) - --ifdef(`distro_debian',` -- files_read_var_lib_files(semanage_t) -- files_read_var_lib_symlinks(semanage_t) --') -+files_read_var_lib_files(semanage_t) -+files_read_var_lib_symlinks(semanage_t) - - ifdef(`distro_ubuntu',` - optional_policy(` --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0049-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch renamed from recipes-security/refpolicy/refpolicy/0069-policy-modules-admin-dmesg-make-dmesg_t-MLS-trusted-.patch +3 -3
@@ -1,4 +1,4 @@ -From bc6872d164d09355ee82dc97c4e3d99a6b6669b3 Mon Sep 17 00:00:00 2001 +From b41a910654f5c5fe198b1695df18b6f6a1af7904 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
@@ -19,10 +19,10 @@ Signed-off-by: Yi Zhao <[email protected]> 1 file changed, 2 insertions(+) diff --git a/policy/modules/admin/dmesg.te b/policy/modules/admin/dmesg.te -index 0f2835575..9f4f11397 100644 +index f3421fdbb..d87ee5583 100644 --- a/policy/modules/admin/dmesg.te +++ b/policy/modules/admin/dmesg.te -@@ -51,6 +51,8 @@ miscfiles_read_localization(dmesg_t) +@@ -52,6 +52,8 @@ miscfiles_read_localization(dmesg_t) userdom_dontaudit_use_unpriv_user_fds(dmesg_t) userdom_use_user_terminals(dmesg_t)
recipes-security/refpolicy/refpolicy/0050-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch renamed from recipes-security/refpolicy/refpolicy/0070-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch +7 -8
@@ -1,4 +1,4 @@ -From e7b9af24946f5f76e8e6831bfeb444c0153298be Mon Sep 17 00:00:00 2001 +From c2e99e27acc1454d792b3e8d6f24d3a2a3be29e3 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
@@ -55,23 +55,22 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Wenzong Fan <[email protected]> Signed-off-by: Yi Zhao <[email protected]> --- - policy/modules/kernel/kernel.te | 3 +++ - 1 file changed, 3 insertions(+) + policy/modules/kernel/kernel.te | 2 ++ + 1 file changed, 2 insertions(+) diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te -index c1557ddb2..8f67c6ec9 100644 +index a32c59eb1..1c53754ee 100644 --- a/policy/modules/kernel/kernel.te +++ b/policy/modules/kernel/kernel.te -@@ -359,6 +359,9 @@ mls_file_read_all_levels(kernel_t) +@@ -358,6 +358,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) - +# https://bugzilla.redhat.com/show_bug.cgi?id=667370 +mls_file_downgrade(kernel_t) -+ + ifdef(`distro_redhat',` # Bugzilla 222337 - fs_rw_tmpfs_chr_files(kernel_t) -- 2.17.1
recipes-security/refpolicy/refpolicy/0051-policy-modules-system-init-add-capability2-bpf-and-p.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 2d932ba7140d91cf2a8386b0240f4f1014124746 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Wed, 3 Feb 2021 09:47:59 +0800 -Subject: [PATCH] policy/modules/system/init: add capability2 bpf and perfmon - for init_t - -Fixes: -avc: denied { bpf } for pid=1 comm="systemd" capability=39 -scontext=system_u:system_r:init_t tcontext=system_u:system_r:init_t -tclass=capability2 permissive=0 -avc: denied { perfmon } for pid=1 comm="systemd" capability=38 -scontext=system_u:system_r:init_t tcontext=system_u:system_r:init_t -tclass=capability2 permissive=0 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/system/init.te | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te -index e82177938..b7d494398 100644 ---- a/policy/modules/system/init.te -+++ b/policy/modules/system/init.te -@@ -134,7 +134,7 @@ ifdef(`enable_mls',` - - # Use capabilities. old rule: - allow init_t self:capability { chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap }; --allow init_t self:capability2 { wake_alarm block_suspend }; -+allow init_t self:capability2 { wake_alarm block_suspend bpf perfmon }; - # is ~sys_module really needed? observed: - # sys_boot - # sys_tty_config --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0051-policy-modules-system-init-make-init_t-MLS-trusted-f.patch renamed from recipes-security/refpolicy/refpolicy/0071-policy-modules-system-init-make-init_t-MLS-trusted-f.patch +3 -3
@@ -1,4 +1,4 @@ -From ee3e2bbaf3b94902aadebbb085c7e86b8d074e98 Mon Sep 17 00:00:00 2001 +From 7bcc117ea39532427df297299c10ca1d2948a70c 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 b7d494398..b6750015e 100644 +index 932d1f7b3..36becaa6e 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -210,6 +210,10 @@ mls_process_write_all_levels(init_t) +@@ -219,6 +219,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/0052-policy-modules-system-systemd-allow-systemd_logind_t.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 5db5b20728dff6c5e75dc07ea4feb6c507661b62 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Wed, 8 Jul 2020 13:53:28 +0800 -Subject: [PATCH] policy/modules/system/systemd: allow systemd_logind_t to - watch initrc_runtime_t - -Fixes: -avc: denied { watch } for pid=200 comm="systemd-logind" -path="/run/utmp" dev="tmpfs" ino=12766 -scontext=system_u:system_r:systemd_logind_t:s0-s15:c0.c1023 -tcontext=system_u:object_r:initrc_runtime_t:s0 tclass=file permissive=0 - -systemd-logind[200]: Failed to create inotify watch on /var/run/utmp, ignoring: Permission denied - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/system/systemd.te | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index 0411729ea..2d9d7d331 100644 ---- a/policy/modules/system/systemd.te -+++ b/policy/modules/system/systemd.te -@@ -651,6 +651,8 @@ init_stop_all_units(systemd_logind_t) - init_start_system(systemd_logind_t) - init_stop_system(systemd_logind_t) - -+allow systemd_logind_t initrc_runtime_t:file watch; -+ - locallogin_read_state(systemd_logind_t) - - seutil_libselinux_linked(systemd_logind_t) --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0052-policy-modules-system-systemd-make-systemd-tmpfiles_.patch renamed from recipes-security/refpolicy/refpolicy/0072-policy-modules-system-systemd-make-systemd-tmpfiles_.patch +3 -3
@@ -1,4 +1,4 @@ -From 8cdcca3702d69ed5f3aa9ce9d769ad483f977094 Mon Sep 17 00:00:00 2001 +From d965e6a02854a07c4783cf33e95bf3c7cf9f56f1 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 7d2ba2796..c50a2ba64 100644 +index 1a83148c1..736107fad 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te -@@ -1396,6 +1396,11 @@ sysnet_relabel_config(systemd_tmpfiles_t) +@@ -1483,6 +1483,11 @@ sysnet_relabel_config(systemd_tmpfiles_t) systemd_log_parse_environment(systemd_tmpfiles_t)
recipes-security/refpolicy/refpolicy/0053-policy-modules-system-logging-set-label-devlog_t-to-.patch deleted +0 -86
86 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0053-policy-modules-system-systemd-systemd-make-systemd_-.patch new file +91 -0
91 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0054-policy-modules-system-logging-add-the-syslogd_t-to-t.patch renamed from recipes-security/refpolicy/refpolicy/0073-policy-modules-system-logging-add-the-syslogd_t-to-t.patch +4 -4
@@ -1,4 +1,4 @@ -From 4e7b0040ff558f2d69c8b9a30e73223acb20f35f Mon Sep 17 00:00:00 2001 +From 511f7fdad45a150f7ea3666eb51463573eabab0a 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,15 +18,15 @@ 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 62caa7a56..e608327fe 100644 +index 5b4b5ec5d..e67c25a9e 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te -@@ -495,6 +495,10 @@ fs_search_auto_mountpoints(syslogd_t) +@@ -498,6 +498,10 @@ fs_search_auto_mountpoints(syslogd_t) fs_search_tmpfs(syslogd_t) mls_file_write_all_levels(syslogd_t) # Need to be able to write to /var/run/ and /var/log directories +mls_file_read_all_levels(syslogd_t) -+mls_socket_write_all_levels(syslogd_t) # Neet to be able to sendto dgram ++mls_socket_write_all_levels(syslogd_t) # Need to be able to sendto dgram +mls_trusted_object(syslogd_t) # Other process need to have the right to connectto/sendto /dev/log +mls_fd_use_all_levels(syslogd_t)
recipes-security/refpolicy/refpolicy/0054-policy-modules-system-systemd-support-systemd-user.patch deleted +0 -189
189 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0055-policy-modules-system-init-make-init_t-MLS-trusted-f.patch renamed from recipes-security/refpolicy/refpolicy/0074-policy-modules-system-init-make-init_t-MLS-trusted-f.patch +3 -3
@@ -1,4 +1,4 @@ -From bbb405ac6270ef945db21cfddda63d283ee5d8af Mon Sep 17 00:00:00 2001 +From 3f875fae6d9a4538b3e7d33f30dd2a98fc9ea2bd 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 b6750015e..962c675b0 100644 +index 36becaa6e..9c0a98eb7 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -209,6 +209,7 @@ mls_file_write_all_levels(init_t) +@@ -218,6 +218,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/0055-policy-modules-system-systemd-allow-systemd-generato.patch deleted +0 -69
69 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0056-policy-modules-system-init-all-init_t-to-read-any-le.patch renamed from recipes-security/refpolicy/refpolicy/0075-policy-modules-system-init-all-init_t-to-read-any-le.patch +3 -3
@@ -1,4 +1,4 @@ -From 2780811e48663df0265676749a4041c077ae6a89 Mon Sep 17 00:00:00 2001 +From a59dae035b7d5063e0f25c4cf40b5b180ad69022 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 962c675b0..aa57a5661 100644 +index 9c0a98eb7..5a19f0e43 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te -@@ -215,6 +215,9 @@ mls_key_write_all_levels(init_t) +@@ -224,6 +224,9 @@ mls_key_write_all_levels(init_t) mls_file_downgrade(init_t) mls_file_upgrade(init_t)
recipes-security/refpolicy/refpolicy/0056-policy-modules-system-systemd-allow-systemd_backligh.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 8b0bb1e349e2ea021acec1639be0802ac4d7d0c2 Mon Sep 17 00:00:00 2001 -From: Yi Zhao <[email protected]> -Date: Thu, 4 Feb 2021 15:13:50 +0800 -Subject: [PATCH] policy/modules/system/systemd: allow systemd_backlight_t to - read kernel sysctl - -Fixes: -avc: denied { search } for pid=354 comm="systemd-backlig" name="sys" -dev="proc" ino=4026531854 -scontext=system_u:system_r:systemd_backlight_t:s0-s15:c0.c1023 -tcontext=system_u:object_r:sysctl_t:s0 tclass=dir permissive=0 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao <[email protected]> ---- - policy/modules/system/systemd.te | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te -index c1111198d..7d2ba2796 100644 ---- a/policy/modules/system/systemd.te -+++ b/policy/modules/system/systemd.te -@@ -324,6 +324,8 @@ udev_read_runtime_files(systemd_backlight_t) - - files_search_var_lib(systemd_backlight_t) - -+kernel_read_kernel_sysctls(systemd_backlight_t) -+ - ####################################### - # - # Binfmt local policy --- -2.17.1 -
recipes-security/refpolicy/refpolicy/0057-policy-modules-system-logging-allow-auditd_t-to-writ.patch renamed from recipes-security/refpolicy/refpolicy/0076-policy-modules-system-logging-allow-auditd_t-to-writ.patch +3 -3
@@ -1,4 +1,4 @@ -From a74584ba424cd5e392db2a64b4ec66ebb307eb4c Mon Sep 17 00:00:00 2001 +From 96437ba860d352304246fbe3381030da0665f239 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,10 +22,10 @@ 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 e608327fe..bdd5c9dff 100644 +index e67c25a9e..f8d8b73f0 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te -@@ -211,6 +211,8 @@ miscfiles_read_localization(auditd_t) +@@ -215,6 +215,8 @@ miscfiles_read_localization(auditd_t) mls_file_read_all_levels(auditd_t) mls_file_write_all_levels(auditd_t) # Need to be able to write to /var/run/ directory
recipes-security/refpolicy/refpolicy/0057-policy-modules-system-logging-fix-systemd-journald-s.patch deleted +0 -47
32 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0058-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch renamed from recipes-security/refpolicy/refpolicy/0077-policy-modules-kernel-kernel-make-kernel_t-MLS-trust.patch +7 -8
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0058-policy-modules-services-cron-allow-crond_t-to-search.patch deleted +0 -34
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0059-policy-modules-services-crontab-allow-sysadm_r-to-ru.patch deleted +0 -46
46 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0059-policy-modules-system-setrans-allow-setrans_t-use-fd.patch renamed from recipes-security/refpolicy/refpolicy/0082-policy-modules-system-setrans-allow-setrans_t-use-fd.patch +3 -3
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0060-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch renamed from recipes-security/refpolicy/refpolicy/0090-policy-modules-system-systemd-make-_systemd_t-MLS-tr.patch +6 -6
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0061-policy-modules-services-acpi-allow-acpid-to-watch-th.patch deleted +0 -35
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0061-policy-modules-system-logging-make-syslogd_runtime_t.patch new file +48 -0
48 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0062-policy-modules-system-setrans-allow-setrans-to-acces.patch deleted +0 -42
42 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0064-policy-modules-roles-sysadm-allow-sysadm_t-to-watch-.patch deleted +0 -33
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0065-policy-modules-system-selinux-allow-setfiles_t-to-re.patch deleted +0 -44
44 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0078-policy-modules-system-systemd-make-systemd-logind-do.patch deleted +0 -42
42 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0079-policy-modules-system-systemd-systemd-user-sessions-.patch deleted +0 -41
41 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0080-policy-modules-system-systemd-systemd-make-systemd_-.patch deleted +0 -162
162 lines not on this page · raw message
recipes-security/refpolicy/refpolicy/0081-policy-modules-services-ntp-make-nptd_t-MLS-trusted-.patch deleted +0 -40
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0083-policy-modules-services-acpi-make-acpid_t-domain-MLS.patch deleted +0 -35
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0084-policy-modules-services-avahi-make-avahi_t-MLS-trust.patch deleted +0 -29
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch deleted +0 -36
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0086-policy-modules-system-sysnetwork-make-dhcpc_t-domain.patch deleted +0 -38
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0087-policy-modules-services-inetd-make-inetd_t-domain-ML.patch deleted +0 -36
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0088-policy-modules-services-bind-make-named_t-domain-MLS.patch deleted +0 -38
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0089-policy-modules-services-rpc-make-rpcd_t-MLS-trusted-.patch deleted +0 -36
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy/0091-fc-usermanage-update-file-context-for-chfn-chsh.patch deleted +0 -34
Lines of this file are not shown. View the raw message.
recipes-security/refpolicy/refpolicy_common.inc +59 -89
148 lines not on this page · raw message
recipes-security/refpolicy/refpolicy_git.inc +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.25.1
Part of the diff is not shown here. View the raw message.