接前一篇文章:SELinux refpolicy详解(4)
三、refpolicy内容详解
1. README
文件路径:refpolicy源码根目录/README。
文件内容如下:
1) Reference Policy make targets:General Make targets:install-src Install the policy sources into/etc/selinux/NAME/src/policy, where NAME is defined inthe Makefile. If not defined, the TYPE, as defined inthe Makefile, is used. The default NAME is refpolicy.A pre-existing source policy will be moved to/etc/selinux/NAME/src/policy.bak.conf Regenerate policy.xml, and update/create modules.confand booleans.conf. This should be done after addingor removing modules, or after running the bare target.If the configuration files exist, their settings willbe preserved. This must be ran on policy sources thatare checked ou