/usr/lib/python3.6/site-packages/sepolicy/help
NameSizeModeActions
__pycache__/-0755rm
booleans.png727490644editdlrm
booleans.txt4780644editdlrm
booleans_more.png623480644editdlrm
booleans_more.txt1930644editdlrm
booleans_more_show.png349480644editdlrm
booleans_more_show.txt620644editdlrm
booleans_toggled.png619580644editdlrm
booleans_toggled.txt3100644editdlrm
files_apps.png819780644editdlrm
files_apps.txt5630644editdlrm
files_exec.png678660644editdlrm
files_exec.txt3980644editdlrm
files_write.png777730644editdlrm
files_write.txt5670644editdlrm
file_equiv.png492210644editdlrm
file_equiv.txt11810644editdlrm
lockdown.png505990644editdlrm
lockdown.txt2910644editdlrm
lockdown_permissive.png300250644editdlrm
lockdown_permissive.txt7220644editdlrm
lockdown_ptrace.png293360644editdlrm
lockdown_ptrace.txt12490644editdlrm
lockdown_unconfined.png274730644editdlrm
lockdown_unconfined.txt8670644editdlrm
login.png401020644editdlrm
login.txt7860644editdlrm
login_default.png416800644editdlrm
login_default.txt5070644editdlrm
ports_inbound.png589940644editdlrm
ports_inbound.txt3360644editdlrm
ports_outbound.png529790644editdlrm
ports_outbound.txt3460644editdlrm
start.png141280644editdlrm
start.txt5050644editdlrm
system.png506010644editdlrm
system.txt810644editdlrm
system_boot_mode.png526740644editdlrm
system_boot_mode.txt4580644editdlrm
system_current_mode.png526410644editdlrm
system_current_mode.txt3440644editdlrm
system_export.png532100644editdlrm
system_export.txt4160644editdlrm
system_policy_type.png546310644editdlrm
system_policy_type.txt4100644editdlrm
system_relabel.png528670644editdlrm
system_relabel.txt3990644editdlrm
transition_file.png697790644editdlrm
transition_file.txt10500644editdlrm
transition_from.png632310644editdlrm
transition_from.txt6190644editdlrm
transition_from_boolean.png673290644editdlrm
transition_from_boolean.txt4630644editdlrm
transition_from_boolean_1.png717170644editdlrm
transition_from_boolean_1.txt2350644editdlrm
transition_from_boolean_2.png322190644editdlrm
transition_from_boolean_2.txt1320644editdlrm
transition_to.png589090644editdlrm
transition_to.txt6050644editdlrm
users.png576220644editdlrm
users.txt8140644editdlrm
__init__.py00644editdlrm
Edit: /usr/lib/python3.6/site-packages/sepolicy/help/file_equiv.txt (1181B)
SELinux can either setup labeling directory using the Application/files screen, or you can setup file equivalence. File Equivalence allows an administrator to label entire directory trees as the same way as the Equivalence directory tree. Use Case 1: An administrator want to store his Apache root content in a location other then /var/www like /srv/www. He could define an equivalence between /srv/www and /var/www. libselinux reads the equivalence rules and does the substitution when ever the matchpathcon function is called. Tools like restorecon/rpm/udev and others will all follow the substitution. Using the example above when matchpathcon is handed /srv/www/cgi-bin/myscript.cgi, it substitutes /var/www for /svr/www and looks up the context of /var/www/cgi-bin/myscript.cgi. In the command line you could execute. # semanage fcontext -a -e /var/www /srv/www Another common case where you might want to use file equivalence, is if you put your users home directories in a location other then /home. If you setup an equivalence between /home and /export/home # matchpathcon /export/home/dwalsh/.ssh /export/home/dwalsh/.ssh unconfined_u:object_r:home_ssh_t:s0