Deleted Added
full compact
sys_process.c (208555) sys_process.c (209390)
1/*-
2 * Copyright (c) 1994, Sean Eric Fagan
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

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994, Sean Eric Fagan
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

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/kern/sys_process.c 208555 2010-05-25 21:32:37Z jhb $");
33__FBSDID("$FreeBSD: head/sys/kern/sys_process.c 209390 2010-06-21 09:55:56Z ed $");
34
35#include "opt_compat.h"
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/lock.h>
40#include <sys/mutex.h>
41#include <sys/syscallsubr.h>

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

62#include <vm/vm_pager.h>
63#include <vm/vm_param.h>
64
65#ifdef COMPAT_FREEBSD32
66#include <sys/procfs.h>
67
68struct ptrace_io_desc32 {
69 int piod_op;
34
35#include "opt_compat.h"
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/lock.h>
40#include <sys/mutex.h>
41#include <sys/syscallsubr.h>

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

62#include <vm/vm_pager.h>
63#include <vm/vm_param.h>
64
65#ifdef COMPAT_FREEBSD32
66#include <sys/procfs.h>
67
68struct ptrace_io_desc32 {
69 int piod_op;
70 u_int32_t piod_offs;
71 u_int32_t piod_addr;
72 u_int32_t piod_len;
70 uint32_t piod_offs;
71 uint32_t piod_addr;
72 uint32_t piod_len;
73};
74
75struct ptrace_vm_entry32 {
76 int pve_entry;
77 int pve_timestamp;
78 uint32_t pve_start;
79 uint32_t pve_end;
80 uint32_t pve_offset;

--- 1130 unchanged lines hidden ---
73};
74
75struct ptrace_vm_entry32 {
76 int pve_entry;
77 int pve_timestamp;
78 uint32_t pve_start;
79 uint32_t pve_end;
80 uint32_t pve_offset;

--- 1130 unchanged lines hidden ---