[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kernel/devel linux-2.6-proc-self-maps-fix.patch,1.1,1.2



Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22173

Modified Files:
	linux-2.6-proc-self-maps-fix.patch 
Log Message:
build fix


linux-2.6-proc-self-maps-fix.patch:
 b/fs/proc/base.c                    |   20 ++++++++++++++++++++
 b/fs/proc/internal.h                |    2 ++
 b/fs/proc/task_mmu.c                |    3 +--
 b/include/linux/proc_fs.h           |    0 
 b/include/linux/ptrace.h            |    1 +
 b/kernel/ptrace.c                   |    4 ++--
 linux-2.6.16.noarch/kernel/ptrace.c |    2 +-
 7 files changed, 27 insertions(+), 5 deletions(-)

Index: linux-2.6-proc-self-maps-fix.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-proc-self-maps-fix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6-proc-self-maps-fix.patch	10 Apr 2006 19:21:19 -0000	1.1
+++ linux-2.6-proc-self-maps-fix.patch	10 Apr 2006 19:37:46 -0000	1.2
@@ -99,3 +99,14 @@
  	return !err;
  }
 
+--- linux-2.6.16.noarch/kernel/ptrace.c~	2006-04-10 14:36:15.000000000 -0500
++++ linux-2.6.16.noarch/kernel/ptrace.c	2006-04-10 14:36:30.000000000 -0500
+@@ -160,7 +160,7 @@ int ptrace_attach(struct task_struct *ta
+ 	/* the same process cannot be attached many times */
+ 	if (task->ptrace & PT_PTRACED)
+ 		goto bad;
+-	retval = may_attach(task);
++	retval = __ptrace_may_attach(task);
+ 	if (retval)
+ 		goto bad;
+ 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]