add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

25
pages.zh/linux/secon.md Normal file
View File

@@ -0,0 +1,25 @@
# secon
> 获取文件、进程ID、当前执行上下文或上下文规范的SELinux安全上下文。
> 另请参见:`semanage`、`runcon`、`chcon`。
> 更多信息:<https://manned.org/secon>。
- 获取当前执行上下文的安全上下文:
`secon`
- 获取进程的当前安全上下文:
`secon --pid {{1}}`
- 获取文件的当前安全上下文,解析所有中间的符号链接:
`secon --file {{path/to/file_or_directory}}`
- 获取符号链接本身的当前安全上下文(即不解析):
`secon --link {{path/to/symlink}}`
- 解析并解释上下文规范:
`secon {{system_u:system_r:container_t:s0:c899,c900}}`