Chris PeBenito 17de1b
Chris PeBenito 17de1b
policy_module(mls,1.3.1)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute mlsfileread;
Chris PeBenito 17de1b
attribute mlsfilereadtoclr;
Chris PeBenito 17de1b
attribute mlsfilewrite;
Chris PeBenito 17de1b
attribute mlsfilewritetoclr;
Chris PeBenito 17de1b
attribute mlsfileupgrade;
Chris PeBenito 17de1b
attribute mlsfiledowngrade;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute mlsnetread;
Chris PeBenito 17de1b
attribute mlsnetreadtoclr;
Chris PeBenito 17de1b
attribute mlsnetwrite;
Chris PeBenito 17de1b
attribute mlsnetwritetoclr;
Chris PeBenito 17de1b
attribute mlsnetupgrade;
Chris PeBenito 17de1b
attribute mlsnetdowngrade;
Chris PeBenito 17de1b
attribute mlsnetrecvall;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute mlsipcread;
Chris PeBenito 17de1b
attribute mlsipcreadtoclr;
Chris PeBenito 17de1b
attribute mlsipcwrite;
Chris PeBenito 17de1b
attribute mlsipcwritetoclr;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute mlsprocread;
Chris PeBenito 17de1b
attribute mlsprocreadtoclr;
Chris PeBenito 17de1b
attribute mlsprocwrite;
Chris PeBenito 17de1b
attribute mlsprocwritetoclr;
Chris PeBenito 17de1b
attribute mlsprocsetsl;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute mlsxwinread;
Chris PeBenito 17de1b
attribute mlsxwinreadtoclr;
Chris PeBenito 17de1b
attribute mlsxwinwrite;
Chris PeBenito 17de1b
attribute mlsxwinwritetoclr;
Chris PeBenito 17de1b
attribute mlsxwinreadproperty;
Chris PeBenito 17de1b
attribute mlsxwinwriteproperty;
Chris PeBenito 17de1b
attribute mlsxwinreadcolormap;
Chris PeBenito 17de1b
attribute mlsxwinwritecolormap;
Chris PeBenito 17de1b
attribute mlsxwinwritexinput;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute mlstrustedobject;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
attribute privrangetrans;
Chris PeBenito 17de1b
attribute mlsrangetrans;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# THIS IS A HACK
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Only the base module can have range_transitions, so we
Chris PeBenito 17de1b
# temporarily have to break encapsulation to work around this.
Chris PeBenito 17de1b
# Other types are declared in the mcs module.
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type lvm_exec_t;
Chris PeBenito 17de1b
type run_init_t;
Chris PeBenito 17de1b
type setrans_exec_t;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`enable_mls',`
Chris PeBenito 17de1b
range_transition initrc_t auditd_exec_t s15:c0.c255;
Chris PeBenito 17de1b
range_transition kernel_t init_exec_t s0 - s15:c0.c255;
Chris PeBenito 17de1b
range_transition kernel_t lvm_exec_t s0 - s15:c0.c255;
Chris PeBenito 17de1b
range_transition initrc_t setrans_exec_t s15:c0.c255;
Chris PeBenito 17de1b
range_transition run_init_t initrc_exec_t s0 - s15:c0.c255;
Chris PeBenito 17de1b
')