<br><br><div><span class="gmail_quote">On 7/23/07, <b class="gmail_sendername">Stephen Smalley</b> <<a href="mailto:sds@tycho.nsa.gov">sds@tycho.nsa.gov</a>> 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 Mon, 2007-07-23 at 09:23 -0500, Justin Conover wrote:<br>><br>><br>> On 7/23/07, Stephen Smalley <<a href="mailto:sds@tycho.nsa.gov">sds@tycho.nsa.gov</a>> wrote:<br>>         On Mon, 2007-07-23 at 09:09 -0500, Justin Conover wrote:
<br>>         > I'm not sure if there is a regular selinux mailing list or<br>>         not, I<br>>         > mainly use Fedora but thought someone here might be able to<br>>         help.<br>><br>
>         <a href="http://www.nsa.gov/selinux/info/list.cfm">http://www.nsa.gov/selinux/info/list.cfm</a><br>><br>><br>> Thank you, I saw that list but it said "SELinux Developers mailing<br>> list" and I'm not a developer so I thought that excluded me :)
<br><br>Nope.<br><br>> So if I remove the rule entirely, does that mean take it out of<br>> local.te?  The parts talking about hald.<br><br>Only one that is relevant to this assertion is the one between hald_t<br>and memory_device_t.
<br><br>--<br>Stephen Smalley<br>National Security Agency<br><br></blockquote></div>Ok, I have removed the hald_t memory_device part:<br><br>comatose:~# grep hald local.te<br>        type hald_t;<br>#============= hald_t ==============
<br>#allow hald_t memory_device_t:chr_file read;<br>allow hald_t var_t:file { read getattr };<br><br><br>comatose:~# checkmodule -M -m -o local.mod local.te<br>checkmodule:  loading policy configuration from local.te<br>checkmodule:  policy configuration loaded
<br>checkmodule:  writing binary representation (version 6) to local.mod<br>comatose:~# semodule_package -o local.pp -m local.mod<br>comatose:~# semodule -i local.pp<br>comatose:~#<br><br><br><br>Another question, does doing this audit2allow method sort of mean "I have no idea what I'm doing, so allow it all", or is that why  it caught the hald_t memory portion and said NO, don't do this!
<br>