rpms/kernel/devel kernel-2.6.spec, 1.3205, 1.3206 linux-2.6-proc-self-maps-fix.patch, 1.12, 1.13 linux-2.6-utrace.patch, 1.60, 1.61

Dave Jones (davej) fedora-extras-commits at redhat.com
Mon Jun 4 22:35:14 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24077

Modified Files:
	kernel-2.6.spec linux-2.6-proc-self-maps-fix.patch 
	linux-2.6-utrace.patch 
Log Message:
updated utrace.


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3205
retrieving revision 1.3206
diff -u -r1.3205 -r1.3206
--- kernel-2.6.spec	4 Jun 2007 21:58:09 -0000	1.3205
+++ kernel-2.6.spec	4 Jun 2007 22:34:01 -0000	1.3206
@@ -865,7 +865,7 @@
 # Patches 10 through 100 are meant for core subsystem upgrades
 
 # Roland's utrace ptrace replacement.
-#ApplyPatch linux-2.6-utrace.patch
+ApplyPatch linux-2.6-utrace.patch
 
 # Nouveau DRM
 #ApplyPatch nouveau-drm.patch

linux-2.6-proc-self-maps-fix.patch:

Index: linux-2.6-proc-self-maps-fix.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-proc-self-maps-fix.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- linux-2.6-proc-self-maps-fix.patch	4 Jun 2007 21:58:09 -0000	1.12
+++ linux-2.6-proc-self-maps-fix.patch	4 Jun 2007 22:34:01 -0000	1.13
@@ -1,16 +1,17 @@
 
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=165351
 
---- linux-2.6.21.noarch/fs/proc/base.c~	2007-06-04 17:56:24.000000000 -0400
-+++ linux-2.6.21.noarch/fs/proc/base.c	2007-06-04 17:56:59.000000000 -0400
-@@ -199,6 +199,27 @@ static int proc_root_link(struct inode *
- 	 (task->state == TASK_STOPPED || task->state == TASK_TRACED) && \
- 	 security_ptrace(current,task) == 0))
+Index: linux-2.6/fs/proc/base.c
+===================================================================
+--- linux-2.6.orig/fs/proc/base.c
++++ linux-2.6/fs/proc/base.c
+@@ -190,6 +190,26 @@ static int proc_root_link(struct inode *
+ 	return result;
+ }
  
 +struct mm_struct *mm_for_maps(struct task_struct *task)
 +{
 +	struct mm_struct *mm = get_task_mm(task);
-+
 +	if (!mm)
 +		return NULL;
 +	down_read(&mm->mmap_sem);

linux-2.6-utrace.patch:

Index: linux-2.6-utrace.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-utrace.patch,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- linux-2.6-utrace.patch	1 Jun 2007 23:37:01 -0000	1.60
+++ linux-2.6-utrace.patch	4 Jun 2007 22:34:01 -0000	1.61
@@ -6252,7 +6252,7 @@
  /*
   * For get_evrregs/set_evrregs functions 'data' has the following layout:
   *
-@@ -153,383 +264,459 @@ static inline int set_vrregs(struct task
+@@ -153,385 +264,459 @@ static inline int set_vrregs(struct task
   * }
   */
  
@@ -6425,6 +6425,7 @@
 -		regs->msr |= MSR_SE;
 -#endif
 -	}
+-	set_tsk_thread_flag(task, TIF_SINGLESTEP);
 -}
 +	if (regs == NULL)
 +		return -EIO;
@@ -6459,6 +6460,7 @@
 +				regs[pos] = *in;
 +		}
  	}
+-	clear_tsk_thread_flag(task, TIF_SINGLESTEP);
 +	else {
 +		const u32 __user *in = kbuf;
 +		for (; count > 0; count -= sizeof(u32), ++pos) {
@@ -7017,7 +7019,7 @@
  
  	if (unlikely(current->audit_context)) {
  #ifdef CONFIG_PPC64
-@@ -555,8 +742,11 @@ void do_syscall_trace_leave(struct pt_re
+@@ -557,8 +742,11 @@ void do_syscall_trace_leave(struct pt_re
  		audit_syscall_exit((regs->ccr&0x10000000)?AUDITSC_FAILURE:AUDITSC_SUCCESS,
  				   regs->result);
  




More information about the fedora-extras-commits mailing list