SELinux-Refpolicy Archive mirror
 help / color / mirror / Atom feed
From: Chris PeBenito <pebenito@ieee.org>
To: Russell Coker <russell@coker.com.au>, selinux-refpolicy@vger.kernel.org
Subject: Re: [PATCH] yet more strict patches
Date: Wed, 13 Jan 2021 08:54:22 -0500	[thread overview]
Message-ID: <e4f1aa88-737c-5aac-1e9b-bdafb17ca3d2@ieee.org> (raw)
In-Reply-To: <X/162MdTzKABQVZ2@xev>

On 1/12/21 5:32 AM, Russell Coker wrote:
> More little strict patches, much of which are needed for KDE.
> 
> Signed-off-by: Russell Coker <russell@coker.com.au>
> 
> Index: refpolicy-2.20201210/policy/modules/system/userdomain.if
> ===================================================================
> --- refpolicy-2.20201210.orig/policy/modules/system/userdomain.if
> +++ refpolicy-2.20201210/policy/modules/system/userdomain.if
> @@ -115,12 +115,16 @@ template(`userdom_base_user_template',`
>   
>   	libs_exec_ld_so($1_t)
>   
> +	logging_send_syslog_msg($1_t)
> +
>   	miscfiles_read_localization($1_t)
>   	miscfiles_read_generic_certs($1_t)
>   	miscfiles_watch_fonts_dirs($1_t)
>   
>   	sysnet_read_config($1_t)
>   
> +	userdom_write_all_user_runtime_named_sockets($1_t)
> +
>   	# kdeinit wants systemd status
>   	init_get_system_status($1_t)

This template is supposed to be the bare minimum to have a user.  I don't think 
these rules fit this design.

-- 
Chris PeBenito

      reply	other threads:[~2021-01-13 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 10:32 [PATCH] yet more strict patches Russell Coker
2021-01-13 13:54 ` Chris 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=e4f1aa88-737c-5aac-1e9b-bdafb17ca3d2@ieee.org \
    --to=pebenito@ieee.org \
    --cc=russell@coker.com.au \
    --cc=selinux-refpolicy@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).