/*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * William Jolitz. * * %sccs.include.redist.c% */ #if defined(SYSLIBC_SCCS) && !defined(lint) .asciz "@(#)ptrace.s 5.1 (Berkeley) %G%" #endif /* SYSLIBC_SCCS and not lint */ #include "SYS.h" ENTRY(ptrace) xorl %eax,%eax movl %eax,_errno lea SYS_ptrace,%eax LCALL(7,0) jb err ret err: jmp cerror