rpms/kernel/devel kernel.spec, 1.870, 1.871 linux-2.6-utrace.patch, 1.89, 1.90 linux-2.6-x86-tracehook.patch, 1.6, 1.7
Roland McGrath (roland)
fedora-extras-commits at redhat.com
Mon Aug 11 18:06:34 UTC 2008
- Previous message (by thread): rpms/jsr-305/F-9 jsr-305.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/NetworkManager/F-9 NetworkManager.spec, 1.234, 1.235 sources, 1.117, 1.118
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: roland
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1604
Modified Files:
kernel.spec linux-2.6-utrace.patch
linux-2.6-x86-tracehook.patch
Log Message:
utrace update
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.870
retrieving revision 1.871
diff -u -r1.870 -r1.871
--- kernel.spec 9 Aug 2008 17:18:33 -0000 1.870
+++ kernel.spec 11 Aug 2008 18:06:04 -0000 1.871
@@ -995,8 +995,8 @@
ApplyPatch linux-2.6-hotfixes.patch
# Roland's utrace ptrace replacement.
-#ApplyPatch linux-2.6-utrace.patch
-#ApplyPatch linux-2.6-x86-tracehook.patch
+ApplyPatch linux-2.6-utrace.patch
+ApplyPatch linux-2.6-x86-tracehook.patch
# enable sysrq-c on all kernels, not only kexec
ApplyPatch linux-2.6-sysrq-c.patch
@@ -1736,6 +1736,9 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Mon Aug 11 2008 Roland McGrath <roland at redhat.com>
+- utrace update
+
* Sat Aug 09 2008 Dave Jones <davej at redhat.com>
- 2.6.27-rc2-git4
- Temporarily disable utrace.
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.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- linux-2.6-utrace.patch 9 Aug 2008 17:18:33 -0000 1.89
+++ linux-2.6-utrace.patch 11 Aug 2008 18:06:04 -0000 1.90
@@ -9,8 +9,8 @@
kernel/Makefile | 1 +
kernel/ptrace.c | 604 +++++++++-
kernel/signal.c | 14 +-
- kernel/utrace.c | 2531 +++++++++++++++++++++++++++++++++++++
- 12 files changed, 4541 insertions(+), 7 deletions(-)
+ kernel/utrace.c | 2515 +++++++++++++++++++++++++++++++++++++
+ 12 files changed, 4525 insertions(+), 7 deletions(-)
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 1d1b345..1ca1628 100644
@@ -2428,10 +2428,10 @@
struct pt_regs *regs, void *cookie)
diff --git a/kernel/utrace.c b/kernel/utrace.c
new file mode 100644
-index ...f4851b2 100644
+index ...df7229c 100644
--- /dev/null
+++ b/kernel/utrace.c
-@@ -0,0 +1,2531 @@
+@@ -0,0 +1,2515 @@
+/*
+ * utrace infrastructure interface for debugging user processes
+ *
@@ -2846,19 +2846,6 @@
+}
+EXPORT_SYMBOL_GPL(utrace_attach_pid);
+
-+static void __list_splice_tail(const struct list_head *list,
-+ struct list_head *head)
-+{
-+ struct list_head *first = list->next;
-+ struct list_head *last = list->prev;
-+ struct list_head *at = head->prev;
-+
-+ at->next = first;
-+ first->prev = at;
-+ last->next = head;
-+ head->prev = last;
-+}
-+
+/*
+ * This is called with @utrace->lock held when the task is safely
+ * quiescent, i.e. it won't consult utrace->attached without the lock.
@@ -2867,10 +2854,7 @@
+ */
+static void splice_attaching(struct utrace *utrace)
+{
-+ if (unlikely(!list_empty(&utrace->attaching))) {
-+ __list_splice_tail(&utrace->attaching, &utrace->attached);
-+ INIT_LIST_HEAD(&utrace->attaching);
-+ }
++ list_splice_tail_init(&utrace->attaching, &utrace->attached);
+}
+
+/*
linux-2.6-x86-tracehook.patch:
Index: linux-2.6-x86-tracehook.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-x86-tracehook.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- linux-2.6-x86-tracehook.patch 9 Aug 2008 17:18:33 -0000 1.6
+++ linux-2.6-x86-tracehook.patch 11 Aug 2008 18:06:04 -0000 1.7
@@ -8,7 +8,7 @@
7 files changed, 248 insertions(+), 66 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
-index b6fa287..f463a8a 100644
+index 3d0f2b6..78d3bbf 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -30,6 +30,7 @@ config X86
@@ -16,9 +16,9 @@
select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
select HAVE_ARCH_KGDB if !X86_VOYAGER
+ select HAVE_ARCH_TRACEHOOK
+ select HAVE_GENERIC_DMA_COHERENT if X86_32
select HAVE_EFFICIENT_UNALIGNED_ACCESS
- config ARCH_DEFCONFIG
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
index e37dccc..19a7d2c 100644
--- a/arch/x86/kernel/ptrace.c
- Previous message (by thread): rpms/jsr-305/F-9 jsr-305.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/NetworkManager/F-9 NetworkManager.spec, 1.234, 1.235 sources, 1.117, 1.118
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list