PolicyConfigurationFiles - Revision history http://selinuxproject.org/w/?title=PolicyConfigurationFiles&action=history Revision history for this page on the wiki en MediaWiki 1.23.13 Thu, 28 Mar 2024 11:11:23 GMT RichardHaines at 16:47, 10 December 2014 http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=1727&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=1727&oldid=prev <p></p> <a href="http://selinuxproject.org/w/?title=PolicyConfigurationFiles&amp;diff=1727&amp;oldid=929">Show changes</a> Wed, 10 Dec 2014 16:47:18 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: /* contexts/initrc_context File */ http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=929&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=929&oldid=prev <p>‎<span dir="auto"><span class="autocomment">contexts/initrc_context File</span></span></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 12:54, 13 May 2010</td> </tr><tr><td colspan="2" class="diff-lineno">Line 511:</td> <td colspan="2" class="diff-lineno">Line 511:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">=</del>== contexts/initrc_context File <del class="diffchange diffchange-inline">=</del>==</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== contexts/initrc_context File ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This is used by the run_init(8) command to allow system services to be started in the same security context as init. This file could also be used by other SELinux-aware applications for the same purpose.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This is used by the run_init(8) command to allow system services to be started in the same security context as init. This file could also be used by other SELinux-aware applications for the same purpose.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td colspan="2" class="diff-lineno">Line 546:</td> <td colspan="2" class="diff-lineno">Line 546:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>selinux_context_path</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>selinux_context_path</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== contexts/netfilter_contexts File ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== contexts/netfilter_contexts File ==</div></td></tr> </table> Thu, 13 May 2010 12:54:09 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: /* contexts/default_contexts File */ http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=928&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=928&oldid=prev <p>‎<span dir="auto"><span class="autocomment">contexts/default_contexts File</span></span></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 12:53, 13 May 2010</td> </tr><tr><td colspan="2" class="diff-lineno">Line 315:</td> <td colspan="2" class="diff-lineno">Line 315:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">=</del>== contexts/default_contexts File&#160; <del class="diffchange diffchange-inline">=</del>==</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== contexts/default_contexts File&#160; ==</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Used by SELinux-aware applications that need to set a security context for user processes (generally the login applications) where:</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Used by SELinux-aware applications that need to set a security context for user processes (generally the login applications) where:</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> Thu, 13 May 2010 12:53:39 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: /* setrans.conf File */ http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=927&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=927&oldid=prev <p>‎<span dir="auto"><span class="autocomment">setrans.conf File</span></span></p> <a href="http://selinuxproject.org/w/?title=PolicyConfigurationFiles&amp;diff=927&amp;oldid=926">Show changes</a> Thu, 13 May 2010 12:17:58 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: /* contexts/x_contexts File */ http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=926&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=926&oldid=prev <p>‎<span dir="auto"><span class="autocomment">contexts/x_contexts File</span></span></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:41, 12 May 2010</td> </tr><tr><td colspan="2" class="diff-lineno">Line 615:</td> <td colspan="2" class="diff-lineno">Line 615:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>| &lt;tt&gt;object_name&lt;/tt&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>| &lt;tt&gt;object_name&lt;/tt&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| These are the object names of the specific X-server resource such as &lt;tt&gt;PRIMARY&lt;/tt&gt;, &lt;tt&gt;CUT_BUFFER0&lt;/tt&gt; etc. They are generally defined in the X-server source code (&lt;tt&gt;protocol.txt&lt;/tt&gt; and &lt;tt&gt;BuiltInAtoms &lt;/tt&gt;in the &lt;tt&gt;dix&lt;/tt&gt; directory of the &lt;tt&gt;xorg-server&lt;/tt&gt; source package). &#160;</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| These are the object names of the specific X-server resource such as &lt;tt&gt;PRIMARY&lt;/tt&gt;, &lt;tt&gt;CUT_BUFFER0&lt;/tt&gt; etc. They are generally defined in the X-server source code (&lt;tt&gt;protocol.txt&lt;/tt&gt; and &lt;tt&gt;BuiltInAtoms &lt;/tt&gt;in the &lt;tt&gt;dix&lt;/tt&gt; directory of the &lt;tt&gt;xorg-server&lt;/tt&gt; source package<ins class="diffchange diffchange-inline">) or by the X-Windows application (e.g. using &lt;tt&gt;XInternAtom&lt;/tt&gt;</ins>). &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This can contain '&lt;tt&gt;*&lt;/tt&gt;' for 'any' or '&lt;tt&gt;?&lt;/tt&gt;' for 'substitute' (see the &lt;tt&gt;CUT_BUFFER?&lt;/tt&gt; entry where the '&lt;tt&gt;?&lt;/tt&gt;' would be substituted for a number between 0 and 7 that represents the number of these buffers).</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>This can contain '&lt;tt&gt;*&lt;/tt&gt;' for 'any' or '&lt;tt&gt;?&lt;/tt&gt;' for 'substitute' (see the &lt;tt&gt;CUT_BUFFER?&lt;/tt&gt; entry where the '&lt;tt&gt;?&lt;/tt&gt;' would be substituted for a number between 0 and 7 that represents the number of these buffers).</div></td></tr> <tr><td colspan="2" class="diff-lineno">Line 635:</td> <td colspan="2" class="diff-lineno">Line 635:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># connecting to the server from a remote host.</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># connecting to the server from a remote host.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>client*system_u:object_r:remote_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>client * system_u:object_r:remote_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2" class="diff-lineno">Line 644:</td> <td colspan="2" class="diff-lineno">Line 644:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Properties that normal clients may only read</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Properties that normal clients may only read</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>property _SELINUX_*system_u:object_r:seclabel_xproperty_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>property _SELINUX_* system_u:object_r:seclabel_xproperty_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Clipboard and selection properties</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Clipboard and selection properties</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>property CUT_BUFFER?system_u:object_r:clipboard_xproperty_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>property CUT_BUFFER? system_u:object_r:clipboard_xproperty_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Default fallback type</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Default fallback type</div></td></tr> <tr><td colspan="2" class="diff-lineno">Line 658:</td> <td colspan="2" class="diff-lineno">Line 658:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Restricted extensions</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Restricted extensions</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>extension <del class="diffchange diffchange-inline">SELinuxsystem_u</del>:object_r:security_xextension_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>extension <ins class="diffchange diffchange-inline">SELinux system_u</ins>:object_r:security_xextension_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Standard extensions</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Standard extensions</div></td></tr> <tr><td colspan="2" class="diff-lineno">Line 669:</td> <td colspan="2" class="diff-lineno">Line 669:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Standard selections</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Standard selections</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>selection <del class="diffchange diffchange-inline">PRIMARYsystem_u</del>:object_r:clipboard_xselection_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>selection <ins class="diffchange diffchange-inline">PRIMARY&#160; system_u</ins>:object_r:clipboard_xselection_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>selection <del class="diffchange diffchange-inline">CLIPBOARDsystem_u</del>:object_r:clipboard_xselection_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>selection <ins class="diffchange diffchange-inline">CLIPBOARD system_u</ins>:object_r:clipboard_xselection_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Default fallback type</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Default fallback type</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>selection *system_u:object_r:xselection_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>selection * system_u:object_r:xselection_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2" class="diff-lineno">Line 681:</td> <td colspan="2" class="diff-lineno">Line 681:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Input events</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Input events</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">KeyPresssystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">KeyPress&#160; &#160; &#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">KeyReleasesystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">KeyRelease&#160; &#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">ButtonPresssystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">ButtonPress&#160; &#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">ButtonReleasesystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">ButtonRelease&#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">MotionNotifysystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">MotionNotify&#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">DeviceKeyPresssystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">DeviceKeyPress&#160; &#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">DeviceKeyReleasesystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">DeviceKeyRelease&#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">DeviceButtonPresssystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">DeviceButtonPress&#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">DeviceButtonReleasesystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">DeviceButtonRelease&#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">DeviceMotionNotifysystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">DeviceMotionNotify&#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">DeviceValuatorsystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">DeviceValuator&#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">ProximityInsystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">ProximityIn&#160; &#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<del class="diffchange diffchange-inline">ProximityOutsystem_u</del>:object_r:input_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event XInputExtension:<ins class="diffchange diffchange-inline">ProximityOut&#160; &#160; system_u</ins>:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Client message events</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Client message events</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">ClientMessagesystem_u</del>:object_r:client_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">ClientMessage&#160; system_u</ins>:object_r:client_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">SelectionNotifysystem_u</del>:object_r:client_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">SelectionNotify system_u</ins>:object_r:client_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">UnmapNotifysystem_u</del>:object_r:client_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">UnmapNotify&#160; &#160; system_u</ins>:object_r:client_xevent_t</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event X11:<del class="diffchange diffchange-inline">ConfigureNotifysystem_u</del>:object_r:client_xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event X11:<ins class="diffchange diffchange-inline">ConfigureNotify system_u</ins>:object_r:client_xevent_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Default fallback type</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Default fallback type</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>event *system_u:object_r:xevent_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>event * system_u:object_r:xevent_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> Wed, 12 May 2010 14:41:12 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: /* contexts/x_contexts File */ http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=925&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=925&oldid=prev <p>‎<span dir="auto"><span class="autocomment">contexts/x_contexts File</span></span></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:31, 12 May 2010</td> </tr><tr><td colspan="2" class="diff-lineno">Line 604:</td> <td colspan="2" class="diff-lineno">Line 604:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>A typical entry is as follows:</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>A typical entry is as follows:</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># object_type&#160; object_name</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># object_type&#160; object_name <ins class="diffchange diffchange-inline"> context</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>selection&#160; &#160; &#160; PRIMARY system_u:object_r:clipboard_xselection_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>selection&#160; &#160; &#160; PRIMARY <ins class="diffchange diffchange-inline">&#160; &#160; </ins>system_u:object_r:clipboard_xselection_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> Wed, 12 May 2010 14:31:58 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: /* contexts/x_contexts File */ http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=924&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=924&oldid=prev <p>‎<span dir="auto"><span class="autocomment">contexts/x_contexts File</span></span></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:30, 12 May 2010</td> </tr><tr><td colspan="2" class="diff-lineno">Line 598:</td> <td colspan="2" class="diff-lineno">Line 598:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== contexts/x_contexts File&#160; ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== contexts/x_contexts File&#160; ==</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This file is provides the security contexts (and other configuration information) for the X-Windows SELinux security <del class="diffchange diffchange-inline">extensions provided via Xace (X access control </del>extension<del class="diffchange diffchange-inline">)</del>. <del class="diffchange diffchange-inline">No idea </del>how <del class="diffchange diffchange-inline">it works (yet anyway)</del>. The MCS / MLS version of the file has the appropriate level or range <del class="diffchange diffchange-inline">context </del>added.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This file is provides the security contexts (and other configuration information) for the X-Windows SELinux security extension. <ins class="diffchange diffchange-inline">The useage is discussed in the X-windows SELinux Support section and examples of </ins>how <ins class="diffchange diffchange-inline">to add additional entries is shown in the Experimenting with X-Windows section</ins>. The MCS / MLS version of the file has the appropriate level or range <ins class="diffchange diffchange-inline">information </ins>added.</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">'''Example </del>file <del class="diffchange diffchange-inline">contents</del>:<del class="diffchange diffchange-inline">'''</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">The &lt;tt&gt;selabel_*&lt;/tt&gt; set of &lt;tt&gt;libselinux&lt;/tt&gt; API functions allow information to be retrieved from the &lt;tt&gt;x_contexts&lt;/tt&gt; </ins>file<ins class="diffchange diffchange-inline">. These are described in the relevant man pages and also in &lt;tt&gt;selabel_x(5)&lt;/tt&gt;.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">A typical entry is as follows</ins>:</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># <del class="diffchange diffchange-inline">&lt;/nowiki&gt;./contexts/x_contexts - Taken from the reference policy.</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">object_type&#160; object_name</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;#&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">selection&#160; &#160; &#160; PRIMARY system_u:object_r:clipboard_xselection_t</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;# Config file for XSELinux extension</del>&lt;/<del class="diffchange diffchange-inline">nowiki</del>&gt;</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;/<ins class="diffchange diffchange-inline">pre</ins>&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;#&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;# The default client rule defines a context to be used for all clients&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;# connecting to the server from a remote host.&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;#&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">client&lt;nowiki&gt;*&lt;/nowiki&gt;system_u:object_r:remote_xclient_t</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;<del class="diffchange diffchange-inline">nowiki</del>&gt;<del class="diffchange diffchange-inline">##</del>&lt;/<del class="diffchange diffchange-inline">nowiki</del>&gt;</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">Where:</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;<del class="diffchange diffchange-inline">nowiki</del>&gt;### Rules for X Properties<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">{| border=&quot;1&quot;</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Property rules map a property name to a context. <del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del>A default property</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">| </ins>&lt;<ins class="diffchange diffchange-inline">tt</ins>&gt;<ins class="diffchange diffchange-inline">object_type</ins>&lt;/<ins class="diffchange diffchange-inline">tt</ins>&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># rule indicated by an asterisk should follow all other property rules.<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">| These are types of object supported and valid entries are: </ins>&lt;<ins class="diffchange diffchange-inline">tt</ins>&gt;<ins class="diffchange diffchange-inline">client&lt;/tt&gt;, &lt;tt&gt;property&lt;/tt&gt;, &lt;tt&gt;poly_property&lt;/tt&gt;, &lt;tt&gt;extension&lt;/tt&gt;, &lt;tt&gt;selection&lt;/tt&gt;, &lt;tt&gt;poly_selection&lt;/tt&gt; and &lt;tt&gt;events&lt;/tt&gt;.</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>#<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Properties that normal clients may only read<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">|-</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>property <del class="diffchange diffchange-inline">XFree86_VTsystem_u</del>:object_r:<del class="diffchange diffchange-inline">info_xproperty_t</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">| &lt;tt&gt;object_name&lt;/tt&gt;</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>property <del class="diffchange diffchange-inline">XFree86_DDC_EDID1_RAWDATAsystem_u</del>:object_r:<del class="diffchange diffchange-inline">info_xproperty_t</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">| These are the object names of the specific X-server resource such as &lt;tt&gt;PRIMARY&lt;/tt&gt;, &lt;tt&gt;CUT_BUFFER0&lt;/tt&gt; etc. They are generally defined in the X-server source code (&lt;tt&gt;protocol.txt&lt;/tt&gt; and &lt;tt&gt;BuiltInAtoms &lt;/tt&gt;in the &lt;tt&gt;dix&lt;/tt&gt; directory of the &lt;tt&gt;xorg-server&lt;/tt&gt; source package). </ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>##<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>### Rules for X Extensions<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">This can contain '&lt;tt&gt;*&lt;/tt&gt;' for 'any' or '&lt;tt&gt;?&lt;/tt&gt;' for 'substitute' (see the &lt;tt&gt;CUT_BUFFER?&lt;/tt&gt; entry where the '&lt;tt&gt;?&lt;/tt&gt;' would be substituted for a number between 0 and 7 that represents the number of these buffers).</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;##&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Extension rules map an extension name to a context. <del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del>A default extension</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">|-</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># rule indicated by an asterisk should follow all other extension rules.<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">| &lt;tt&gt;context&lt;/tt&gt;</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>#<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">| This is the security context that will be applied to the object. For MLS/MCS systems there would be the additional MLS label (&lt;tt&gt;:s0&lt;/tt&gt; as standard).</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># <del class="diffchange diffchange-inline">Standard </del>extensions<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>extension <del class="diffchange diffchange-inline">BIG-REQUESTSsystem_u</del>:object_r:<del class="diffchange diffchange-inline">std_xext_t</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">|}</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>extension <del class="diffchange diffchange-inline">SHAPEsystem_u</del>:object_r:<del class="diffchange diffchange-inline">std_xext_t</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>#<del class="diffchange diffchange-inline">#&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>### Rules for X Selections<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">'''Example file contents (taken from the 20091117 Reference Policy):'''</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;##&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">&lt;pre&gt;</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Selection rules map a selection name to a context. <del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del>A default selection</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">#</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># rule indicated by an asterisk should follow all other selection rules.<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"># Config file for XSELinux extension</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>#<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">#</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Standard selections<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">### Rules for X Clients</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>selection <del class="diffchange diffchange-inline">XA_PRIMARYsystem_u</del>:object_r:clipboard_xselection_t</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"># The default client rule defines a context to be used for all clients</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>##<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"># connecting to the server from a remote host.</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>### Rules for X Events<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">#</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;##&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">client*system_u:object_r:remote_t</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Event rules map an event protocol name to a context. <del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del>A default event</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># rule indicated by an asterisk should follow all other event rules.<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">#</ins></div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del>#<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>### Rules for X Properties</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">&lt;nowiki&gt;</del># Input events<del class="diffchange diffchange-inline">&lt;/nowiki&gt;</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Property rules map a property name to a context. A default property</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># rule indicated by an asterisk should follow all other property rules.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Properties that normal clients may only read</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>property <ins class="diffchange diffchange-inline">_SELINUX_*system_u</ins>:object_r:<ins class="diffchange diffchange-inline">seclabel_xproperty_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"># Clipboard and selection properties</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>property <ins class="diffchange diffchange-inline">CUT_BUFFER?system_u</ins>:object_r:<ins class="diffchange diffchange-inline">clipboard_xproperty_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">Default fallback type</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">property * system_u:object_r:xproperty_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>### Rules for X Extensions</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Extension rules map an extension name to a context. A default extension</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># rule indicated by an asterisk should follow all other extension rules.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">Restricted </ins>extensions</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>extension <ins class="diffchange diffchange-inline">SELinuxsystem_u</ins>:object_r:<ins class="diffchange diffchange-inline">security_xextension_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"># Standard extensions</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>extension <ins class="diffchange diffchange-inline">* system_u</ins>:object_r:<ins class="diffchange diffchange-inline">xextension_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>### Rules for X Selections</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Selection rules map a selection name to a context. A default selection</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># rule indicated by an asterisk should follow all other selection rules.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Standard selections</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>selection <ins class="diffchange diffchange-inline">PRIMARYsystem_u</ins>:object_r:clipboard_xselection_t</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">selection CLIPBOARDsystem_u:object_r:clipboard_xselection_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># <ins class="diffchange diffchange-inline">Default fallback type</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">selection *system_u:object_r:xselection_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>### Rules for X Events</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Event rules map an event protocol name to a context. A default event</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># rule indicated by an asterisk should follow all other event rules.</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>#</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># Input events</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>event X11:KeyPresssystem_u:object_r:input_xevent_t</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>event X11:KeyPresssystem_u:object_r:input_xevent_t</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>event X11:KeyReleasesystem_u:object_r:input_xevent_t</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>event X11:KeyReleasesystem_u:object_r:input_xevent_t</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:ButtonPresssystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:ButtonReleasesystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:MotionNotifysystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:DeviceKeyPresssystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:DeviceKeyReleasesystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:DeviceButtonPresssystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:DeviceButtonReleasesystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:DeviceMotionNotifysystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:DeviceValuatorsystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:ProximityInsystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event XInputExtension:ProximityOutsystem_u:object_r:input_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># Client message events</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:ClientMessagesystem_u:object_r:client_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:SelectionNotifysystem_u:object_r:client_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:UnmapNotifysystem_u:object_r:client_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event X11:ConfigureNotifysystem_u:object_r:client_xevent_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># Default fallback type</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">event *system_u:object_r:xevent_t</ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td colspan="2" class="diff-lineno">Line 650:</td> <td colspan="2" class="diff-lineno">Line 708:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>selinux_x_context_path</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>selinux_x_context_path</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">selabel_open</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">selabel_close</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">selabel_lookup</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">selabel_stats</ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== contexts/files/file_contexts File ==</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== contexts/files/file_contexts File ==</div></td></tr> </table> Wed, 12 May 2010 14:30:21 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines at 14:20, 12 May 2010 http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=923&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=923&oldid=prev <p></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 14:20, 12 May 2010</td> </tr><tr><td colspan="2" class="diff-lineno">Line 543:</td> <td colspan="2" class="diff-lineno">Line 543:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>selinux_context_path</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>selinux_context_path</div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== contexts/virtual_domain_context File ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">This is used by the virtulization API (&lt;tt&gt;libvirt&lt;/tt&gt;) and provides the domain contexts that can be used (these are defined in the policy).</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''Example file contents:'''</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># ./contexts/virtual_domain_context - Taken from the standard</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># reference policy.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">system_u:system_r:svirt_t</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># ./contexts/virtual_domain_context - Taken from the MLS/MCS</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># reference policy.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">system_u:system_r:svirt_t:s0</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''Supporting libselinux API functions are:'''</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">selinux_virtual_domain_context_path</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== contexts/virtual_image_context File ==</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">This is used by the virtulization API (&lt;tt&gt;libvirt&lt;/tt&gt;) and provides the image contexts that can be used (these are defined in the policy).</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''Example file contents:'''</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># ./contexts/virtual_image_context - Taken from the standard</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># reference policy.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">system_u:system_r:svirt_image_t:s0</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">system_u:system_r:svirtcontent_t:s0</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># ./contexts/virtual_image_context - Taken from the MLS/MCS</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"># reference policy.</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">system_u:system_r:svirt_image_t:s0</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">system_u:system_r:svirtcontent_t:s0</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''Supporting libselinux API functions are:'''</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;</ins></div></td></tr> <tr><td colspan="2">&#160;</td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">selinux_virtual_image_context_path</ins></div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&lt;/pre&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> </table> Wed, 12 May 2010 14:20:27 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles RichardHaines: New page: = Policy Configuration Files = Each file discussed in this section is relative to the policy name as follows: <nowiki>/etc/selinux/<policy_name></nowiki> The majority of files are instal... http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=861&oldid=prev http://selinuxproject.org/w/?title=PolicyConfigurationFiles&diff=861&oldid=prev <p>New page: = Policy Configuration Files = Each file discussed in this section is relative to the policy name as follows: &lt;nowiki&gt;/etc/selinux/&lt;policy_name&gt;&lt;/nowiki&gt; The majority of files are instal...</p> <p><b>New page</b></p><div>= Policy Configuration Files =<br /> Each file discussed in this section is relative to the policy name as follows:<br /> <br /> &lt;nowiki&gt;/etc/selinux/&lt;policy_name&gt;&lt;/nowiki&gt;<br /> <br /> The majority of files are installed by the Reference Policy, semanage or semodule processes. It is possible to build custom monolithic policies that only use the files installed in this area (i.e. do not use semanage or semodule). For example a simple monolithic policy could run at init 3 (i.e. no X-Windows), and only require the following configuration files:<br /> <br /> '''&lt;nowiki&gt;./policy/policy.[ver]&lt;/nowiki&gt;''' - The binary policy loaded into the kernel.<br /> <br /> '''./context/files/file_contexts''' - To allow the filesystem to be relabeled.<br /> <br /> If the simple policy is to run at init 5, (i.e. with X-Windows) then an additional file is required:<br /> <br /> '''./context/dbus_contexts''' - To allow the debus messaging service to run under SELinux.<br /> <br /> == seusers File ==<br /> This file is used by login programs (normally via the libselinux library) and maps GNU / Linux users (as defined in the user / passwd files) to SELinux users (defined in the policy). A typical login sequence would be:<br /> <br /> * Using the GNU / Linux user_id, lookup the seuser_id from this file. If an entry cannot be found, then use the __default__ entry.<br /> * To determine the remaining context to be used as the security context, read the &lt;nowiki&gt;./contexts/users/[seuser_id]&lt;/nowiki&gt; file. If this file is not present, then:<br /> ** Check for a default context in the ./contexts/default_contexts file. If no default context is found, then:<br /> *** Read the ./contexts/failsafe_context file to allow a fail safe context to be set.<br /> <br /> Note: The system_u user is defined in this file, however there must be '''no''' system_u GNU / Linux user configured on the system.<br /> <br /> The format of the seusers file is the same as the files described in the ./modules/active/seusers.final and seusers section, where an example semanage user command is also shown.<br /> <br /> '''Example seusers file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./seusers file for non-MCS/MLS systems.<br /> <br /> system_u:system_u<br /> root:root<br /> fred:user_u<br /> __default__:user_u<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./seusers file for an MLS system. Note that the system_u user <br /> &lt;nowiki&gt;# has access to all security levels and therefore should not be &lt;/nowiki&gt;<br /> &lt;nowiki&gt;# configured as a valid GNU / Linux user.&lt;/nowiki&gt;<br /> <br /> system_u:system_u:s0-s15:c0.c255<br /> root:root:s0-s15:c0.c255<br /> fred:user_u:s0<br /> __default__:user_u:s0<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> getseuser<br /> getseuserbyname<br /> &lt;/pre&gt;<br /> <br /> <br /> == setrans.conf File ==<br /> This file is used by the mcstransd(8) daemon (available in the mcstrans rpm). The daemon enables SELinux-aware applications to translate the MCS / MLS internal policy levels into user friendly labels. <br /> <br /> The daemon will not load unless a valid MCS or MLS policy is active.<br /> <br /> The semanage command can be used to update this file.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# Enable / disable translation service:&lt;/nowiki&gt;<br /> <br /> disable=1|0<br /> <br /> &lt;nowiki&gt;# Each line consists of a level or range with user friendly &lt;/nowiki&gt;<br /> &lt;nowiki&gt;# label:&lt;/nowiki&gt;<br /> <br /> level|range=text_label<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | disable<br /> | | To disable the translation service, set disable=1. To enable the service comment out the entry or set disable=0.<br /> <br /> |-<br /> | | range<br /> | | The optional level or range as defined in the MLS range definition section.<br /> <br /> |-<br /> | | text_label<br /> | | The user friendly label to be displayed by SELinux-aware applications that use the translation service API.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./setrans.conf - Taken from the reference policy.<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Multi-Level Security translation table for SELinux&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Uncomment the following to disable translation library&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# disable=1&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# SystemLow and SystemHigh&lt;/nowiki&gt;<br /> <br /> s0=SystemLow<br /> s15:c0.c1023=SystemHigh<br /> s0-s15:c0.c1023=SystemLow-SystemHigh<br /> <br /> &lt;nowiki&gt;# Unclassified level&lt;/nowiki&gt;<br /> s1=Unclassified<br /> <br /> &lt;nowiki&gt;# Secret level with compartments&lt;/nowiki&gt;<br /> s2=Secret<br /> s2:c0=A<br /> s2:c1=B<br /> <br /> &lt;nowiki&gt;# ranges for Unclassified&lt;/nowiki&gt;<br /> s0-s1=SystemLow-Unclassified<br /> s1-s2=Unclassified-Secret<br /> s1-s15:c0.c1023=Unclassified-SystemHigh<br /> <br /> &lt;nowiki&gt;# ranges for Secret with compartments&lt;/nowiki&gt;<br /> s0-s2=SystemLow-Secret<br /> s2:c1-s15:c0.c1023=Secret:B-SystemHigh<br /> s2:c0,c1-s15:c0.c1023=Secret:AB-SystemHigh<br /> &lt;/pre&gt;<br /> <br /> <br /> '''Example semanage command:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# Add a new entry to the file. Note that the -T flag component &lt;/nowiki&gt;<br /> &lt;nowiki&gt;# (the user friendly name for the level) must not have spaces.&lt;/nowiki&gt;<br /> <br /> semanage translation -a -T Top-Level s15:c1023<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# List the setrans.conf file contents&lt;/nowiki&gt;<br /> <br /> semanage translation -l <br /> <br /> ...<br /> s15:c1023=Top-Level<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_translations_path<br /> selinux_raw_to_trans_context<br /> selinux_trans_to_raw_context<br /> &lt;/pre&gt;<br /> <br /> <br /> == policy/policy.[ver] File ==<br /> This is the binary policy file that is loaded into the kernel to enforce policy and is built by either checkpolicy or semodule. Life is too short to describe the format but the libsepol source could be used as a reference or for an overview the [http://securityblog.org/brindle/2006/07/05/selinux-policy-module-primer/ SELinux Policy Module Primer] notes. <br /> <br /> The file name extension is the policy database version supported by the GNU / Linux release and can be found by executing the following command:<br /> &lt;pre&gt;<br /> cat /selinux/policyvers<br /> 23<br /> &lt;/pre&gt;<br /> <br /> The different versions are discussed in the Policy Versions section.<br /> <br /> == contexts/customizable_types File ==<br /> This file contains a list of types that will not be relabeled by the setfiles(8) or restorecon(8) commands. The commands check this file before relabeling and excludes those in the list unless the -F flag is used (see the man pages).<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> type<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | type<br /> | | The type defined in the policy that needs to excluded from relabeling. An example is when a file has been purposely relabeled with a different type to allow an application to work.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/customizable_types - Taken from the reference policy.<br /> <br /> mount_loopback_t<br /> public_content_rw_t<br /> public_content_t<br /> swapfile_t<br /> sysadm_untrusted_content_t<br /> sysadm_untrusted_content_tmp_t<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> is_context_customizable<br /> selinux_customizable_types_path<br /> selinux_context_path<br /> &lt;/pre&gt;<br /> <br /> === contexts/default_contexts File ===<br /> Used by SELinux-aware applications that need to set a security context for user processes (generally the login applications) where:<br /> <br /> # The GNU / Linux user identity should be known by the application.<br /> # If a login application, then the SELinux user (seuser), would have been determined as described in the seusers file section.<br /> # The login applications will check the &lt;nowiki&gt;./contexts/users/[seuser_id]&lt;/nowiki&gt; file first and if no valid entry, will then look in the &lt;nowiki&gt;[seuser_id]&lt;/nowiki&gt; file for a default context to use.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> role:type role:type ...<br /> &lt;/pre&gt;<br /> '''Or:'''<br /> &lt;pre&gt;<br /> role:type:range role:type:range ...<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | role:type<br /> | | The file contains one or more lines that consist of role:type pairs.<br /> <br /> The entry at the start of a new line corresponds to the partial role:type context of (generally) the login application.<br /> <br /> The other role:type entries on that line represent an ordered list of valid contexts that could be used to set the users context. <br /> <br /> |-<br /> | | range<br /> <br /> <br /> <br /> | | The range as defined in the MLS range definition section.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/default_contexts - Taken from the reference<br /> &lt;nowiki&gt;# policy. The entry at the start of each line &lt;/nowiki&gt;<br /> &lt;nowiki&gt;# corresponds to the login applications role:type context. &lt;/nowiki&gt;<br /> <br /> system_r:crond_t user_r:user_crond_t staff_r:staff_crond_t sysadm_r:sysadm_crond_t system_r:system_crond_t unconfined_r:unconfined_crond_t<br /> <br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> system_r:local_login_t user_r:user_t staff_r:staff_t sysadm_r:sysadm_t <br /> unconfined_r:unconfined_t<br /> <br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> system_r:remote_login_t user_r:user_t staff_r:staff_t unconfined_r:unconfined_t<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> system_r:sshd_tuser_r:user_t staff_r:staff_t sysadm_r:sysadm_t unconfined_r:unconfined_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/default_contexts - Taken from the MLS <br /> &lt;nowiki&gt;# reference policy.&lt;/nowiki&gt;<br /> <br /> system_r:crond_t:s0 system_r:system_crond_t:s0<br /> system_r:local_login_t:s0 user_r:user_t:s0<br /> system_r:remote_login_t:s0 user_r:user_t:s0<br /> system_r:sshd_t:s0 user_r:user_t:s0<br /> system_r:sulogin_t:s0 sysadm_r:sysadm_t:s0<br /> system_r:xdm_t:s0 user_r:user_t:s0<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# Note that the &lt;/nowiki&gt;&lt;nowiki&gt;./contexts/users/[seuser_id]&lt;/nowiki&gt; file is also read<br /> &lt;nowiki&gt;# by some of these functions.&lt;/nowiki&gt;<br /> <br /> selinux_contexts_path<br /> selinux_default_context_path<br /> get_default_context<br /> get_ordered_context_list<br /> get_ordered_context_list_with_level<br /> get_default_context_with_level<br /> get_default_context_with_role<br /> get_default_context_with_rolelevel<br /> query_user_context<br /> manual_user_enter_context<br /> get_default_role<br /> &lt;/pre&gt;<br /> <br /> An example use (to get over a small feature) is that when the initial basic policy was built, no default_contexts file entries were required as only one role:type of unconfined_r:unconfined_t had been defined, therefore the login process did not need to decide anything (as the only user context was user_u:unconfined_r:unconfined_t). <br /> <br /> However when adding the loadable module that used another type (ext_gateway_t) but with the same role and user (e.g. user_u:unconfined_r:ext_gateway_t), then it was found that the login process would always set the logged in user context to user_u:unconfined_r:ext_gateway_t (i.e. the login application now had a choice and choose the wrong one, probably because the types are sorted and 'e' comes before 'u'). <br /> <br /> The end result was that as soon as enforcing mode was set, the system got bitter and twisted. To resolve this the default_contexts file entries were set to:<br /> &lt;pre&gt;<br /> unconfined_r:unconfined_t unconfined_r:unconfined_t<br /> &lt;/pre&gt;<br /> <br /> The login process could now set the context correctly to unconfined_r:unconfined_t. Note that adding the same entry to the contexts/users/user_u configuration file instead could also have achieved this.<br /> <br /> == contexts/debus_contexts File ==<br /> This file is for the debus messaging service daemon (a form of IPC) that is used by a number of GNU / Linux applications such as GNOME and KDE desktops. If SELinux is enabled, then this file needs to exist in order for these applications to work. The [http://dbus.freedesktop.org/doc/dbus-daemon.1.html dbus-daemon] man page details the contents, however it is not recommended that this file is changed. The Free Desktop web site has detailed information at:<br /> <br /> [http://dbus.freedesktop.org/ http://dbus.freedesktop.org]<br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/debus_contexts - Taken from the reference policy.<br /> <br /> &lt;nowiki&gt;&lt;!DOCTYPE busconfig PUBLIC &quot;-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN&quot; &quot;http://www.freedesktop.org/standards/dbus/&lt;/nowiki&gt;<br /> 1.0/busconfig.dtd&quot;&gt;<br /> &lt;nowiki&gt;&lt;busconfig&gt;&lt;/nowiki&gt;<br /> &lt;nowiki&gt;&lt;selinux&gt;&lt;/nowiki&gt;<br /> &lt;nowiki&gt;&lt;/selinux&gt;&lt;/nowiki&gt;<br /> &lt;nowiki&gt;&lt;/busconfig&gt;&lt;/nowiki&gt;<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API function is:'''<br /> &lt;pre&gt;<br /> selinux_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/default_type File ==<br /> This file allows SELinux-aware applications such as newrole(1) to select a default type for a role if one is not supplied. An example use is by newrole when it is called to change a users role, with no type specified, this file would then be consulted to determine the default type to use for the requested role.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> role:type<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | role:type<br /> | | The file contains one or more lines that consist of role:type entries. There should be one line for each role defined within the policy.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/default_type - Taken from the reference policy.<br /> <br /> auditadm_r:auditadm_t<br /> secadm_r:secadm_t<br /> sysadm_r:sysadm_t<br /> staff_r:staff_t<br /> unconfined_r:unconfined_t<br /> user_r:user_t<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_context_path<br /> get_default_type<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/failsafe_context File ==<br /> If the login process cannot determine a default context to use, then this can be set to allow an administrator access to the system by setting a known valid context.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> role:type<br /> &lt;/pre&gt;<br /> '''Or:'''<br /> &lt;pre&gt;<br /> role:type:range<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | role:type<br /> | | The file contains a single line that consist of a role:type for a known valid context to allow an administrator access to the system..<br /> <br /> |-<br /> | | range<br /> | | The range as defined in the MLS range definition section.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/failsafe_context - Taken from the reference policy.<br /> <br /> sysadm_r:sysadm_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/failsafe_context - Taken from the MLS <br /> &lt;nowiki&gt;# reference policy.&lt;/nowiki&gt;<br /> <br /> sysadm_r:sysadm_t:s0<br /> &lt;/pre&gt;<br /> <br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_context_path<br /> selinux_failsafe_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> === contexts/initrc_context File ===<br /> This is used by the run_init(8) command to allow system services to be started in the same security context as init. This file could also be used by other SELinux-aware applications for the same purpose.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> security_context<br /> &lt;/pre&gt;<br /> <br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | security_context<br /> | | The file contains one line that consists of a full security context, including the MLS / MCS level or range if applicable.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/initrc_context - Taken from the reference policy.<br /> <br /> system_u:system_r:initrc_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/initrc_context - Taken from the MLS reference <br /> &lt;nowiki&gt;# policy. Note that the init process has full access via the &lt;/nowiki&gt;<br /> &lt;nowiki&gt;# range &lt;/nowiki&gt;s0-s15:c0.c255.<br /> <br /> system_u:system_r:initrc_t:s0-s15:c0.c255<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/netfilter_contexts File ==<br /> This file will support the Secmark labeling for Netfilter / iptable rule matching of network packets, however it is currently unused (see the ./modules/active/netfilter_contexts &amp; netfilter.local file section for further information).<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_context_path<br /> selinux_netfilter_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/removable_contexts File ==<br /> This file contains the default label that should be used for removable devices that are not defined in the contexts/files/media file.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> security_context<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | security_context<br /> | | The file contains one line that consists of a full security context, including the MLS / MCS level or range if applicable.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/removable_contexts - Taken from the reference policy.<br /> <br /> system_u:object_r:removable_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/removable_contexts - Taken from the MLS <br /> &lt;nowiki&gt;# reference policy.&lt;/nowiki&gt;<br /> <br /> system_u:object_r:removable_t:s0<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_removable_context_path<br /> &lt;/pre&gt;<br /> <br /> == contexts/securetty_types File ==<br /> This file is used by the newrole(1) command to find the type to use with tty devices when changing roles or levels.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> type<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | type<br /> | | Zero or more type entries that are defined in the policy for tty devices.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/securetty_types - Taken from the reference policy.<br /> <br /> sysadm_tty_device_t<br /> user_tty_device_t<br /> staff_tty_device_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/securetty_types - Taken from the MLS reference <br /> &lt;nowiki&gt;# policy.&lt;/nowiki&gt;<br /> <br /> sysadm_tty_device_t<br /> user_tty_device_t<br /> staff_tty_device_t<br /> auditadm_tty_device_t<br /> secureadm_tty_device_t<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_securetty_types_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/userhelper_context File ==<br /> This file contains the default security context used by the system-config-* applications when running from root.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> security_context<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | security_context<br /> | | The file contains one line that consists of a full security context, including the MLS / MCS level or range if applicable.<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/userhelper_context - Taken from the reference policy.<br /> <br /> system_u:sysadm_r:sysadm_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/userhelper_context - Taken from the MLS <br /> &lt;nowiki&gt;# reference policy.&lt;/nowiki&gt;<br /> <br /> system_u:sysadm_r:sysadm_t:s0<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/x_contexts File ==<br /> This file is provides the security contexts (and other configuration information) for the X-Windows SELinux security extensions provided via Xace (X access control extension). No idea how it works (yet anyway). The MCS / MLS version of the file has the appropriate level or range context added.<br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/x_contexts - Taken from the reference policy.<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Config file for XSELinux extension&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# The default client rule defines a context to be used for all clients&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# connecting to the server from a remote host.&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> client&lt;nowiki&gt;*&lt;/nowiki&gt;system_u:object_r:remote_xclient_t<br /> <br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;### Rules for X Properties&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Property rules map a property name to a context. &lt;/nowiki&gt;A default property<br /> &lt;nowiki&gt;# rule indicated by an asterisk should follow all other property rules.&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Properties that normal clients may only read&lt;/nowiki&gt;<br /> property XFree86_VTsystem_u:object_r:info_xproperty_t<br /> property XFree86_DDC_EDID1_RAWDATAsystem_u:object_r:info_xproperty_t<br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;### Rules for X Extensions&lt;/nowiki&gt;<br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Extension rules map an extension name to a context. &lt;/nowiki&gt;A default extension<br /> &lt;nowiki&gt;# rule indicated by an asterisk should follow all other extension rules.&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Standard extensions&lt;/nowiki&gt;<br /> extension BIG-REQUESTSsystem_u:object_r:std_xext_t<br /> extension SHAPEsystem_u:object_r:std_xext_t<br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;### Rules for X Selections&lt;/nowiki&gt;<br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Selection rules map a selection name to a context. &lt;/nowiki&gt;A default selection<br /> &lt;nowiki&gt;# rule indicated by an asterisk should follow all other selection rules.&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Standard selections&lt;/nowiki&gt;<br /> selection XA_PRIMARYsystem_u:object_r:clipboard_xselection_t<br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;### Rules for X Events&lt;/nowiki&gt;<br /> &lt;nowiki&gt;##&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Event rules map an event protocol name to a context. &lt;/nowiki&gt;A default event<br /> &lt;nowiki&gt;# rule indicated by an asterisk should follow all other event rules.&lt;/nowiki&gt;<br /> &lt;nowiki&gt;#&lt;/nowiki&gt;<br /> &lt;nowiki&gt;# Input events&lt;/nowiki&gt;<br /> event X11:KeyPresssystem_u:object_r:input_xevent_t<br /> event X11:KeyReleasesystem_u:object_r:input_xevent_t<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_x_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/files/file_contexts File ==<br /> This file is managed by the semodule and semanage commands [Ref 1] as the policy is updated (adding or removing modules or updating the base), and therefore should not be edited.<br /> <br /> Ref 1 - As each module would have its own file_contexts component that is either added or removed from the policies overall &lt;nowiki&gt;/etc/selinux/[policy_name]/contexts/ files/file_contexts&lt;/nowiki&gt; file.<br /> <br /> The file is used by a number of SELinux-aware commands (setfiles(8), fixfiles(8), matchpathcon(8), restorecon(8)) to relabel either part or all of the file system.<br /> <br /> Note that users home directory file contexts are not present in this file as they are managed by the file_contexts.homedirs file as explained below.<br /> <br /> The format of the file_contexts file is the same as the files described in the ./modules/active/file_contexts file section.<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_file_context_path<br /> selinux_file_context_verify<br /> selinux_file_context_local_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/files/file_contexts.local File ==<br /> This file is added by the semanage fcontext command as described in the ./modules/active/file_contexts.local file section to allow locally defined files to be labeled correctly.<br /> <br /> == contexts/files/file_contexts.homedirs File ==<br /> This file is managed by the semodule and semanage commands as the policy is updated (adding or removing users and modules or updating the base), and therefore should not be edited.<br /> <br /> It is generated by the genhomedircon(8) command (in fact by semodule -Bn that rebuilds the policy) and used to set the correct contexts on the users home directory and files. <br /> <br /> It is fully described in the ./modules/active/file_contexts.homedirs file section. <br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_file_context_homedir_path<br /> selinux_homedir_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/files/media File ==<br /> Used to map media types to a file context. If the media_id cannot be found in this file, then the default context in the ./contexts/removable_contexts is used instead.<br /> <br /> '''The file format is as follows:'''<br /> &lt;pre&gt;<br /> media_id file_context<br /> &lt;/pre&gt;<br /> <br /> '''Where:'''<br /> {| border=&quot;1&quot;<br /> | | media_id<br /> | | The media identifier (those known are: cdrom, floppy, disk and usb).<br /> <br /> |-<br /> | | file_context<br /> | | The context to be used for the device. Note that it does not seem to have the MLS / MCS level).<br /> <br /> |}<br /> <br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/files/media - Taken from the reference policy <br /> &lt;nowiki&gt;# (note that the same file is generated for all types of policy).&lt;/nowiki&gt;<br /> <br /> cdrom system_u:object_r:removable_device_t<br /> floppy system_u:object_r:removable_device_t<br /> disk system_u:object_r:fixed_disk_device_t<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_media_context_path<br /> &lt;/pre&gt;<br /> <br /> <br /> == contexts/users/[seuser_id] File ==<br /> These optional files are named after the SELinux user they represent (e.g. seuser_id = user_u). Each file has the same format as the contexts/default_contexts file and is used to assign the correct context to the SELinux user.<br /> <br /> '''Example file contents:'''<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/users/user_u - Taken from the reference policy.<br /> <br /> system_r:local_login_t user_r:user_t<br /> system_r:remote_login_t user_r:user_t<br /> system_r:sshd_t user_r:user_t<br /> system_r:crond_t user_r:user_t<br /> &lt;/pre&gt;<br /> &lt;pre&gt;<br /> &lt;nowiki&gt;# &lt;/nowiki&gt;./contexts/users/user_u - Taken from the MLS <br /> &lt;nowiki&gt;# reference policy.&lt;/nowiki&gt;<br /> <br /> system_r:local_login_t:s0 user_r:user_t:s0<br /> system_r:remote_login_t:s0 user_r:user_t:s0<br /> system_r:sshd_t:s0 user_r:user_t:s0<br /> system_r:crond_t:s0 user_r:user_t:s0<br /> system_r:xdm_t:s0 user_r:user_t:s0<br /> user_r:user_su_t:s0 user_r:user_t:s0<br /> user_r:user_sudo_t:s0 user_r:user_t:s0<br /> &lt;/pre&gt;<br /> <br /> '''Supporting libselinux API functions are:'''<br /> &lt;pre&gt;<br /> selinux_user_contexts_path<br /> selinux_users_path<br /> selinux_usersconf_path<br /> &lt;/pre&gt;</div> Wed, 02 Dec 2009 14:57:39 GMT RichardHaines http://selinuxproject.org/page/Talk:PolicyConfigurationFiles