From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] Dontaudit screen asking for the sys_tty_config capability
Date: Mon, 3 Mar 2014 09:07:36 -0500 [thread overview]
Message-ID: <53148CA8.8070700@tresys.com> (raw)
In-Reply-To: <1392560294-4180-1-git-send-email-aranea@aixah.de>
On 2/16/2014 9:18 AM, Luis Ressel wrote:
> This avc shows up when using screen as root, however screen seems to
> work fine without that permission.
> ---
> screen.if | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/screen.if b/screen.if
> index be5cce2..08c8978 100644
> --- a/screen.if
> +++ b/screen.if
> @@ -54,6 +54,8 @@ template(`screen_role_template',`
> dontaudit $3 $1_screen_t:unix_stream_socket { read write };
> allow $1_screen_t $3:process signal;
>
> + dontaudit $1_screen_t self:capability sys_tty_config;
> +
> allow $3 screen_tmp_t:dir { manage_dir_perms relabel_dir_perms };
> allow $3 screen_tmp_t:file { manage_file_perms relabel_file_perms };
> allow $3 screen_tmp_t:fifo_file { manage_fifo_file_perms relabel_fifo_file_perms };
Merged.
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
prev parent reply other threads:[~2014-03-03 14:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-16 14:18 [refpolicy] [PATCH] Dontaudit screen asking for the sys_tty_config capability Luis Ressel
2014-03-03 14:07 ` Christopher J. PeBenito [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53148CA8.8070700@tresys.com \
--to=cpebenito@tresys.com \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.