void do_syscall_trace(struct pt_regs *regs, int entryexit) 
int do_syscall_trace(struct pt_regs *regs, int entryexit) 
void do_syscall_trace(struct pt_regs *regs, int entryexit){	/* do the secure computing check first */	secure_computing(regs->orig_eax);	if (unlikely(current->audit_context)) {		if (entryexit)			audit_syscall_exit(current, AUDITSC_RESULT(regs->eax), regs->eax);		/* Debug traps, when using PTRACE_SINGLESTEP, must be sent only		 * on the syscall exit path. Normally, when TIF_SYSCALL_AUDIT is		 * not used, entry.S will call us only on syscall exit, not		 * entry ; so when TIF_SYSCALL_AUDIT is used we must avoid		 * calling send_sigtrap() on syscall entry.		 */		else if (is_singlestep)			goto out;	}	if (!(current->ptrace & PT_PTRACED))		goto out;	/* Fake a debug trap */	if (test_thread_flag(TIF_SINGLESTEP))		send_sigtrap(current, regs, 0);	if (!test_thread_flag(TIF_SYSCALL_TRACE))		goto out;	/* the 0x80 provides a way for the tracing parent to distinguish	   between a syscall stop and SIGTRAP delivery */	ptrace_notify(SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) ? 0x80 : 0));	/*	 * this isn't the same as continuing with a signal, but it will do	 * for normal use.  strace only continues with a signal if the	 * stopping signal is not SIGTRAP.  -brl	 */	if (current->exit_code) {		send_sig(current->exit_code, current, 1);		current->exit_code = 0;	} out:	if (unlikely(current->audit_context) && !entryexit)		audit_syscall_entry(current, AUDIT_ARCH_I386, regs->orig_eax,				    regs->ebx, regs->ecx, regs->edx, regs->esi);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/ed75e8d58010fdc06e2c3a81bfbebae92314c7e3/ptrace.c/clean/arch/i386/kernel/ptrace.c