All of lore.kernel.org
 help / color / mirror / Atom feed
From: domg472@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/1] Without allow siginh, we get a huge timeout wait period (15 seconds)
Date: Sun, 06 Feb 2011 17:48:03 +0100	[thread overview]
Message-ID: <4D4ED0C3.90506@gmail.com> (raw)
In-Reply-To: <20110206151633.GA13056@siphos.be>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/06/2011 04:16 PM, Sven Vermeulen wrote:
> We need to allow siginh; without it, xinit waits for 15 seconds
> before continuing (not really user friendly), even though the system
> functions properly afterwards.
> 
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
>  policy/modules/services/xserver.if |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/policy/modules/services/xserver.if b/policy/modules/services/xserver.if
> index da2601a..01274b4 100644
> --- a/policy/modules/services/xserver.if
> +++ b/policy/modules/services/xserver.if
> @@ -142,6 +142,8 @@ interface(`xserver_role',`
>  	allow $2 xserver_t:shm rw_shm_perms;
>  	allow $2 xserver_tmpfs_t:file rw_file_perms;
>  
> +	allow $2 xserver_t:process { siginh };

nit: no brace expansion needed, nothing to expand here.

> +
>  	allow $2 iceauth_home_t:file manage_file_perms;
>  	allow $2 iceauth_home_t:file { relabelfrom relabelto };
>  

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk1O0MMACgkQMlxVo39jgT9MtACeLpmJxCVKdiigm6vmTAxWfCOE
pHMAoJBJdi/lE+QQFDA4lEQU9/1nnvic
=qHv2
-----END PGP SIGNATURE-----

  reply	other threads:[~2011-02-06 16:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06 15:16 [refpolicy] [PATCH 1/1] Without allow siginh, we get a huge timeout wait period (15 seconds) Sven Vermeulen
2011-02-06 16:48 ` Dominick Grift [this message]
2011-02-14 14:44 ` Christopher J. PeBenito
2011-02-14 19:03   ` Sven Vermeulen
2011-02-16 14:31     ` Christopher J. PeBenito
2011-02-16 14:45       ` Christopher J. PeBenito
2011-02-16 14:59     ` Stephen Smalley
2011-02-22 20:30   ` [refpolicy] [PATCH v2 " Sven Vermeulen
2011-03-03 14:22     ` Christopher J. PeBenito

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=4D4ED0C3.90506@gmail.com \
    --to=domg472@gmail.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.