if(!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP + 0x80)) panic("check_ptrace : expected SIGTRAP + 0x80, " 
if(!WIFSTOPPED(status) || (WSTOPSIG(status) != (SIGTRAP|0x80))) panic("check_ptrace : expected (SIGTRAP|0x80), " 
static void __init check_ptrace(void){	void *stack;	int pid, syscall, n, status;	printk("Checking that ptrace can change system call numbers...");	pid = start_ptraced_child(&stack);	if(ptrace(PTRACE_OLDSETOPTIONS, pid, 0, (void *)PTRACE_O_TRACESYSGOOD) < 0)		panic("check_ptrace: PTRACE_OLDSETOPTIONS failed, errno = %d", errno);	while(1){		if(ptrace(PTRACE_SYSCALL, pid, 0, 0) < 0)			panic("check_ptrace : ptrace failed, errno = %d",			      errno);		CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED));		if(n < 0)			panic("check_ptrace : wait failed, errno = %d", errno);		if(!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP + 0x80))			panic("check_ptrace : expected SIGTRAP + 0x80, "			      "got status = %d", status);		syscall = ptrace(PTRACE_PEEKUSR, pid, PT_SYSCALL_NR_OFFSET,				 0);		if(syscall == __NR_getpid){			n = ptrace(PTRACE_POKEUSR, pid, PT_SYSCALL_NR_OFFSET,				   __NR_getppid);			if(n < 0)				panic("check_ptrace : failed to modify system "				      "call, errno = %d", errno);			break;		}	}	stop_ptraced_child(pid, stack, 0, 1);	printk("OK\n");	check_sysemu();}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f9dfefe423a7633d81310c7b06c5566c74f9167b/start_up.c/clean/arch/um/os-Linux/start_up.c