* [refpolicy] [PATCH] dmesg: Grant read access to /usr/share/terminfo
@ 2017-11-18 4:37 Luis Ressel
2017-11-18 10:55 ` Chris PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Luis Ressel @ 2017-11-18 4:37 UTC (permalink / raw)
To: refpolicy
To determine whether the $TERM supports colored output, dmesg checks the
terminfo database, which can be either in /etc or /usr/share.
---
policy/modules/admin/dmesg.te | 1 +
1 file changed, 1 insertion(+)
diff --git a/policy/modules/admin/dmesg.te b/policy/modules/admin/dmesg.te
index eb559001..09b46beb 100644
--- a/policy/modules/admin/dmesg.te
+++ b/policy/modules/admin/dmesg.te
@@ -38,6 +38,7 @@ term_dontaudit_use_console(dmesg_t)
domain_use_interactive_fds(dmesg_t)
files_list_etc(dmesg_t)
+files_read_usr_files(dmesg_t)
init_use_fds(dmesg_t)
init_use_script_ptys(dmesg_t)
--
2.15.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [refpolicy] [PATCH] dmesg: Grant read access to /usr/share/terminfo
2017-11-18 4:37 [refpolicy] [PATCH] dmesg: Grant read access to /usr/share/terminfo Luis Ressel
@ 2017-11-18 10:55 ` Chris PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Chris PeBenito @ 2017-11-18 10:55 UTC (permalink / raw)
To: refpolicy
On 11/17/2017 11:37 PM, Luis Ressel via refpolicy wrote:
> To determine whether the $TERM supports colored output, dmesg checks the
> terminfo database, which can be either in /etc or /usr/share.
> ---
> policy/modules/admin/dmesg.te | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/policy/modules/admin/dmesg.te b/policy/modules/admin/dmesg.te
> index eb559001..09b46beb 100644
> --- a/policy/modules/admin/dmesg.te
> +++ b/policy/modules/admin/dmesg.te
> @@ -38,6 +38,7 @@ term_dontaudit_use_console(dmesg_t)
> domain_use_interactive_fds(dmesg_t)
>
> files_list_etc(dmesg_t)
> +files_read_usr_files(dmesg_t)
>
> init_use_fds(dmesg_t)
> init_use_script_ptys(dmesg_t)
Merged.
--
Chris PeBenito
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-18 10:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-18 4:37 [refpolicy] [PATCH] dmesg: Grant read access to /usr/share/terminfo Luis Ressel
2017-11-18 10:55 ` Chris PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.