Add dynamic ref branching for e2e test plan
This commit is contained in:
parent
92ac23c8bc
commit
931f17ab63
@ -0,0 +1,27 @@
|
|||||||
|
From e8a1fa55ff0892ee2380e832ac94abc629b401d6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Patrik Koncity <pkoncity@redhat.com>
|
||||||
|
Date: Thu, 10 Aug 2023 07:47:04 -0400
|
||||||
|
Subject: [PATCH 2/2] Allow keylime_server_t tcp connect to several domains
|
||||||
|
|
||||||
|
---
|
||||||
|
keylime-selinux-1.2.0/keylime.te | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/keylime-selinux-1.2.0/keylime.te b/keylime-selinux-1.2.0/keylime.te
|
||||||
|
index 8d47d26..8e6487b 100644
|
||||||
|
--- a/keylime-selinux-1.2.0/keylime.te
|
||||||
|
+++ b/keylime-selinux-1.2.0/keylime.te
|
||||||
|
@@ -83,6 +83,10 @@ allow keylime_server_t self:udp_socket create_stream_socket_perms;
|
||||||
|
manage_dirs_pattern(keylime_server_t, keylime_log_t, keylime_log_t)
|
||||||
|
manage_files_pattern(keylime_server_t, keylime_log_t, keylime_log_t)
|
||||||
|
|
||||||
|
+corenet_tcp_connect_http_cache_port(keylime_server_t)
|
||||||
|
+corenet_tcp_connect_mysqld_port(keylime_server_t)
|
||||||
|
+corenet_tcp_connect_postgresql_port(keylime_server_t)
|
||||||
|
+
|
||||||
|
fs_getattr_all_fs(keylime_server_t)
|
||||||
|
fs_rw_inherited_tmpfs_files(keylime_server_t)
|
||||||
|
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
@ -8,7 +8,7 @@ context:
|
|||||||
discover:
|
discover:
|
||||||
how: fmf
|
how: fmf
|
||||||
url: https://github.com/RedHat-SP-Security/keylime-tests
|
url: https://github.com/RedHat-SP-Security/keylime-tests
|
||||||
ref: "main"
|
ref: "@.tmt/dynamic_ref.fmf"
|
||||||
test:
|
test:
|
||||||
- /setup/configure_tpm_emulator
|
- /setup/configure_tpm_emulator
|
||||||
- /setup/inject_SELinux_AVC_check
|
- /setup/inject_SELinux_AVC_check
|
||||||
|
@ -18,6 +18,7 @@ Source1: %{srcname}.sysusers
|
|||||||
Source2: https://github.com/RedHat-SP-Security/%{name}-selinux/archive/v%{policy_version}/keylime-selinux-%{policy_version}.tar.gz
|
Source2: https://github.com/RedHat-SP-Security/%{name}-selinux/archive/v%{policy_version}/keylime-selinux-%{policy_version}.tar.gz
|
||||||
|
|
||||||
Patch: 0001-Remove-usage-of-Required-NotRequired-typing_ext.patch
|
Patch: 0001-Remove-usage-of-Required-NotRequired-typing_ext.patch
|
||||||
|
Patch: 0002-Allow-keylime_server_t-tcp-connect-to-several-domain.patch
|
||||||
|
|
||||||
License: ASL 2.0 and MIT
|
License: ASL 2.0 and MIT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user