SWIG Selinux Context class
Comparison excluding MCS label
@param other [Context_s_t] context being compared against
# File lib/openshift-origin-node/utils/selinux.rb, line 31 def <=>(other) test = Selinux.context_user_get(self) <=> Selinux.context_user_get(other) return test unless 0 == test test = Selinux.context_role_get(self) <=> Selinux.context_role_get(other) return test unless 0 == test Selinux.context_type_get(self) <=> Selinux.context_type_get(other) end
Generated with the Darkfish Rdoc Generator 2.