Related: #2216911 - Adding unconfined_t type to access namespaces
This commit is contained in:
parent
01c7826b04
commit
b33a840a2c
21
frr.if
21
frr.if
@ -183,3 +183,24 @@ 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)
|
||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Read unconfined_t files and dirs
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
ifndef(`unconfined_read_files',`
|
||||||
|
interface(`unconfined_read_files',`
|
||||||
|
gen_require(`
|
||||||
|
type unconfined_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
allow $1 unconfined_t:file read_file_perms;
|
||||||
|
allow $1 unconfined_t:dir list_dir_perms;
|
||||||
|
')
|
||||||
|
')
|
||||||
|
5
frr.spec
5
frr.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: frr
|
Name: frr
|
||||||
Version: 7.5.1
|
Version: 7.5.1
|
||||||
Release: 10%{?checkout}%{?dist}
|
Release: 11%{?checkout}%{?dist}
|
||||||
Summary: Routing daemon
|
Summary: Routing daemon
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.frrouting.org
|
URL: http://www.frrouting.org
|
||||||
@ -274,6 +274,9 @@ make check PYTHON=%{__python3}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 21 2023 Michal Ruprich <mruprich@redhat.com> - 7.5.1-11
|
||||||
|
- Related: #2216911 - Adding unconfined_t type to access namespaces
|
||||||
|
|
||||||
* Thu Aug 17 2023 Michal Ruprich <mruprich@redhat.com> - 7.5.1-10
|
* Thu Aug 17 2023 Michal Ruprich <mruprich@redhat.com> - 7.5.1-10
|
||||||
- Related: #2226803 - Adding patch
|
- Related: #2226803 - Adding patch
|
||||||
|
|
||||||
|
4
frr.te
4
frr.te
@ -108,6 +108,10 @@ optional_policy(`
|
|||||||
logging_send_syslog_msg(frr_t)
|
logging_send_syslog_msg(frr_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
optional_policy(`
|
||||||
|
unconfined_read_files(frr_t)
|
||||||
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
modutils_exec_kmod(frr_t)
|
modutils_exec_kmod(frr_t)
|
||||||
modutils_getattr_module_deps(frr_t)
|
modutils_getattr_module_deps(frr_t)
|
||||||
|
Loading…
Reference in New Issue
Block a user