selinux-policy/policy/modules/services/openvpn.if
2006-12-12 20:08:08 +00:00

25 lines
551 B
Plaintext

## <summary>full-featured SSL VPN solution</summary>
########################################
## <summary>
## Allow the specified domain to read
## OpenVPN configuration files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`openvpn_read_config',`
gen_require(`
type openvpn_etc_t;
')
files_search_etc($1)
allow $1 openvpn_etc_t:dir list_dir_perms;
read_files_pattern($1,openvpn_etc_t,openvpn_etc_t)
read_lnk_files_pattern($1,openvpn_etc_t,openvpn_etc_t)
')