diff --git a/content/client/linux/SELinux/_index.en.md b/content/client/linux/SELinux/_index.en.md index f5b8116f..5d50c557 100644 --- a/content/client/linux/SELinux/_index.en.md +++ b/content/client/linux/SELinux/_index.en.md @@ -133,6 +133,8 @@ In this example, this file mainly comes from 3 parts: 2. Audit log, `grep rustdesk /var/log/audit/audit.log | audit2allow -a -M test`. 3. The test system's `init_t` policy, `sesearch -A | grep 'allow init_t ' | sed 's/allow init_t /allow rustdesk_t /g'`. +Some policies are duplicates and some are redundant, but this is ok since it works on rustdesk_t. + The contents of each file are as follows. rustdes.te: diff --git a/content/client/linux/SELinux/_index.zh-cn.md b/content/client/linux/SELinux/_index.zh-cn.md index e117c4e3..29f3ba87 100644 --- a/content/client/linux/SELinux/_index.zh-cn.md +++ b/content/client/linux/SELinux/_index.zh-cn.md @@ -133,6 +133,8 @@ $ sudo semodule -l | grep rustdesk 2. audit 日志,`grep rustdesk /var/log/audit/audit.log | audit2allow -a -M test`。 3. 测试系统的 `init_t` 策略,`sesearch -A | grep 'allow init_t ' | sed 's/allow init_t /allow rustdesk_t /g'`。 +一些策略是重复的,一些策略是多余的,但这是可以接受的,因为它对 rustdesk_t 起作用。 + 各个文件内容如下。 rustdes.te: