Deleted Added
full compact
exect.S (81586) exect.S (87006)
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

--- 22 unchanged lines hidden (view full) ---

31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#if defined(SYSLIBC_RCS) && !defined(lint)
38 .text
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

--- 22 unchanged lines hidden (view full) ---

31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 */
36
37#if defined(SYSLIBC_RCS) && !defined(lint)
38 .text
39 .asciz "$FreeBSD: head/lib/libc/i386/sys/exect.S 81586 2001-08-13 14:06:34Z ru $"
39 .asciz "$FreeBSD: head/lib/libc/i386/sys/exect.S 87006 2001-11-27 20:51:26Z jhb $"
40#endif /* SYSLIBC_RCS and not lint */
41
42#include "SYS.h"
43#include <machine/psl.h>
44
45ENTRY(exect)
40#endif /* SYSLIBC_RCS and not lint */
41
42#include "SYS.h"
43#include <machine/psl.h>
44
45ENTRY(exect)
46 lea SYS_execve,%eax
46 mov $SYS_execve,%eax
47 pushf
48 popl %edx
49 orl $ PSL_T,%edx
50 pushl %edx
51 popf
52 KERNCALL
53 PIC_PROLOGUE
54 jmp PIC_PLT(HIDENAME(cerror)) /* exect(file, argv, env); */
47 pushf
48 popl %edx
49 orl $ PSL_T,%edx
50 pushl %edx
51 popf
52 KERNCALL
53 PIC_PROLOGUE
54 jmp PIC_PLT(HIDENAME(cerror)) /* exect(file, argv, env); */