SELinux 案例 1
deamon 进程的权限白名单
Generate Policy for Internet Services Daemon,生成一个模板:
sepolicy generate --inetd [-n NAME] command [-w WRITE_PATH ]
代码见https://github.com/xiaoxiaoleo/SELinux-Example
待续..
--- --- --- --- From 小小leo 的博客 --- --- --- ---