aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <chpebeni@linux.microsoft.com>2024-03-05 10:20:13 -0500
committerKenton Groombridge <concord@gentoo.org>2024-05-14 13:41:02 -0400
commit4f530e384d56b9f11d4846e1018c56fe3df86e05 (patch)
tree653c09cf372caad0fac5bdf34dca44c11eef5c31
parentcertbot: Drop execmem. (diff)
downloadhardened-refpolicy-4f530e384d56b9f11d4846e1018c56fe3df86e05.tar.gz
hardened-refpolicy-4f530e384d56b9f11d4846e1018c56fe3df86e05.tar.bz2
hardened-refpolicy-4f530e384d56b9f11d4846e1018c56fe3df86e05.zip
cockpit: Change $1_cockpit_tmpfs_t to a tmpfs file type.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com> Signed-off-by: Kenton Groombridge <concord@gentoo.org>
-rw-r--r--policy/modules/services/cockpit.if2
1 files changed, 1 insertions, 1 deletions
diff --git a/policy/modules/services/cockpit.if b/policy/modules/services/cockpit.if
index 4c452484..1a13f4e5 100644
--- a/policy/modules/services/cockpit.if
+++ b/policy/modules/services/cockpit.if
@@ -46,7 +46,7 @@
template(`cockpit_role_template',`
type $1_cockpit_tmpfs_t;
- files_runtime_file($1_cockpit_tmpfs_t)
+ files_tmpfs_file($1_cockpit_tmpfs_t)
dev_filetrans($2, $1_cockpit_tmpfs_t, file)
allow $2 $1_cockpit_tmpfs_t:file { manage_file_perms execute };