aboutsummaryrefslogtreecommitdiff
path: root/arch/um/sys-x86_64/shared/sysdep/skas_ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-x86_64/shared/sysdep/skas_ptrace.h')
-rw-r--r--arch/um/sys-x86_64/shared/sysdep/skas_ptrace.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/um/sys-x86_64/shared/sysdep/skas_ptrace.h b/arch/um/sys-x86_64/shared/sysdep/skas_ptrace.h
new file mode 100644
index 00000000000..95db4be786e
--- /dev/null
+++ b/arch/um/sys-x86_64/shared/sysdep/skas_ptrace.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __SYSDEP_X86_64_SKAS_PTRACE_H
+#define __SYSDEP_X86_64_SKAS_PTRACE_H
+
+struct ptrace_faultinfo {
+ int is_write;
+ unsigned long addr;
+};
+
+struct ptrace_ldt {
+ int func;
+ void *ptr;
+ unsigned long bytecount;
+};
+
+#define PTRACE_LDT 54
+
+#endif