mls policy comments
I believe that every attribute should have a comment explaining it's purpose.
I've attached a patch that adds comments for some of the MLS attributes. I'm sure that someone on this list can do better, so please feel free to follow-up with a patch that you believe better explains it.
Signature · 4 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page
mls renamed from mls.orig +23 -1
@@ -733,16 +733,38 @@ # these access vectors have no MLS restrictions # association { sendto recvfrom } +# Read files and search directories that have a classification higher than +# subject clearance attribute mlsfileread; +# Read files and search directories with a classification higher than the +# effective clearance but not higher than the clearance attribute mlsfilereadtoclr; +# Write files and directories in situations where MLS normally denies writes attribute mlsfilewrite; +# Write files and directories where clearance of the subject dominates the +# classification of the file/dir and the classification of the file/dir +# dominates the effective clearance of the subject. attribute mlsfilewritetoclr; +# Increase the classification and/or effective classification of the object +# regardless of the clearance of the subject. attribute mlsfileupgrade; +# Decrease the classification and/or effective classification of the object +# regardless of the clearance of the subject. NB An new label with an +# incomparable effective classification and an equal classification is +# considered a downgrade as is an incomparable classification attribute mlsfiledowngrade; - +# Read network data with a lower effective classification than the effective +# clearance of the process attribute mlsnetread; +# Read network data with a lower effective classification than the effective +# clearance of the process when the classification of the process is higher attribute mlsnetreadtoclr; +# Write network data with a higher effective classification or with a +# classification higher than the clearance of the subject attribute mlsnetwrite; +# Write network data where the clearance of the process dominates the +# effective classification of the data and the effective classification of +# the data dominates the effective clearance of the subject. attribute mlsnetwritetoclr; attribute mlsnetupgrade; attribute mlsnetdowngrade;