cat allow.sh
grep $1 /var/log/audit/audit.log | audit2allow -M $1
checkmodule -M -m -o $1.mod $1.te
semodule_package -o $1.pp -m $1.mod
semodule -i $1.pp
./allow.sh httpd
cat allow.sh
grep $1 /var/log/audit/audit.log | audit2allow -M $1
checkmodule -M -m -o $1.mod $1.te
semodule_package -o $1.pp -m $1.mod
semodule -i $1.pp
./allow.sh httpd