SELinux: rename ifconfig_run interfaces to be more specific
The change has no functional impact on the policy. It is just to keep it in sync with the interfaces shipped in selinux-policy-* packages. Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
This commit is contained in:
parent
2228c29472
commit
9c91b908e1
9
frr.if
9
frr.if
@ -181,8 +181,8 @@ interface(`frr_admin',`
|
|||||||
## </summary>
|
## </summary>
|
||||||
## </param>
|
## </param>
|
||||||
#
|
#
|
||||||
ifndef(`sysnet_watch_ifconfig_run',`
|
ifndef(`sysnet_watch_ifconfig_run_dirs',`
|
||||||
interface(`sysnet_watch_ifconfig_run',`
|
interface(`sysnet_watch_ifconfig_run_dirs',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
type ifconfig_var_run_t;
|
type ifconfig_var_run_t;
|
||||||
')
|
')
|
||||||
@ -201,8 +201,8 @@ ifndef(`sysnet_watch_ifconfig_run',`
|
|||||||
## </summary>
|
## </summary>
|
||||||
## </param>
|
## </param>
|
||||||
#
|
#
|
||||||
ifndef(`sysnet_read_ifconfig_run',`
|
ifndef(`sysnet_read_ifconfig_run_files',`
|
||||||
interface(`sysnet_read_ifconfig_run',`
|
interface(`sysnet_read_ifconfig_run_files',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
type ifconfig_var_run_t;
|
type ifconfig_var_run_t;
|
||||||
')
|
')
|
||||||
@ -212,4 +212,3 @@ ifndef(`sysnet_read_ifconfig_run',`
|
|||||||
read_lnk_files_pattern($1, ifconfig_var_run_t, ifconfig_var_run_t)
|
read_lnk_files_pattern($1, ifconfig_var_run_t, ifconfig_var_run_t)
|
||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
|
4
frr.te
4
frr.te
@ -98,8 +98,8 @@ domain_use_interactive_fds(frr_t)
|
|||||||
fs_read_nsfs_files(frr_t)
|
fs_read_nsfs_files(frr_t)
|
||||||
|
|
||||||
sysnet_exec_ifconfig(frr_t)
|
sysnet_exec_ifconfig(frr_t)
|
||||||
sysnet_read_ifconfig_run(frr_t)
|
sysnet_read_ifconfig_run_files(frr_t)
|
||||||
sysnet_watch_ifconfig_run(frr_t)
|
sysnet_watch_ifconfig_run_dirs(frr_t)
|
||||||
|
|
||||||
ipsec_domtrans_mgmt(frr_t)
|
ipsec_domtrans_mgmt(frr_t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user