<br><br><div><span class="gmail_quote">On 3/8/06, <b class="gmail_sendername">Stephen Smalley</b> &lt;<a href="mailto:sds@tycho.nsa.gov">sds@tycho.nsa.gov</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 2006-03-08 at 12:44 -0500, Florian Lengyel wrote:<br>&gt; Is this the appropriate list to ask about modifying local Selinux<br>&gt; policies on Red Hat Enterprise Linux 4? If it is, can someone inform<br>&gt; me what i need to download in order to modify the local Selinux
<br>&gt; policy? The source and tools to do this don't seem to be included in<br>&gt; my installation (following the online Red Hat documentation); perhaps<br>&gt; there are appropriate rpms to download in up2date--I don't know what
<br>&gt; they are, and they do not seem to be mentioned in the online<br>&gt; documentation.<br>&gt;<br>&gt; If this is not the appropriate list, please let me know.</blockquote><div><br>Thank you for this; you have jogged my memory that I am missing 
<br>precisely those sources In the /etc/selinux/targeted/policy subdirectory<br>[root@cml policy]# pwd<br>/etc/selinux/targeted/policy<br><br>There is a file called policy.18<br><br>[root@cml policy]# ls -latrs<br>total 348
<br>332 -rw-r--r--&nbsp; 1 root root 331417 Mar&nbsp; 8&nbsp; 2005 policy.18<br>&nbsp; 8 drwxr-xr-x&nbsp; 4 root root&nbsp;&nbsp; 4096 Aug 25&nbsp; 2005 ..<br>&nbsp; 8 drwxr-xr-x&nbsp; 2 root root&nbsp;&nbsp; 4096 Aug 25&nbsp; 2005 .<br>[root@cml policy]#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;<br>but there is no /etc/selinux/policy/sources subdirectory
<br></div><br>The checkpolicy command is present:<br><br>[root@cml policy]# pwd<br>/etc/selinux/targeted/policy<br>[root@cml policy]# ls -latrs<br>total 348<br>332 -rw-r--r--&nbsp; 1 root root 331417 Mar&nbsp; 8&nbsp; 2005 policy.18<br>
&nbsp; 8 drwxr-xr-x&nbsp; 4 root root&nbsp;&nbsp; 4096 Aug 25&nbsp; 2005 ..<br>&nbsp; 8 drwxr-xr-x&nbsp; 2 root root&nbsp;&nbsp; 4096 Aug 25&nbsp; 2005 .<br>[root@cml policy]#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>So I am missing the source directory. I wonder if the missing components are downloadable in rpm form...
<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Look for selinux-policy-targeted-sources.<br>That contains the policy sources.<br>Also look for checkpolicy.&nbsp;&nbsp;That is the policy &quot;compiler&quot;.
<br><br>--<br>Stephen Smalley<br>National Security Agency<br><br></blockquote></div><br>