selinux-policy/policy/modules/services/ppp.fc

36 lines
1.2 KiB
Plaintext
Raw Normal View History

2005-10-14 20:00:07 +00:00
#
# /etc
#
/etc/ppp -d gen_context(system_u:object_r:pppd_etc_t,s0)
/etc/ppp(/.*)? -- gen_context(system_u:object_r:pppd_etc_rw_t,s0)
/etc/ppp/peers(/.*)? gen_context(system_u:object_r:pppd_etc_rw_t,s0)
2005-10-14 20:00:07 +00:00
/etc/ppp/.*secrets -- gen_context(system_u:object_r:pppd_secret_t,s0)
/etc/ppp/resolv\.conf -- gen_context(system_u:object_r:pppd_etc_rw_t,s0)
# Fix /etc/ppp {up,down} family scripts (see man pppd)
/etc/ppp/(auth|ip(v6|x)?)-(up|down) -- gen_context(system_u:object_r:pppd_script_exec_t,s0)
#
# /sbin
#
/sbin/ppp-watch -- gen_context(system_u:object_r:pppd_exec_t,s0)
2005-10-14 20:00:07 +00:00
#
# /usr
#
/usr/sbin/pppd -- gen_context(system_u:object_r:pppd_exec_t,s0)
/usr/sbin/pptp -- gen_context(system_u:object_r:pptp_exec_t,s0)
/usr/sbin/ipppd -- gen_context(system_u:object_r:pppd_exec_t,s0)
#
# /var
#
/var/run/(i)?ppp.*pid -- gen_context(system_u:object_r:pppd_var_run_t,s0)
/var/run/pppd[0-9]*\.tdb -- gen_context(system_u:object_r:pppd_var_run_t,s0)
2005-11-10 14:47:02 +00:00
/var/run/ppp(/.*)? gen_context(system_u:object_r:pppd_var_run_t,s0)
2005-10-14 20:00:07 +00:00
# Fix pptp sockets
/var/run/pptp(/.*)? gen_context(system_u:object_r:pptp_var_run_t,s0)
/var/log/ppp-connect-errors.* -- gen_context(system_u:object_r:pppd_log_t,s0)
/var/log/ppp/.* -- gen_context(system_u:object_r:pppd_log_t,s0)