summaryrefslogtreecommitdiffstats
path: root/linux-2.6-utrace-revert-make-ptrace-functions-static.patch
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-05-09 16:41:28 -0400
committerDave Jones <davej@redhat.com>2011-05-09 16:41:28 -0400
commit57671e4ed5e8ec1546c5b38222cee66d5ea32dee (patch)
tree6ca2b46de7b5d4092ea70f23b28a354c7720b4a6 /linux-2.6-utrace-revert-make-ptrace-functions-static.patch
parent9de65275ff9c115edcf583ed209f5d5c50fbbf1d (diff)
downloadkernel-57671e4ed5e8ec1546c5b38222cee66d5ea32dee.tar.gz
kernel-57671e4ed5e8ec1546c5b38222cee66d5ea32dee.tar.xz
kernel-57671e4ed5e8ec1546c5b38222cee66d5ea32dee.zip
adios utrace.
Diffstat (limited to 'linux-2.6-utrace-revert-make-ptrace-functions-static.patch')
-rw-r--r--linux-2.6-utrace-revert-make-ptrace-functions-static.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/linux-2.6-utrace-revert-make-ptrace-functions-static.patch b/linux-2.6-utrace-revert-make-ptrace-functions-static.patch
deleted file mode 100644
index 5e3dcc21d..000000000
--- a/linux-2.6-utrace-revert-make-ptrace-functions-static.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Revert:
-commit e3e89cc535223433a619d0969db3fa05cdd946b8
-("Mark ptrace_{traceme,attach,detach} static")
-
---- b/include/linux/ptrace.h
-+++ a/include/linux/ptrace.h
-@@ -102,8 +102,11 @@
-
- extern long arch_ptrace(struct task_struct *child, long request,
- unsigned long addr, unsigned long data);
-+extern int ptrace_traceme(void);
- extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
- extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
-+extern int ptrace_attach(struct task_struct *tsk);
-+extern int ptrace_detach(struct task_struct *, unsigned int);
- extern void ptrace_disable(struct task_struct *);
- extern int ptrace_check_attach(struct task_struct *task, int kill);
- extern int ptrace_request(struct task_struct *child, long request,
---- b/kernel/ptrace.c
-+++ a/kernel/ptrace.c
-@@ -163,7 +163,7 @@
- return !err;
- }
-
-+int ptrace_attach(struct task_struct *task)
--static int ptrace_attach(struct task_struct *task)
- {
- int retval;
-
-@@ -219,7 +219,7 @@
- * Performs checks and sets PT_PTRACED.
- * Should be used by all ptrace implementations for PTRACE_TRACEME.
- */
-+int ptrace_traceme(void)
--static int ptrace_traceme(void)
- {
- int ret = -EPERM;
-
-@@ -293,7 +293,7 @@
- return false;
- }
-
-+int ptrace_detach(struct task_struct *child, unsigned int data)
--static int ptrace_detach(struct task_struct *child, unsigned int data)
- {
- bool dead = false;
-