mls.py | 26 # qpol does not expose an equivalent of a sensitivity declaration. 35 # since it has the sensitivity name, dominance, and there 36 # is a 1:1 correspondence between the sensitivity declarations 71 """Factory function for creating MLS sensitivity objects.""" 76 if isinstance(sym, Sensitivity): 83 return Sensitivity(policy, sym) 86 return Sensitivity(policy, qpol.qpol_level_t(policy, str(sym))) 88 raise exception.InvalidSensitivity("{0} is not a valid sensitivity".format(sym)) 112 raise exception.InvalidLevel("{0} is not a valid level ({1} is not a valid sensitivity)". 146 "sensitivity)".format(sym) 308 def sensitivity(self): member in class:BaseMLSLevel 364 def sensitivity(self): member in class:LevelDecl 419 def sensitivity(self): member in class:Level [all...] |