[root@dywang ~]# setenforce 0 [root@dywang ~]# getenforce Permissive
[root@dywang ~]# echo '' > /var/log/audit/audit.log [root@dywang ~]# /etc/init.d/auditd restart
<run the tex equation from web>
[root@dywang ~]# setenforce 1
[root@dywang ~]# cat /var/log/audit/audit.log|audit2allow -M httplatex
[root@dywang ~]# checkmodule -M -m -o httpjava.mod httpjava.te
[root@dywang ~]# semodule package -o httpjava.pp -m httpjava.mod
[root@dywang ~]# semodule -i httplatex.pp
[root@dywang ~]# semodule -l | grep http httpdsudo 1.0 httpjava 1.0 httplatex 1.0
[root@dywang ~]# semodule -r httplatex