aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'html/selinux/hb-using-policies.html')
-rw-r--r--html/selinux/hb-using-policies.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/html/selinux/hb-using-policies.html b/html/selinux/hb-using-policies.html
index a40c051..0163b42 100644
--- a/html/selinux/hb-using-policies.html
+++ b/html/selinux/hb-using-policies.html
@@ -41,7 +41,10 @@ additional SELinux policy modules. Only when the core policy (the base policy)
is not to your liking should you see on using a totally different policy.
</p>
<p>
-Let's start with a skeleton for a policy module we'll call <span class="emphasis">testmod</span>.
+Let's start with a skeleton for a policy module we'll call <span class="emphasis">testmod</span>. You
+should use simple names for the modules as the build infrastructure is quite
+sensitive to special constructs. Use only letters a-z and numbers, and never
+start a module name with a number.
</p>
<a name="doc_chap1_pre1"></a><table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td bgcolor="#7a5ada"><p class="codetitle">Code Listing1.1: Policy module skeleton</p></td></tr>
@@ -331,9 +334,14 @@ from firefox-related denials:
# <span class="code-input">semodule -i firefoxmod.pp</span>
</pre></td></tr>
</table>
+<p>
+Keep the module name (given through the <span class="code" dir="ltr">-m</span> option) simple: only use
+characters (<span class="code" dir="ltr">[a-z]</span>) and numbers (<span class="code" dir="ltr">[0-9]</span>), and start the module name
+with a character.
+</p>
</td>
<td width="1%" bgcolor="#dddaec" valign="top"><table border="0" cellspacing="4px" cellpadding="4px">
-<tr><td class="topsep" align="center"><p class="alttext">Updated October 15, 2011</p></td></tr>
+<tr><td class="topsep" align="center"><p class="alttext">Page updated March 1, 2012</p></td></tr>
<tr lang="en"><td align="center" class="topsep">
<p class="alttext"><b>Donate</b> to support our development efforts.
</p>
@@ -345,7 +353,7 @@ from firefox-related denials:
</table></td>
</tr></table></td></tr>
<tr><td colspan="2" align="right" class="infohead">
-Copyright 2001-2011 Gentoo Foundation, Inc. Questions, Comments? <a class="highlight" href="http://www.gentoo.org/main/en/contact.xml">Contact us</a>.
+Copyright 2001-2012 Gentoo Foundation, Inc. Questions, Comments? <a class="highlight" href="http://www.gentoo.org/main/en/contact.xml">Contact us</a>.
</td></tr>
</table></body>
</html>