Skip to content

Commit

Permalink
selinux
Browse files Browse the repository at this point in the history
Signed-off-by: fufesou <shuanglongchen@yeah.net>
  • Loading branch information
fufesou committed Oct 22, 2023
1 parent b54fdc5 commit df7d58e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/client/linux/SELinux/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions content/client/linux/SELinux/_index.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df7d58e

Please sign in to comment.