android13/external/selinux/mcstrans/share/examples/urcsts-via-include
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
setrans.d initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
secolor.conf initial 2024-06-22 20:45:49 +08:00
setrans.conf initial 2024-06-22 20:45:49 +08:00
urcsts.color initial 2024-06-22 20:45:49 +08:00
urcsts.test initial 2024-06-22 20:45:49 +08:00

README

Simple handling of
 UNCLASSIFIED
 RESTRICTED
 CONFIDENTIAL
 SECRET
 TOP SECRET
via include files

To use:
cp -L setrans.conf /etc/selinux/mls/
cp -L secolor.conf /etc/selinux/mls/
rm -f /etc/selinux/mls/setrans.d/*
cp setrans.d/*  /etc/selinux/mls/setrans.d
run_init /etc/init.d/mcstrans restart

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