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