selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: russell@coker.com.au (Russell Coker)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] cron_system_entry(gpg_t, gpg_exec_t)
Date: Thu, 14 Jun 2018 23:01:58 +1000	[thread overview]
Message-ID: <2008669.eO35s5s6tf@liv> (raw)

cron_system_entry(gpg_t, gpg_exec_t)

Why do we have this?

gpg is run by cron jobs that write to /var/log, so if we use gpg_t for gpg 
when it's run from those cron jobs we need to allow it access to var_log_t 
which means that user_t can use gpg to access var_log_t.

What benefit do we get from a domain transition when running gpg from a system 
cron job?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

             reply	other threads:[~2018-06-14 13:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 13:01 Russell Coker [this message]
2018-06-16 11:46 ` [refpolicy] cron_system_entry(gpg_t, gpg_exec_t) Chris PeBenito
2018-06-16 11:53 ` Dominick Grift

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=2008669.eO35s5s6tf@liv \
    --to=russell@coker.com.au \
    --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 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 NNTP newsgroup(s).