xref: /aosp_15_r20/external/selinux/mcstrans/share/examples/urcsts-via-include/README (revision 2d543d20722ada2425b5bdab9d0d1d29470e7bba)
1*2d543d20SAndroid Build Coastguard WorkerSimple handling of
2*2d543d20SAndroid Build Coastguard Worker UNCLASSIFIED
3*2d543d20SAndroid Build Coastguard Worker RESTRICTED
4*2d543d20SAndroid Build Coastguard Worker CONFIDENTIAL
5*2d543d20SAndroid Build Coastguard Worker SECRET
6*2d543d20SAndroid Build Coastguard Worker TOP SECRET
7*2d543d20SAndroid Build Coastguard Workervia include files
8*2d543d20SAndroid Build Coastguard Worker
9*2d543d20SAndroid Build Coastguard WorkerTo use:
10*2d543d20SAndroid Build Coastguard Workercp -L setrans.conf /etc/selinux/mls/
11*2d543d20SAndroid Build Coastguard Workercp -L secolor.conf /etc/selinux/mls/
12*2d543d20SAndroid Build Coastguard Workerrm -f /etc/selinux/mls/setrans.d/*
13*2d543d20SAndroid Build Coastguard Workercp setrans.d/*  /etc/selinux/mls/setrans.d
14*2d543d20SAndroid Build Coastguard Workerrun_init /etc/init.d/mcstrans restart
15*2d543d20SAndroid Build Coastguard Worker
16*2d543d20SAndroid Build Coastguard WorkerTo test:
17*2d543d20SAndroid Build Coastguard Worker/usr/share/mcstrans/util/mlstrans-test urcsts.test
18