I am working with a Java app that has been labeled with its own SELinux type. Java executes it as
unconfined_t instead of the labeled type.
Java is labeled as
ls -Z /usr/lib/jvm/java-1.8.0-openjdk-220.127.116.11-3.b13.el7_5.x86_64/jre/bin/java)
ps -efZ | grep java shows it running as
How can I get java to run as
bin_t? How can I get the java app to runwith the correct context?
The goal is to have the application run in it's own context or at least as
bin_t as it is launched by Java.
Distribution is CentOS 7.