1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 */ 32 33#if defined(SYSLIBC_SCCS) && !defined(lint) 34 .asciz "@(#)exect.s 5.1 (Berkeley) 4/23/90" 35#endif /* SYSLIBC_SCCS and not lint */ 36#include <machine/asm.h> |
37__FBSDID("$FreeBSD: head/lib/libc/i386/sys/exect.S 184548 2008-11-02 01:28:47Z peter $"); |
38 39#include "SYS.h" 40#include <machine/psl.h> 41 42ENTRY(exect) 43 mov $SYS_execve,%eax 44 pushf 45 popl %edx 46 orl $ PSL_T,%edx 47 pushl %edx 48 popf 49 KERNCALL 50 PIC_PROLOGUE 51 jmp PIC_PLT(HIDENAME(cerror)) /* exect(file, argv, env); */ |
52END(exect) |