linux_ptrace.c (208833) | linux_ptrace.c (246085) |
---|---|
1/*- 2 * Copyright (c) 2001 Alexander Kabaev 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 --- 13 unchanged lines hidden (view full) --- 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001 Alexander Kabaev 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 --- 13 unchanged lines hidden (view full) --- 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/sys/i386/linux/linux_ptrace.c 208833 2010-06-05 15:59:59Z kib $"); | 30__FBSDID("$FreeBSD: head/sys/i386/linux/linux_ptrace.c 246085 2013-01-29 18:41:30Z jhb $"); |
31 32#include "opt_cpu.h" 33 34#include <sys/param.h> 35#include <sys/lock.h> 36#include <sys/mutex.h> 37#include <sys/proc.h> 38#include <sys/ptrace.h> 39#include <sys/syscallsubr.h> 40#include <sys/systm.h> 41 42#include <machine/md_var.h> 43#include <machine/pcb.h> 44#include <machine/reg.h> 45 46#include <i386/linux/linux.h> 47#include <i386/linux/linux_proto.h> | 31 32#include "opt_cpu.h" 33 34#include <sys/param.h> 35#include <sys/lock.h> 36#include <sys/mutex.h> 37#include <sys/proc.h> 38#include <sys/ptrace.h> 39#include <sys/syscallsubr.h> 40#include <sys/systm.h> 41 42#include <machine/md_var.h> 43#include <machine/pcb.h> 44#include <machine/reg.h> 45 46#include <i386/linux/linux.h> 47#include <i386/linux/linux_proto.h> |
48#include <compat/linux/linux_signal.h> |
|
48 49#if !defined(CPU_DISABLE_SSE) && defined(I686_CPU) 50#define CPU_ENABLE_SSE 51#endif 52 53/* 54 * Linux ptrace requests numbers. Mostly identical to FreeBSD, 55 * except for MD ones and PT_ATTACH/PT_DETACH. --- 431 unchanged lines hidden --- | 49 50#if !defined(CPU_DISABLE_SSE) && defined(I686_CPU) 51#define CPU_ENABLE_SSE 52#endif 53 54/* 55 * Linux ptrace requests numbers. Mostly identical to FreeBSD, 56 * except for MD ones and PT_ATTACH/PT_DETACH. --- 431 unchanged lines hidden --- |