From: sven.vermeulen@siphos.be (Sven Vermeulen)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH v4 2/4] Use the init_daemon_run_dir interface for udev
Date: Sat, 25 Aug 2012 20:25:36 +0200 [thread overview]
Message-ID: <20120825182536.GC23427@siphos.be> (raw)
In-Reply-To: <20120825182417.GA23427@siphos.be>
Use the init_daemon_run_dir interface in order to allow initrc_t to create the
run dirs of the udev daemon with the proper file transition.
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
policy/modules/system/init.te | 1 -
policy/modules/system/udev.te | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te
index 933f846..e57cff9 100644
--- a/policy/modules/system/init.te
+++ b/policy/modules/system/init.te
@@ -835,7 +835,6 @@ optional_policy(`
optional_policy(`
udev_rw_db(initrc_t)
- udev_generic_pid_filetrans_run_dirs(initrc_t, "udev")
udev_manage_pid_files(initrc_t)
udev_manage_pid_dirs(initrc_t)
udev_manage_rules_files(initrc_t)
diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index ee6b046..41459ec 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -25,6 +25,7 @@ files_type(udev_rules_t)
type udev_var_run_t;
files_pid_file(udev_var_run_t)
+init_daemon_run_dir(udev_var_run_t, "udev")
ifdef(`enable_mcs',`
kernel_ranged_domtrans_to(udev_t, udev_exec_t, s0 - mcs_systemhigh)
--
1.7.8.6
next prev parent reply other threads:[~2012-08-25 18:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-25 18:24 [refpolicy] [PATCH v4 0/4] Support /run/* creation for initrc_t Sven Vermeulen
2012-08-25 18:25 ` [refpolicy] [PATCH v4 1/4] Introduce init_daemon_run_dir transformation Sven Vermeulen
2012-08-25 18:25 ` Sven Vermeulen [this message]
2012-08-25 18:26 ` [refpolicy] [PATCH v4 3/4] Allow initrc_t to create run dirs for core modules Sven Vermeulen
2012-08-25 18:26 ` [refpolicy] [PATCH v4 4/4] Allow initrc_t to create run dirs for contrib modules Sven Vermeulen
2012-08-25 22:42 ` Guido Trentalancia
2012-08-25 22:48 ` Sven Vermeulen
2012-08-29 12:52 ` [refpolicy] [PATCH v4 0/4] Support /run/* creation for initrc_t 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=20120825182536.GC23427@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.