Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /etc
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/etc/ppp				-d	gen_context(system_u:object_r:pppd_etc_t,s0)
Chris PeBenito 17de1b
/etc/ppp/.*			--	gen_context(system_u:object_r:pppd_etc_rw_t,s0)
Chris PeBenito 17de1b
/etc/ppp/.*secrets		--	gen_context(system_u:object_r:pppd_secret_t,s0)
Chris PeBenito 17de1b
/etc/ppp/resolv\.conf 		--	gen_context(system_u:object_r:pppd_etc_rw_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Fix /etc/ppp {up,down} family scripts (see man pppd)
Chris PeBenito 17de1b
/etc/ppp/(auth|ip(v6|x)?)-(up|down) --	gen_context(system_u:object_r:pppd_script_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /usr
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/usr/sbin/pppd			--	gen_context(system_u:object_r:pppd_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/pptp 			--	gen_context(system_u:object_r:pptp_exec_t,s0)
Chris PeBenito 17de1b
/usr/sbin/ipppd			--	gen_context(system_u:object_r:pppd_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /var
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/var/run/(i)?ppp.*pid		--	gen_context(system_u:object_r:pppd_var_run_t,s0)
Chris PeBenito 17de1b
/var/run/pppd[0-9]*\.tdb		--	gen_context(system_u:object_r:pppd_var_run_t,s0)
Chris PeBenito 17de1b
/var/run/ppp(/.*)?			gen_context(system_u:object_r:pppd_var_run_t,s0)
Chris PeBenito 17de1b
# Fix pptp sockets
Chris PeBenito 17de1b
/var/run/pptp(/.*)?			gen_context(system_u:object_r:pptp_var_run_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/var/log/ppp-connect-errors.*	--	gen_context(system_u:object_r:pppd_log_t,s0)
Chris PeBenito 17de1b
/var/log/ppp/.*			--	gen_context(system_u:object_r:pppd_log_t,s0)
Chris PeBenito 17de1b