Deleted Added
full compact
imgact_aout.c (220373) imgact_aout.c (223164)
1/*-
2 * Copyright (c) 1993, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1993, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/kern/imgact_aout.c 220373 2011-04-05 20:23:59Z trasz $");
28__FBSDID("$FreeBSD: head/sys/kern/imgact_aout.c 223164 2011-06-16 21:59:16Z kib $");
29
30#include <sys/param.h>
31#include <sys/exec.h>
32#include <sys/imgact.h>
33#include <sys/imgact_aout.h>
34#include <sys/kernel.h>
35#include <sys/limits.h>
36#include <sys/lock.h>

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

98 .sv_set_syscall_retval = cpu_set_syscall_retval,
99 .sv_fetch_syscall_args = cpu_fetch_syscall_args,
100 .sv_syscallnames = syscallnames,
101 .sv_schedtail = NULL,
102};
103
104#elif defined(__amd64__)
105
29
30#include <sys/param.h>
31#include <sys/exec.h>
32#include <sys/imgact.h>
33#include <sys/imgact_aout.h>
34#include <sys/kernel.h>
35#include <sys/limits.h>
36#include <sys/lock.h>

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

98 .sv_set_syscall_retval = cpu_set_syscall_retval,
99 .sv_fetch_syscall_args = cpu_fetch_syscall_args,
100 .sv_syscallnames = syscallnames,
101 .sv_schedtail = NULL,
102};
103
104#elif defined(__amd64__)
105
106#define AOUT32_USRSTACK 0xbfc0000
106#define AOUT32_USRSTACK 0xbfc00000
107#define AOUT32_PS_STRINGS \
108 (AOUT32_USRSTACK - sizeof(struct freebsd32_ps_strings))
109
110extern const char *freebsd32_syscallnames[];
111extern u_long ia32_maxssiz;
112
113struct sysentvec aout_sysvec = {
114 .sv_size = FREEBSD32_SYS_MAXSYSCALL,

--- 228 unchanged lines hidden ---
107#define AOUT32_PS_STRINGS \
108 (AOUT32_USRSTACK - sizeof(struct freebsd32_ps_strings))
109
110extern const char *freebsd32_syscallnames[];
111extern u_long ia32_maxssiz;
112
113struct sysentvec aout_sysvec = {
114 .sv_size = FREEBSD32_SYS_MAXSYSCALL,

--- 228 unchanged lines hidden ---