From: bigon@debian.org (Laurent Bigonville)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] Add insmod_exec_t label for kmod executable
Date: Thu, 13 Sep 2012 13:44:35 +0200 [thread overview]
Message-ID: <1347536675-15671-1-git-send-email-bigon@debian.org> (raw)
From: Laurent Bigonville <bigon@bigon.be>
lsmod, rmmod, insmod, modinfo, modprobe and depmod are now symlinks to
the kmod executable
---
policy/modules/system/modutils.fc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/policy/modules/system/modutils.fc b/policy/modules/system/modutils.fc
index 2410551..31f1378 100644
--- a/policy/modules/system/modutils.fc
+++ b/policy/modules/system/modutils.fc
@@ -20,3 +20,5 @@ ifdef(`distro_gentoo',`
/sbin/modules-update -- gen_context(system_u:object_r:update_modules_exec_t,s0)
/sbin/rmmod.* -- gen_context(system_u:object_r:insmod_exec_t,s0)
/sbin/update-modules -- gen_context(system_u:object_r:update_modules_exec_t,s0)
+
+/(usr/)?bin/kmod -- gen_context(system_u:object_r:insmod_exec_t,s0)
--
1.7.10.4
next reply other threads:[~2012-09-13 11:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-13 11:44 Laurent Bigonville [this message]
2012-10-02 15:01 ` [refpolicy] [PATCH] Add insmod_exec_t label for kmod executable 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=1347536675-15671-1-git-send-email-bigon@debian.org \
--to=bigon@debian.org \
--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.