<div>In the entrance and exit of syscall, there are two different functions in <em><font color="#cc0000">trap.c</font></em>:</div>
<div> </div>
<div><strong> AUDIT_SYSCALL_ENTER(code, td);</strong><br> error = (*callp->sy_call)(td, args);<br> <strong>AUDIT_SYSCALL_EXIT(error, td);</strong></div>
<div> </div>
<div>It is noted that the exit function <strong>AUDIT_SYSCALL_EXIT() </strong>is also in syscall <strong><u>exit()</u></strong>. Does this cause to two different audit records for syscall exit? or exit() will not return to
<em><font color="#cc0000">trap.c</font></em>?</div>
<div> </div>