加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Define-named-file-transition-for-sshd-on-tmp-krb5_0..patch 842 Bytes
一键复制 编辑 原始数据 按行查看 历史
luhuaxin 提交于 2021-05-31 16:38 . backport some upstream patches
From 5d5feca5ce10b7b4f45c44431c8c258685eeef61 Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Tue, 11 Aug 2020 22:15:55 +0200
Reference: https://github.com/fedora-selinux/selinux-policy/commit/5d5feca5ce10b7b4f45c44431c8c258685eeef61
Conflict: NA
Subject: [PATCH] Define named file transition for sshd on /tmp/krb5_0.rcache2
---
policy/modules/services/ssh.te | 1 +
1 file changed, 1 insertion(+)
diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te
index 7b09f29..b06cc76 100644
--- a/policy/modules/services/ssh.te
+++ b/policy/modules/services/ssh.te
@@ -380,6 +380,7 @@ optional_policy(`
optional_policy(`
kerberos_read_keytab(sshd_t)
+ kerberos_tmp_filetrans_host_rcache(sshd_t, "krb5_0.rcache2")
kerberos_use(sshd_t)
kerberos_write_kadmind_tmp_files(sshd_t)
')
--
1.8.3.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化