From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/1] Cronjobs might create temporary directories
Date: Thu, 22 Sep 2011 20:42:51 +0200 [thread overview]
Message-ID: <20110922184251.GA15227@siphos.be> (raw)
In-Reply-To: <1316678065.374.10.camel@x220.mydomain.internal>
On Thu, Sep 22, 2011 at 09:54:25AM +0200, Dominick Grift wrote:
> I kind of compare the system_gronjob_t to httpd_sys_script_t in a few
> ways. A thing to consider with regard to these generic domains is the
> fact that various processes may run in it, thus share resources (types).
> So in theory things can escalate inside these generic domains.
>
> In the case of httpd, we use the apache_content_template where that
> makes sense. My opinion is that we should do the same for
> system_cronjob_t versus cron_system_entry.
Looking at the privileges that I would need to grant that are specific to
cron, I do not find many to put in such template mechanism for now (unlike
for apache, where the definition is used to differentiate between
readable/read-writeable files, scriptable types (for things like PHP), and
access to common HTTPd types...
If the system_cronjob_t domain is seen more like a "jump board" towards the
application specific domains, I don't mind creating a makewhatis policy
module and work from there onwards.
> Although that is just my view, and looking at the current cron policy i
> can see that this concept is currently not applied there.
>
> In Fedora for example, we have prelink running in a prelink cron script
> domain using the cron_system_entry but in refpolicy that same prelink
> cron script runs in the system_cronjob_t domain (i can see that from the
> various calls in cron.te
It looks like fedora supports both, as I find cron_system_entry() usage for
both prelink_t and prelink_cron_system_t.
Wkr,
Sven Vermeulen
next prev parent reply other threads:[~2011-09-22 18:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-21 19:23 [refpolicy] [PATCH 1/1] Cronjobs might create temporary directories Sven Vermeulen
2011-09-21 20:25 ` Dominick Grift
2011-09-22 6:04 ` Sven Vermeulen
2011-09-22 7:54 ` Dominick Grift
2011-09-22 18:42 ` Sven Vermeulen [this message]
2011-09-23 19:11 ` Sven Vermeulen
2011-09-23 20:26 ` Dominick Grift
2011-09-27 12:49 ` 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=20110922184251.GA15227@siphos.be \
--to=sven.vermeulen@siphos.be \
--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.