All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/2] Add fcontext for sshd pidfile and directory used for privsep
Date: Thu, 6 Feb 2014 09:03:47 -0500	[thread overview]
Message-ID: <52F39643.3050908@tresys.com> (raw)
In-Reply-To: <20140206125701.03228b71@soldur.bigon.be>

On 02/06/14 06:57, Laurent Bigonville wrote:
> Le Wed,  5 Feb 2014 22:23:31 +0100,
> Laurent Bigonville <bigon@debian.org> a ?crit :
> 
> [...]
> 
> diff --git
>> a/policy/modules/services/ssh.if b/policy/modules/services/ssh.if
>> index fe0c682..48eb1c8 100644 --- a/policy/modules/services/ssh.if
>> +++ b/policy/modules/services/ssh.if @@ -196,6 +196,7 @@
>> template(`ssh_server_template', ` manage_files_pattern($1_t,
>> $1_tmpfs_t, $1_tmpfs_t) fs_tmpfs_filetrans($1_t, $1_tmpfs_t, file)
>>  
>> +	allow $1_t $1_var_run_t:dir search_dir_perms;
>>  	allow $1_t $1_var_run_t:file manage_file_perms;
>>  	files_pid_filetrans($1_t, $1_var_run_t, file)
>>  
> 
> Or maybe this should be conditional for debian only?

No, its fine.  Actually I was thinking that perhaps the init_daemon_run_dir() should become unconditional instead, since we have the fc entries.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

  reply	other threads:[~2014-02-06 14:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 21:23 [refpolicy] [PATCH 1/2] Add fcontext for sshd pidfile and directory used for privsep Laurent Bigonville
2014-02-05 21:23 ` [refpolicy] [PATCH 2/2] Move the ifdef at the end of the declaration block Laurent Bigonville
2014-02-06 14:03   ` Christopher J. PeBenito
2014-02-06 11:57 ` [refpolicy] [PATCH 1/2] Add fcontext for sshd pidfile and directory used for privsep Laurent Bigonville
2014-02-06 14:03   ` Christopher J. PeBenito [this message]
2014-02-06 14:03 ` Christopher J. PeBenito
  -- strict thread matches above, loose matches on Subject: below --
2014-01-25 10:43 Laurent Bigonville
2014-01-27 18:23 ` Christopher J. PeBenito
2014-01-27 22:18   ` Laurent Bigonville
2014-02-01  3:02     ` 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=52F39643.3050908@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.