SELinux refpolicy详解(8)

接前一篇文章:SELinux refpolicy详解(7)

三、refpolicy内容详解

上一回(上几回)讲解完了refpolicy源码根目录下的README文件。本回继续讲解源码根目录下的其它文件。第二个来讲解在README文件中提到的build.conf文件。

2. build.conf

文件路径:refpolicy源码根目录/build.conf。

文件内容如下:

########################################
#
# Policy build options
#

# Policy version
# By default, checkpolicy will create the highest
# version policy it supports.  Setting this will
# override the version.  This only has an
# effect for monolithic policies.
#OUTPUT_POLICY = 33

# Policy Type
# standard, mls, mcs
TYPE = standard

# Policy Name
# If set, this will be used as the policy
# name.  Otherwise the policy type will be
# used for the name.
NAME = refpolicy

# Distribution
# Some distributions have portions of policy
# for progra

你可能感兴趣的:(SELinux,SELinux)