selinux/mcstrans/share/examples/urcsts
Vit Mojzis 26e83975d5 Fix mcstrans secolor examples
According to "check_dominance" function:
Range defined as "s15:c0.c1023" does not dominate any other range than
 "s15:c0.c1023" (does not dominate "s15", "s15:c0.c200", etc.).
While range defined as "s15-s15:c0.c1023" dominates all of the above.

This is either a bug, or "s15:c0.c1023" should not be used in the
examples.

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2019-09-16 15:43:24 -04:00
..
README Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
secolor.conf Fix mcstrans secolor examples 2019-09-16 15:43:24 -04:00
setrans.conf Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
urcsts.color Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
urcsts.test Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00

Simple handling of
 UNCLASSIFIED
 RESTRICTED
 CONFIDENTIAL
 SECRET
 TOP SECRET

To use:
cp setrans.conf /etc/selinux/mls/setrans.conf
cp secolor.conf /etc/selinux/mls/
run_init /etc/init.d/mcstrans restart

To test:
/usr/share/mcstrans/util/mlstrans-test urcsts.test
/usr/share/mcstrans/util/mlscolor-test urcsts.color