From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>,
SE Linux <selinux@tycho.nsa.gov>
Subject: ccs uses tmp files.
Date: Fri, 23 Mar 2007 16:05:38 -0400 [thread overview]
Message-ID: <46043312.7050105@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: ccs.patch --]
[-- Type: text/x-patch, Size: 883 bytes --]
--- nsaserefpolicy/policy/modules/services/ccs.te 2007-03-20 23:38:06.000000000 -0400
+++ serefpolicy-2.5.10/policy/modules/services/ccs.te 2007-03-22 15:06:59.000000000 -0400
@@ -10,10 +10,14 @@
type ccs_exec_t;
init_daemon_domain(ccs_t, ccs_exec_t)
-# pid files
+# conf files
type cluster_conf_t;
files_type(cluster_conf_t)
+# tmp files
+type ccs_tmp_t;
+files_tmp_file(ccs_tmp_t)
+
# log files
type ccs_var_log_t;
logging_log_file(ccs_var_log_t)
@@ -45,6 +49,12 @@
manage_files_pattern(ccs_t,cluster_conf_t,cluster_conf_t)
+# tmp file
+allow ccs_t ccs_tmp_t:dir manage_dir_perms;
+manage_dirs_pattern(ccs_t,ccs_tmp_t,ccs_tmp_t)
+manage_files_pattern(ccs_t,ccs_tmp_t,ccs_tmp_t)
+files_tmp_filetrans(ccs_t, ccs_tmp_t, { file dir })
+
# log files
manage_files_pattern(ccs_t,ccs_var_log_t,ccs_var_log_t)
manage_sock_files_pattern(ccs_t,ccs_var_log_t,ccs_var_log_t)
next reply other threads:[~2007-03-23 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 20:05 Daniel J Walsh [this message]
2007-04-10 13:06 ` ccs uses tmp files 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=46043312.7050105@redhat.com \
--to=dwalsh@redhat.com \
--cc=cpebenito@tresys.com \
--cc=selinux@tycho.nsa.gov \
/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.