NOBODY help me???<br><br>
<div><span class="gmail_quote">On 11/4/05, <b class="gmail_sendername">Yuan MailList</b> &lt;<a href="mailto:yuan.maillist@gmail.com">yuan.maillist@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Some puzzles following as:</div>
<div>---------------------------------------------------------------------</div>
<div>&nbsp;</div>
<div>1. What is invalid class in openbsm? Why audit pipe in src?</div>
<p>In BSM, no is the invalid class. Events mapped to this class are not audited. Events mapped solely to the no class are not audited, even if the all class is turned on. [refs to &quot;SunSHIELD Basic Security Module Guide&quot; ] 
</p>
<p>And system call - pipe(2) - is just in this class [refers to the file contrib/bsm/etc/audit_event, 185:AUE_PIPE:pipe(2):no]</p>
<p>It means that pipe(2) should not be audited. But in the source codes of&nbsp; trusted_audit3, this syscall is audited. Should you remove it away and not audit this syscall? </p>
<p>2. Why not audit syscall write(2)/writev/dup2 in trusted_audit3? </p>
<div>I think these syscalls are important for system security and should be audited. For security, the events of write and modify to files are more important than those of read to files.&nbsp; Is it right? :-)</div>
<div>&nbsp;</div>
<div>3. In BSM, there is a news syscall auditsvc(). Will this syscall is added to&nbsp;&nbsp;trusted_audit3?</div>
<div>&nbsp;</div>
<div>4. In the src file sys/security/audit/kern_bsm_audit.c (lines 567):</div>
<div>&nbsp;</div>
<div>&nbsp;case AUE_CLOSE:<br>&nbsp;&nbsp;tok = au_to_arg32(2, &quot;fd&quot;, ar-&gt;ar_arg_fd);</div>
<div>&nbsp;</div>
<div>I think it should be:</div>
<div>&nbsp; 
<div>&nbsp;case AUE_CLOSE:<br>&nbsp;&nbsp;tok = au_to_arg32(1, &quot;fd&quot;, ar-&gt;ar_arg_fd);</div>
<div>&nbsp;</div></div>
<div>----------------------------------------------------------------------------------------</div>
<div>&nbsp;</div>
<div>Could somebody give me answers for above questions?</div>
<div>&nbsp;</div>
<div>&nbsp;</div></blockquote></div><br>