diff options
-rw-r--r-- | utrace.patch | 1652 |
1 files changed, 713 insertions, 939 deletions
diff --git a/utrace.patch b/utrace.patch index 576c737f3..060d351e5 100644 --- a/utrace.patch +++ b/utrace.patch @@ -1,39 +1,38 @@ From davej Wed Aug 3 15:16:11 2011 +From oleg@redhat.com Mon Nov 21 15:06:14 2011 Return-Path: oleg@redhat.com -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:11 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:15:37 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:14 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 92D6F9D8C5; - Wed, 3 Aug 2011 15:12:08 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id RRq2PiCBdMzK; Wed, 3 Aug 2011 15:12:08 -0400 (EDT) -Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 75C149D898; - Wed, 3 Aug 2011 15:12:08 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 9A1F8D50F1; + Mon, 21 Nov 2011 15:06:14 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id gJzpul4rDNnA; Mon, 21 Nov 2011 15:06:14 -0500 (EST) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7DD4BD50EA; + Mon, 21 Nov 2011 15:06:14 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JC01d029136; - Wed, 3 Aug 2011 15:12:01 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6BJJ022074; + Mon, 21 Nov 2011 15:06:12 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:28 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:26 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:32 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:30 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 01/31] utrace core -Message-ID: <20110803190926.GA30903@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 01/33] utrace core +Message-ID: <20111121200130.GA27756@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO Content-Length: 139951 Lines: 3867 @@ -711,10 +710,10 @@ index 3a1dafd..f0c0ea2 100644 if (p->files) fdt = files_fdtable(p->files); diff --git a/include/linux/sched.h b/include/linux/sched.h -index 20b03bf..c6d79af 100644 +index 68daf4f..4d45f93 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1406,6 +1406,11 @@ struct task_struct { +@@ -1403,6 +1403,11 @@ struct task_struct { #endif seccomp_t seccomp; @@ -1425,7 +1424,7 @@ index 0000000..f251efe + +#endif /* linux/utrace.h */ diff --git a/init/Kconfig b/init/Kconfig -index d627783..7afce1f 100644 +index 43298f9..3f670e5 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -372,6 +372,15 @@ config AUDIT_TREE @@ -1445,7 +1444,7 @@ index d627783..7afce1f 100644 menu "RCU Subsystem" diff --git a/kernel/Makefile b/kernel/Makefile -index d06467f..85828da 100644 +index e898c5b..e43bbfb 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -68,6 +68,7 @@ obj-$(CONFIG_IKCONFIG) += configs.o @@ -3906,47 +3905,40 @@ index 0000000..ef856c9 1.5.5.1 -From davej Wed Aug 3 15:16:13 2011 +From oleg@redhat.com Mon Nov 21 15:06:17 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:13 -0400 (EDT) Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:15:37 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:17 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 419B39D8CF; - Wed, 3 Aug 2011 15:12:11 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 1CCED128D6B; + Mon, 21 Nov 2011 15:06:17 -0500 (EST) Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id AmaThyCcp1K4; Wed, 3 Aug 2011 15:12:11 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 2A0B29CE59; - Wed, 3 Aug 2011 15:12:11 -0400 (EDT) + with ESMTP id FWdJDV74o-ay; Mon, 21 Nov 2011 15:06:17 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 082081285E4; + Mon, 21 Nov 2011 15:06:17 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JC3DW023262; - Wed, 3 Aug 2011 15:12:04 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6E7d015251; + Mon, 21 Nov 2011 15:06:15 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:31 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:29 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:35 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:33 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 02/31] utrace: add utrace_init_task/utrace_free_task calls -Message-ID: <20110803190929.GA30907@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 02/33] utrace: add utrace_init_task/utrace_free_task calls +Message-ID: <20111121200133.GA27759@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO Content-Length: 1295 Lines: 47 @@ -3966,7 +3958,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/kernel/fork.c b/kernel/fork.c -index e7ceaca..a9891da 100644 +index ba0d172..b8719c2 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -66,6 +66,7 @@ @@ -3986,7 +3978,7 @@ index e7ceaca..a9891da 100644 free_task_struct(tsk); } EXPORT_SYMBOL(free_task); -@@ -1096,6 +1099,8 @@ static struct task_struct *copy_process(unsigned long clone_flags, +@@ -1093,6 +1096,8 @@ static struct task_struct *copy_process(unsigned long clone_flags, if (!p) goto fork_out; @@ -3999,47 +3991,40 @@ index e7ceaca..a9891da 100644 1.5.5.1 -From davej Wed Aug 3 15:16:18 2011 +From oleg@redhat.com Mon Nov 21 15:06:20 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:18 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:07 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:20 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id F28379DE70; - Wed, 3 Aug 2011 15:12:13 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id p92IDp0LZ5jX; Wed, 3 Aug 2011 15:12:13 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D4E339DE68; - Wed, 3 Aug 2011 15:12:13 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 8779AD87BC; + Mon, 21 Nov 2011 15:06:20 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id umzAMwRd7rMt; Mon, 21 Nov 2011 15:06:20 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 72C98D8707; + Mon, 21 Nov 2011 15:06:20 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JC6IA023283; - Wed, 3 Aug 2011 15:12:07 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6HAj015261; + Mon, 21 Nov 2011 15:06:18 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:34 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:32 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:39 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:36 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 03/31] tracehooks: add utrace hooks -Message-ID: <20110803190932.GA30915@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 03/33] tracehooks: add utrace hooks +Message-ID: <20111121200136.GA27766@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO Content-Length: 2310 Lines: 75 @@ -4120,48 +4105,41 @@ index a71a292..8cc28bc 100644 1.5.5.1 -From davej Wed Aug 3 15:16:14 2011 +From oleg@redhat.com Mon Nov 21 15:06:23 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:14 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:15:37 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:23 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 92FCA9D8FA; - Wed, 3 Aug 2011 15:12:16 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id lQaZCHUpw8DT; Wed, 3 Aug 2011 15:12:16 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7479B9D8C9; - Wed, 3 Aug 2011 15:12:16 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 6559BD4FDE; + Mon, 21 Nov 2011 15:06:23 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 6BjISiO+cS1U; Mon, 21 Nov 2011 15:06:23 -0500 (EST) +Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 50366D4C39; + Mon, 21 Nov 2011 15:06:23 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JC91G023308; - Wed, 3 Aug 2011 15:12:09 -0400 + by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6KT9017533; + Mon, 21 Nov 2011 15:06:21 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:37 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:35 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:42 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:39 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 04/31] tracehooks: reintroduce +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 04/33] tracehooks: reintroduce tracehook_consider_fatal_signal() -Message-ID: <20110803190935.GA30918@redhat.com> +Message-ID: <20111121200139.GA27769@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Status: RO Content-Length: 3257 Lines: 90 @@ -4177,7 +4155,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c -index ffabcd9..1018ab6 100644 +index a9807dd..f506e1b 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c @@ -329,7 +329,7 @@ void __kprobes do_per_trap(struct pt_regs *regs) @@ -4189,7 +4167,7 @@ index ffabcd9..1018ab6 100644 return; info.si_signo = SIGTRAP; info.si_errno = 0; -@@ -428,7 +428,7 @@ static void __kprobes illegal_op(struct pt_regs *regs, long pgm_int_code, +@@ -429,7 +429,7 @@ static void __kprobes illegal_op(struct pt_regs *regs, long pgm_int_code, if (get_user(*((__u16 *) opcode), (__u16 __user *) location)) return; if (*((__u16 *) opcode) == S390_BREAKPOINT_U16) { @@ -4232,7 +4210,7 @@ index 8cc28bc..ec2af67 100644 /** * set_notify_resume - cause tracehook_notify_resume() to be called diff --git a/kernel/signal.c b/kernel/signal.c -index 291c970..d7ef0da 100644 +index b3f78d0..d7b90cd 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -494,7 +494,7 @@ int unhandled_signal(struct task_struct *tsk, int sig) @@ -4257,46 +4235,39 @@ index 291c970..d7ef0da 100644 1.5.5.1 -From davej Wed Aug 3 15:16:20 2011 +From oleg@redhat.com Mon Nov 21 15:06:26 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:20 -0400 (EDT) Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:08 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:25 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 374FE9DE74; - Wed, 3 Aug 2011 15:12:19 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E7A2DD498A; + Mon, 21 Nov 2011 15:06:25 -0500 (EST) Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id Sun0Twp72xGV; Wed, 3 Aug 2011 15:12:19 -0400 (EDT) + with ESMTP id 4L9zskFVsr4I; Mon, 21 Nov 2011 15:06:25 -0500 (EST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 223E39DD25; - Wed, 3 Aug 2011 15:12:19 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D3487D4C39; + Mon, 21 Nov 2011 15:06:25 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCBgK008326; - Wed, 3 Aug 2011 15:12:12 -0400 + by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6Nnp017552; + Mon, 21 Nov 2011 15:06:24 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:39 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:37 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:44 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:42 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 05/31] add utrace hooks into sig_ignored() and +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 05/33] add utrace hooks into sig_ignored() and recalc_sigpending() -Message-ID: <20110803190937.GA30926@redhat.com> +Message-ID: <20111121200142.GA27777@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Status: RO @@ -4327,7 +4298,7 @@ index f251efe..1b8da1c 100644 /* diff --git a/kernel/signal.c b/kernel/signal.c -index d7ef0da..0f9af0b 100644 +index d7b90cd..8594cb2 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -87,7 +87,7 @@ static int sig_ignored(struct task_struct *t, int sig, int from_ancestor_ns) @@ -4355,45 +4326,38 @@ index d7ef0da..0f9af0b 100644 1.5.5.1 -From davej Wed Aug 3 15:16:21 2011 +From oleg@redhat.com Mon Nov 21 15:06:28 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:21 -0400 (EDT) Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:09 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:28 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 054279DE7D; - Wed, 3 Aug 2011 15:12:22 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 6E4A6D4F4A; + Mon, 21 Nov 2011 15:06:28 -0500 (EST) Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 1BosZIzYSIW0; Wed, 3 Aug 2011 15:12:21 -0400 (EDT) + with ESMTP id vEeGLyK1+rX9; Mon, 21 Nov 2011 15:06:28 -0500 (EST) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E41DC9DE7B; - Wed, 3 Aug 2011 15:12:21 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 5AD50D4C39; + Mon, 21 Nov 2011 15:06:28 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JCEgD022264; - Wed, 3 Aug 2011 15:12:15 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6QOB029543; + Mon, 21 Nov 2011 15:06:26 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:42 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:40 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:47 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:45 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 06/31] restore the EXEC/EXIT/CLONE utrace hooks -Message-ID: <20110803190940.GA30929@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 06/33] restore the EXEC/EXIT/CLONE utrace hooks +Message-ID: <20111121200145.GA27780@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO @@ -4412,10 +4376,10 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 4 files changed, 15 insertions(+), 1 deletions(-) diff --git a/fs/exec.c b/fs/exec.c -index da80612..a0814cd 100644 +index 3625464..7d8f8bd 100644 --- a/fs/exec.c +++ b/fs/exec.c -@@ -1401,9 +1401,12 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs) +@@ -1397,9 +1397,12 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs) */ bprm->recursion_depth = depth; if (retval >= 0) { @@ -4447,10 +4411,10 @@ index 1b8da1c..9ac0b1b 100644 /* diff --git a/kernel/exit.c b/kernel/exit.c -index 2913b35..c1b0ab6 100644 +index d0b7d98..f5eba3b 100644 --- a/kernel/exit.c +++ b/kernel/exit.c -@@ -913,6 +913,7 @@ NORET_TYPE void do_exit(long code) +@@ -911,6 +911,7 @@ NORET_TYPE void do_exit(long code) */ set_fs(USER_DS); @@ -4459,10 +4423,10 @@ index 2913b35..c1b0ab6 100644 validate_creds_for_do_exit(tsk); diff --git a/kernel/fork.c b/kernel/fork.c -index a9891da..37f4a07 100644 +index b8719c2..09d5049 100644 --- a/kernel/fork.c +++ b/kernel/fork.c -@@ -1539,6 +1539,8 @@ long do_fork(unsigned long clone_flags, +@@ -1535,6 +1535,8 @@ long do_fork(unsigned long clone_flags, audit_finish_fork(p); @@ -4471,7 +4435,7 @@ index a9891da..37f4a07 100644 /* * We set PF_STARTING at creation in case tracing wants to * use this to distinguish a fully live task from one that -@@ -1550,6 +1552,8 @@ long do_fork(unsigned long clone_flags, +@@ -1546,6 +1548,8 @@ long do_fork(unsigned long clone_flags, wake_up_new_task(p); /* forking complete and child started to run, tell ptracer */ @@ -4484,48 +4448,41 @@ index a9891da..37f4a07 100644 1.5.5.1 -From davej Wed Aug 3 15:16:23 2011 +From oleg@redhat.com Mon Nov 21 15:06:30 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:23 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:13 -0400 (EDT) +Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO + zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:30 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B36EC9DE82; - Wed, 3 Aug 2011 15:12:24 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 7Qqv+lXfqHw6; Wed, 3 Aug 2011 15:12:24 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 9F8AF9DD25; - Wed, 3 Aug 2011 15:12:24 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D248D1284E0; + Mon, 21 Nov 2011 15:06:30 -0500 (EST) +Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id divvekTmLScS; Mon, 21 Nov 2011 15:06:30 -0500 (EST) +Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id BDC9412800E; + Mon, 21 Nov 2011 15:06:30 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCH0U023349; - Wed, 3 Aug 2011 15:12:17 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6Shj029546; + Mon, 21 Nov 2011 15:06:29 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:45 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:43 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:49 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:47 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 07/31] utrace: utrace_report_death() can use +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 07/33] utrace: utrace_report_death() can use task_utrace_struct() -Message-ID: <20110803190943.GA30936@redhat.com> +Message-ID: <20111121200147.GA27787@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO Content-Length: 1692 Lines: 44 @@ -4575,45 +4532,38 @@ index ef856c9..1e750ad 100644 1.5.5.1 -From davej Wed Aug 3 15:16:15 2011 +From oleg@redhat.com Mon Nov 21 15:06:33 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:15 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:15:39 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:33 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 76DA49D9C7; - Wed, 3 Aug 2011 15:12:27 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 25xHJjCTouA4; Wed, 3 Aug 2011 15:12:27 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 62E1BD50A3; + Mon, 21 Nov 2011 15:06:33 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id FB36YkOAHDc5; Mon, 21 Nov 2011 15:06:33 -0500 (EST) Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 490E79D9AB; - Wed, 3 Aug 2011 15:12:27 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 4D161D4C39; + Mon, 21 Nov 2011 15:06:33 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCKXo023360; - Wed, 3 Aug 2011 15:12:20 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6VBW022130; + Mon, 21 Nov 2011 15:06:31 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:47 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:45 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:52 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:50 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 08/31] restore the DEATH/REAP utrace hooks -Message-ID: <20110803190945.GA30939@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 08/33] restore the DEATH/REAP utrace hooks +Message-ID: <20111121200150.GA27790@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO @@ -4666,7 +4616,7 @@ index 9a2e2f4..cf13839 100644 + #endif /* linux/utrace.h */ diff --git a/kernel/exit.c b/kernel/exit.c -index c1b0ab6..ba5ba22 100644 +index f5eba3b..746c5df 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -168,6 +168,8 @@ void release_task(struct task_struct * p) @@ -4678,7 +4628,7 @@ index c1b0ab6..ba5ba22 100644 /* don't need to get the RCU readlock here - the process is dead and * can't be modifying its own credentials. But shut RCU-lockdep up */ rcu_read_lock(); -@@ -860,6 +862,8 @@ static void exit_notify(struct task_struct *tsk, int group_dead) +@@ -858,6 +860,8 @@ static void exit_notify(struct task_struct *tsk, int group_dead) wake_up_process(tsk->signal->group_exit_task); write_unlock_irq(&tasklist_lock); @@ -4691,47 +4641,40 @@ index c1b0ab6..ba5ba22 100644 1.5.5.1 -From davej Wed Aug 3 15:22:02 2011 +From oleg@redhat.com Mon Nov 21 15:06:35 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:22:02 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:17:16 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:35 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 26DB69DE8C; - Wed, 3 Aug 2011 15:12:30 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id DbxGfmFvtTiR; Wed, 3 Aug 2011 15:12:30 -0400 (EDT) -Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 0A30A9DE91; - Wed, 3 Aug 2011 15:12:30 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D4AB3D8761; + Mon, 21 Nov 2011 15:06:35 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id TiShkH1f6rnj; Mon, 21 Nov 2011 15:06:35 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id BCB85D877F; + Mon, 21 Nov 2011 15:06:35 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCMDQ008389; - Wed, 3 Aug 2011 15:12:23 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6XNu015312; + Mon, 21 Nov 2011 15:06:34 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:50 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:48 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:54 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:52 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 09/31] utrace: remove jobctl bits -Message-ID: <20110803190948.GA30942@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 09/33] utrace: remove jobctl bits +Message-ID: <20111121200152.GA27793@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO Content-Length: 1888 Lines: 56 @@ -4793,47 +4736,40 @@ index 1e750ad..5d3974e 100644 1.5.5.1 -From davej Wed Aug 3 15:16:17 2011 +From oleg@redhat.com Mon Nov 21 15:06:38 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:17 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:15:52 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:38 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id AB6E39DA46; - Wed, 3 Aug 2011 15:12:32 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id LkzmRGslEelr; Wed, 3 Aug 2011 15:12:32 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 959659DA60; - Wed, 3 Aug 2011 15:12:32 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 425CED8707; + Mon, 21 Nov 2011 15:06:38 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 9paRC+dwSflh; Mon, 21 Nov 2011 15:06:38 -0500 (EST) +Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 2DDBCD8410; + Mon, 21 Nov 2011 15:06:38 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCPx7023400; - Wed, 3 Aug 2011 15:12:25 -0400 + by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6a31031355; + Mon, 21 Nov 2011 15:06:36 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:53 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:51 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:56 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:55 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 10/31] ptrace: take ->siglock around s/TRACED/RUNNING/ -Message-ID: <20110803190951.GA30949@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 10/33] ptrace: take ->siglock around s/TRACED/RUNNING/ +Message-ID: <20111121200155.GA27801@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Status: RO Content-Length: 1624 Lines: 56 @@ -4851,7 +4787,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index 9de3ecf..56b8fc1 100644 +index 24d0447..daf47bc 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -589,6 +589,8 @@ static int ptrace_setsiginfo(struct task_struct *child, const siginfo_t *info) @@ -4877,10 +4813,10 @@ index 9de3ecf..56b8fc1 100644 return 0; } diff --git a/kernel/signal.c b/kernel/signal.c -index 0f9af0b..71f5cca 100644 +index 8594cb2..4512bb4 100644 --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1878,7 +1878,10 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) +@@ -1886,7 +1886,10 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) if (gstop_done) do_notify_parent_cldstop(current, false, why); @@ -4895,47 +4831,40 @@ index 0f9af0b..71f5cca 100644 1.5.5.1 -From davej Wed Aug 3 15:16:37 2011 +From oleg@redhat.com Mon Nov 21 15:06:40 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:37 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:29 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:40 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 5034E9DEA4; - Wed, 3 Aug 2011 15:12:35 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 8BhFlmqmXy8l; Wed, 3 Aug 2011 15:12:35 -0400 (EDT) -Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 31AEE9DEAB; - Wed, 3 Aug 2011 15:12:35 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B0D19D877F; + Mon, 21 Nov 2011 15:06:40 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 3jv-cDBpMP5B; Mon, 21 Nov 2011 15:06:40 -0500 (EST) +Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 9C98DD8410; + Mon, 21 Nov 2011 15:06:40 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCRCZ008434; - Wed, 3 Aug 2011 15:12:28 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6cHF029573; + Mon, 21 Nov 2011 15:06:39 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:55 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:53 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:01:59 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:57 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 11/31] introduce wake_up_quiescent() -Message-ID: <20110803190953.GA30952@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 11/33] introduce wake_up_quiescent() +Message-ID: <20111121200157.GA27805@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO Content-Length: 3186 Lines: 93 @@ -4968,7 +4897,7 @@ index a822300..2be3712 100644 extern int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p, bool group); diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index 56b8fc1..4194664 100644 +index daf47bc..8439ef1 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -621,7 +621,7 @@ static int ptrace_resume(struct task_struct *child, long request, @@ -4981,7 +4910,7 @@ index 56b8fc1..4194664 100644 } diff --git a/kernel/signal.c b/kernel/signal.c -index 71f5cca..3e8e0b1 100644 +index 4512bb4..99a6008 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -702,6 +702,14 @@ void signal_wake_up(struct task_struct *t, int resume) @@ -5008,7 +4937,7 @@ index 71f5cca..3e8e0b1 100644 else ptrace_trap_notify(t); } while_each_thread(p, t); -@@ -1879,7 +1887,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) +@@ -1887,7 +1895,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) do_notify_parent_cldstop(current, false, why); spin_lock_irq(¤t->sighand->siglock); @@ -5034,49 +4963,42 @@ index 5d3974e..cebc390 100644 1.5.5.1 -From davej Wed Aug 3 15:22:01 2011 +From oleg@redhat.com Mon Nov 21 15:06:43 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:22:01 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:17:15 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:43 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id F2DE19DC07; - Wed, 3 Aug 2011 15:12:37 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id IYfqfx8GhNWc; Wed, 3 Aug 2011 15:12:37 -0400 (EDT) -Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D645E9DAF7; - Wed, 3 Aug 2011 15:12:37 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 6488BD514C; + Mon, 21 Nov 2011 15:06:43 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id TKQUj5mU4NYM; Mon, 21 Nov 2011 15:06:43 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 4EC82D5000; + Mon, 21 Nov 2011 15:06:43 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCUNh008446; - Wed, 3 Aug 2011 15:12:31 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6fp6015343; + Mon, 21 Nov 2011 15:06:41 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:09:58 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:56 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:02 +0100 (CET) +Date: Mon, 21 Nov 2011 21:01:59 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 12/31] introduce ptrace_signal_wake_up() -Message-ID: <20110803190956.GA30959@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 12/33] introduce ptrace_signal_wake_up() +Message-ID: <20111121200159.GA27812@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO -Content-Length: 3667 +Content-Length: 3670 Lines: 113 Add the new helper, ptrace_signal_wake_up(), change ptrace.c/signal.c @@ -5118,7 +5040,7 @@ index 800f113..6d9282a 100644 extern long arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data); diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index 4194664..1a50090 100644 +index 8439ef1..a464ab5 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -25,6 +25,18 @@ @@ -5167,7 +5089,7 @@ index 4194664..1a50090 100644 unlock_task_sighand(child, &flags); ret = 0; -@@ -760,7 +772,7 @@ int ptrace_request(struct task_struct *child, long request, +@@ -757,7 +769,7 @@ int ptrace_request(struct task_struct *child, long request, * start of this trap and now. Trigger re-trap. */ if (child->jobctl & JOBCTL_TRAP_NOTIFY) @@ -5177,7 +5099,7 @@ index 4194664..1a50090 100644 } unlock_task_sighand(child, &flags); diff --git a/kernel/signal.c b/kernel/signal.c -index 3e8e0b1..0dc6abb 100644 +index 99a6008..7a47a93 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -854,7 +854,7 @@ static void ptrace_trap_notify(struct task_struct *t) @@ -5193,48 +5115,41 @@ index 3e8e0b1..0dc6abb 100644 1.5.5.1 -From davej Wed Aug 3 15:15:58 2011 +From oleg@redhat.com Mon Nov 21 15:06:46 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:15:58 -0400 (EDT) Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:13:17 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:46 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 8FF88DA558; - Wed, 3 Aug 2011 15:12:40 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 3A7AED8410; + Mon, 21 Nov 2011 15:06:46 -0500 (EST) Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 1cOfIyuaRoO3; Wed, 3 Aug 2011 15:12:40 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7B6E8DA4A9; - Wed, 3 Aug 2011 15:12:40 -0400 (EDT) + with ESMTP id jhYAwDyYmdhg; Mon, 21 Nov 2011 15:06:46 -0500 (EST) +Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 25D5FD889A; + Mon, 21 Nov 2011 15:06:46 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCXpn023459; - Wed, 3 Aug 2011 15:12:33 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6h29029619; + Mon, 21 Nov 2011 15:06:44 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:01 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:09:59 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:04 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:02 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 13/31] wait_task_inactive: treat task->state and +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 13/33] wait_task_inactive: treat task->state and match_state as bitmasks -Message-ID: <20110803190959.GA30962@redhat.com> +Message-ID: <20111121200202.GA27816@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO Content-Length: 1558 Lines: 39 @@ -5263,10 +5178,10 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sched.c b/kernel/sched.c -index ccacdbd..66ef2fb 100644 +index 0e9344a..84ecc0a 100644 --- a/kernel/sched.c +++ b/kernel/sched.c -@@ -2289,7 +2289,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) +@@ -2443,7 +2443,7 @@ unsigned long wait_task_inactive(struct task_struct *p, long match_state) * is actually now running somewhere else! */ while (task_running(rq, p)) { @@ -5279,47 +5194,40 @@ index ccacdbd..66ef2fb 100644 1.5.5.1 -From davej Wed Aug 3 15:16:24 2011 +From oleg@redhat.com Mon Nov 21 15:06:48 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:24 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:21 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:48 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 34C189DC30; - Wed, 3 Aug 2011 15:12:43 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id RHggq6bqo+Q9; Wed, 3 Aug 2011 15:12:43 -0400 (EDT) -Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 210D59DC14; - Wed, 3 Aug 2011 15:12:43 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id C2934D5000; + Mon, 21 Nov 2011 15:06:48 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id ThT2PyhztDpQ; Mon, 21 Nov 2011 15:06:48 -0500 (EST) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id ACE02D4F84; + Mon, 21 Nov 2011 15:06:48 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JCZsD022395; - Wed, 3 Aug 2011 15:12:36 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6kdb022201; + Mon, 21 Nov 2011 15:06:47 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:03 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:01 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:07 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:05 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 14/31] introduce TASK_UTRACED state -Message-ID: <20110803191001.GA30969@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 14/33] introduce TASK_UTRACED state +Message-ID: <20111121200205.GA27823@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO Content-Length: 2913 Lines: 84 @@ -5358,10 +5266,10 @@ index f0c0ea2..e0daec4 100644 static inline const char *get_task_state(struct task_struct *tsk) diff --git a/include/linux/sched.h b/include/linux/sched.h -index c6d79af..f3f0a77 100644 +index 4d45f93..746b4d3 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -184,16 +184,17 @@ print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) +@@ -185,16 +185,17 @@ print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) #define TASK_UNINTERRUPTIBLE 2 #define __TASK_STOPPED 4 #define __TASK_TRACED 8 @@ -5386,7 +5294,7 @@ index c6d79af..f3f0a77 100644 extern char ___assert_task_state[1 - 2*!!( sizeof(TASK_STATE_TO_CHAR_STR)-1 != ilog2(TASK_STATE_MAX)+1)]; -@@ -202,15 +203,16 @@ extern char ___assert_task_state[1 - 2*!!( +@@ -203,15 +204,16 @@ extern char ___assert_task_state[1 - 2*!!( #define TASK_KILLABLE (TASK_WAKEKILL | TASK_UNINTERRUPTIBLE) #define TASK_STOPPED (TASK_WAKEKILL | __TASK_STOPPED) #define TASK_TRACED (TASK_WAKEKILL | __TASK_TRACED) @@ -5409,47 +5317,40 @@ index c6d79af..f3f0a77 100644 1.5.5.1 -From davej Wed Aug 3 15:16:02 2011 +From oleg@redhat.com Mon Nov 21 15:06:51 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:02 -0400 (EDT) Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:13:18 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:51 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D7FFADA44E; - Wed, 3 Aug 2011 15:12:45 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 48F35D889C; + Mon, 21 Nov 2011 15:06:51 -0500 (EST) Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id LFGdvSMswLJT; Wed, 3 Aug 2011 15:12:45 -0400 (EDT) -Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id BA46CDA441; - Wed, 3 Aug 2011 15:12:45 -0400 (EDT) + with ESMTP id ZXkDvXaDg0cN; Mon, 21 Nov 2011 15:06:51 -0500 (EST) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 34485D889A; + Mon, 21 Nov 2011 15:06:51 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCcpZ029424; - Wed, 3 Aug 2011 15:12:39 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6nlT022211; + Mon, 21 Nov 2011 15:06:49 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:06 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:04 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:09 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:08 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 15/31] utrace: use TASK_UTRACED instead of TASK_TRACED -Message-ID: <20110803191004.GA30972@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 15/33] utrace: use TASK_UTRACED instead of TASK_TRACED +Message-ID: <20111121200208.GA27826@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO Content-Length: 4316 Lines: 130 @@ -5585,48 +5486,41 @@ index cebc390..2097103 100644 1.5.5.1 -From davej Wed Aug 3 15:21:40 2011 +From oleg@redhat.com Mon Nov 21 15:06:53 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:40 -0400 (EDT) Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:42 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:53 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7035E9DECC; - Wed, 3 Aug 2011 15:12:48 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B8F54D5296; + Mon, 21 Nov 2011 15:06:53 -0500 (EST) Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id rmRalMQFlNua; Wed, 3 Aug 2011 15:12:48 -0400 (EDT) -Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 5CC809DEC9; - Wed, 3 Aug 2011 15:12:48 -0400 (EDT) + with ESMTP id PX4Y3H1mw0hD; Mon, 21 Nov 2011 15:06:53 -0500 (EST) +Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id A4B5CD528E; + Mon, 21 Nov 2011 15:06:53 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JCfwv010344; - Wed, 3 Aug 2011 15:12:41 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6pXd029643; + Mon, 21 Nov 2011 15:06:52 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:09 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:07 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:12 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:10 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 16/31] reintroduce tracehook_finish_jctl() as +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 16/33] reintroduce tracehook_finish_jctl() as utrace_end_stop() -Message-ID: <20110803191007.GA30979@redhat.com> +Message-ID: <20111121200210.GA27829@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO Content-Length: 2401 Lines: 77 @@ -5670,10 +5564,10 @@ index cf13839..0279c74 100644 + #endif /* linux/utrace.h */ diff --git a/kernel/signal.c b/kernel/signal.c -index 0dc6abb..a625309 100644 +index 7a47a93..ba46eab 100644 --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1895,6 +1895,8 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) +@@ -1903,6 +1903,8 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) read_unlock(&tasklist_lock); } @@ -5682,7 +5576,7 @@ index 0dc6abb..a625309 100644 /* * While in TASK_TRACED, we were considered "frozen enough". * Now that we woke up, it's crucial if we're supposed to be -@@ -2059,6 +2061,9 @@ static bool do_signal_stop(int signr) +@@ -2067,6 +2069,9 @@ static bool do_signal_stop(int signr) /* Now we don't run again until woken by SIGCONT or SIGKILL */ schedule(); @@ -5709,47 +5603,40 @@ index 2097103..d41b982 100644 1.5.5.1 -From davej Wed Aug 3 15:21:41 2011 +From oleg@redhat.com Mon Nov 21 15:06:56 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:41 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:42 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:56 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 153719DD18; - Wed, 3 Aug 2011 15:12:51 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id ffM0oM8RRtgL; Wed, 3 Aug 2011 15:12:51 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 0253E9DEC9; - Wed, 3 Aug 2011 15:12:51 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 4A487D83A1; + Mon, 21 Nov 2011 15:06:56 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 3vHogPyhojlJ; Mon, 21 Nov 2011 15:06:56 -0500 (EST) +Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 358A0D88B0; + Mon, 21 Nov 2011 15:06:56 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCh9Z023559; - Wed, 3 Aug 2011 15:12:44 -0400 + by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK6sHk017679; + Mon, 21 Nov 2011 15:06:54 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:11 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:09 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:14 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:12 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 17/31] teach wake_up_quiescent() to do "selective" wake_up -Message-ID: <20110803191009.GA30982@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 17/33] teach wake_up_quiescent() to do "selective" wake_up +Message-ID: <20111121200212.GA27836@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Status: RO Content-Length: 1335 Lines: 46 @@ -5767,7 +5654,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c -index a625309..0d1675a 100644 +index ba46eab..e06f795 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -701,11 +701,26 @@ void signal_wake_up(struct task_struct *t, int resume) @@ -5801,48 +5688,41 @@ index a625309..0d1675a 100644 1.5.5.1 -From davej Wed Aug 3 15:21:43 2011 +From oleg@redhat.com Mon Nov 21 15:06:59 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:43 -0400 (EDT) Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:43 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:06:58 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B0E899DECF; - Wed, 3 Aug 2011 15:12:53 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id C88E2D528B; + Mon, 21 Nov 2011 15:06:58 -0500 (EST) Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id s0bDFhAmsQWN; Wed, 3 Aug 2011 15:12:53 -0400 (EDT) -Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 9DC6E9DEC9; - Wed, 3 Aug 2011 15:12:53 -0400 (EDT) + with ESMTP id nNrAxBD5KOME; Mon, 21 Nov 2011 15:06:58 -0500 (EST) +Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B2114D51C1; + Mon, 21 Nov 2011 15:06:58 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCkUr029453; - Wed, 3 Aug 2011 15:12:46 -0400 + by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6uQQ031440; + Mon, 21 Nov 2011 15:06:57 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:14 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:12 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:17 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:15 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 18/31] ptrace_stop: do not assume the task is running after +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 18/33] ptrace_stop: do not assume the task is running after wake_up_quiescent() -Message-ID: <20110803191012.GA30985@redhat.com> +Message-ID: <20111121200215.GA27839@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Status: RO Content-Length: 956 Lines: 31 @@ -5857,10 +5737,10 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c -index 0d1675a..249760f 100644 +index e06f795..9348da6 100644 --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1908,6 +1908,14 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) +@@ -1916,6 +1916,14 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) if (clear_code) current->exit_code = 0; read_unlock(&tasklist_lock); @@ -5879,48 +5759,41 @@ index 0d1675a..249760f 100644 1.5.5.1 -From davej Wed Aug 3 15:16:26 2011 +From oleg@redhat.com Mon Nov 21 15:07:01 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:26 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:22 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:01 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 69B489DC62; - Wed, 3 Aug 2011 15:12:56 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 4BNNeoYSdCTc; Wed, 3 Aug 2011 15:12:56 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 4A9899DC14; - Wed, 3 Aug 2011 15:12:56 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 4BF37D889A; + Mon, 21 Nov 2011 15:07:01 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 5p8tvlXAqUHr; Mon, 21 Nov 2011 15:07:01 -0500 (EST) +Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 37C22D8757; + Mon, 21 Nov 2011 15:07:01 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCnRf023575; - Wed, 3 Aug 2011 15:12:49 -0400 + by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK6xFJ031449; + Mon, 21 Nov 2011 15:06:59 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:16 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:14 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:19 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:18 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 19/31] get_signal_to_deliver: restore/restructure +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 19/33] get_signal_to_deliver: restore/restructure utrace/ptrace signal reporting -Message-ID: <20110803191014.GA30992@redhat.com> +Message-ID: <20111121200218.GA27846@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Status: RO Content-Length: 3556 Lines: 115 @@ -5986,10 +5859,10 @@ index 0279c74..63103e2 100644 + #endif /* linux/utrace.h */ diff --git a/kernel/signal.c b/kernel/signal.c -index 249760f..3c783d3 100644 +index 9348da6..38ea4e6 100644 --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -2234,17 +2234,27 @@ relock: +@@ -2242,17 +2242,27 @@ relock: for (;;) { struct k_sigaction *ka; @@ -6025,7 +5898,7 @@ index 249760f..3c783d3 100644 if (!signr) break; /* will return 0 */ -@@ -2254,9 +2264,9 @@ relock: +@@ -2262,9 +2272,9 @@ relock: regs, cookie); if (!signr) continue; @@ -6041,46 +5914,39 @@ index 249760f..3c783d3 100644 1.5.5.1 -From davej Wed Aug 3 15:16:27 2011 +From oleg@redhat.com Mon Nov 21 15:07:03 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:27 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:22 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:03 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 119589DC72; - Wed, 3 Aug 2011 15:12:59 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id Vxp8fnt8hEcf; Wed, 3 Aug 2011 15:12:59 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id CB362D89E9; + Mon, 21 Nov 2011 15:07:03 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id wm2JqccPnhsV; Mon, 21 Nov 2011 15:07:03 -0500 (EST) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id F22049DCAE; - Wed, 3 Aug 2011 15:12:58 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B6D25D89DE; + Mon, 21 Nov 2011 15:07:03 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JCpO4010401; - Wed, 3 Aug 2011 15:12:52 -0400 + by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK715f031455; + Mon, 21 Nov 2011 15:07:02 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:19 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:17 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:22 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:20 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 20/31] utrace_get_signal: +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 20/33] utrace_get_signal: s/JOBCTL_STOP_PENDING/JOBCTL_PENDING_MASK/ -Message-ID: <20110803191017.GA30995@redhat.com> +Message-ID: <20111121200220.GA27849@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Status: RO @@ -6121,47 +5987,40 @@ index d41b982..0bb0a06 100644 1.5.5.1 -From davej Wed Aug 3 15:16:03 2011 +From oleg@redhat.com Mon Nov 21 15:07:07 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:03 -0400 (EDT) -Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO - zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:13:19 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:06 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id A9253DA3CB; - Wed, 3 Aug 2011 15:13:01 -0400 (EDT) -Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id HLlRhTJ2MbYS; Wed, 3 Aug 2011 15:13:01 -0400 (EDT) -Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 9582C4C43B; - Wed, 3 Aug 2011 15:13:01 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 8C14BD4F84; + Mon, 21 Nov 2011 15:07:06 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 39eM-KKZxrZ3; Mon, 21 Nov 2011 15:07:06 -0500 (EST) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7628FD4FF4; + Mon, 21 Nov 2011 15:07:06 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCsFX008586; - Wed, 3 Aug 2011 15:12:54 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK74dN022253; + Mon, 21 Nov 2011 15:07:04 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:22 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:20 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:25 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:23 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 21/31] introduce ptrace_set_syscall_trace() -Message-ID: <20110803191020.GA31002@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 21/33] introduce ptrace_set_syscall_trace() +Message-ID: <20111121200223.GA27856@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO Content-Length: 1549 Lines: 52 @@ -6176,7 +6035,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index 1a50090..dc2ad34 100644 +index a464ab5..43357e5 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -38,6 +38,14 @@ void ptrace_signal_wake_up(struct task_struct *p, int quiescent) @@ -6219,47 +6078,40 @@ index 1a50090..dc2ad34 100644 1.5.5.1 -From davej Wed Aug 3 15:21:45 2011 +From oleg@redhat.com Mon Nov 21 15:07:09 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:45 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:43 -0400 (EDT) +Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO + zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:09 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 5C4889DEE6; - Wed, 3 Aug 2011 15:13:04 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id eXIPU4nVv+7Z; Wed, 3 Aug 2011 15:13:04 -0400 (EDT) -Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 3F82C9DED6; - Wed, 3 Aug 2011 15:13:04 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 1ADF01285E4; + Mon, 21 Nov 2011 15:07:09 -0500 (EST) +Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id rF+XegsxVXnL; Mon, 21 Nov 2011 15:07:09 -0500 (EST) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 067E41287D0; + Mon, 21 Nov 2011 15:07:09 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCueo029507; - Wed, 3 Aug 2011 15:12:57 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK76tD022270; + Mon, 21 Nov 2011 15:07:07 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:24 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:22 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:27 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:25 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 22/31] introduce PT_SYSCALL_TRACE flag -Message-ID: <20110803191022.GA31005@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 22/33] introduce PT_SYSCALL_TRACE flag +Message-ID: <20111121200225.GA27860@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO Content-Length: 2268 Lines: 73 @@ -6315,7 +6167,7 @@ index ec2af67..eb9fe30 100644 ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0)); diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index dc2ad34..7deb292 100644 +index 43357e5..1ac03eb 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -40,10 +40,13 @@ void ptrace_signal_wake_up(struct task_struct *p, int quiescent) @@ -6338,48 +6190,41 @@ index dc2ad34..7deb292 100644 1.5.5.1 -From davej Wed Aug 3 15:16:05 2011 +From oleg@redhat.com Mon Nov 21 15:07:11 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:05 -0400 (EDT) -Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO - zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:13:20 -0400 (EDT) +Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO + zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:11 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E516ADA488; - Wed, 3 Aug 2011 15:13:06 -0400 (EDT) -Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id rP7Um8DZjclX; Wed, 3 Aug 2011 15:13:06 -0400 (EDT) -Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D155EDA3F8; - Wed, 3 Aug 2011 15:13:06 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B7D62D4DCC; + Mon, 21 Nov 2011 15:07:11 -0500 (EST) +Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 1ENpGO166I-W; Mon, 21 Nov 2011 15:07:11 -0500 (EST) +Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id A3A55D498A; + Mon, 21 Nov 2011 15:07:11 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JCxfF029532; - Wed, 3 Aug 2011 15:13:00 -0400 + by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK79AS017728; + Mon, 21 Nov 2011 15:07:10 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:27 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:25 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:30 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:28 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 23/31] utrace: don't clear TIF_SYSCALL_TRACE if it is +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 23/33] utrace: don't clear TIF_SYSCALL_TRACE if it is needed by ptrace -Message-ID: <20110803191025.GA31012@redhat.com> +Message-ID: <20111121200228.GA27863@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Status: RO Content-Length: 797 Lines: 24 @@ -6409,47 +6254,40 @@ index 0bb0a06..bebf6de 100644 1.5.5.1 -From davej Wed Aug 3 15:16:08 2011 +From oleg@redhat.com Mon Nov 21 15:07:14 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:08 -0400 (EDT) Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:15:29 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:14 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 80872DA4B2; - Wed, 3 Aug 2011 15:13:09 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 5376AD8774; + Mon, 21 Nov 2011 15:07:14 -0500 (EST) Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id AbpC0Wk1ZhtT; Wed, 3 Aug 2011 15:13:09 -0400 (EDT) -Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) - by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 6D97DDA3F8; - Wed, 3 Aug 2011 15:13:09 -0400 (EDT) + with ESMTP id 5Oc8ErfFfJSs; Mon, 21 Nov 2011 15:07:14 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 3F2CFD81E9; + Mon, 21 Nov 2011 15:07:14 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JD2RU022591; - Wed, 3 Aug 2011 15:13:02 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7Cw3015467; + Mon, 21 Nov 2011 15:07:12 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:30 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:28 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:32 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:30 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 24/31] introduce task_utrace_lock/task_utrace_unlock -Message-ID: <20110803191028.GA31015@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 24/33] introduce task_utrace_lock/task_utrace_unlock +Message-ID: <20111121200230.GA27870@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO Content-Length: 2190 Lines: 81 @@ -6536,48 +6374,41 @@ index bebf6de..960dd9e 100644 1.5.5.1 -From davej Wed Aug 3 15:21:46 2011 +From oleg@redhat.com Mon Nov 21 15:07:17 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:46 -0400 (EDT) Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:43 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:17 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 24B3E9DEF6; - Wed, 3 Aug 2011 15:13:12 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 01034D498A; + Mon, 21 Nov 2011 15:07:17 -0500 (EST) Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 2jg9j3-p4bHL; Wed, 3 Aug 2011 15:13:12 -0400 (EDT) -Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 119759DEF9; - Wed, 3 Aug 2011 15:13:12 -0400 (EDT) + with ESMTP id BglmrU3H2hJr; Mon, 21 Nov 2011 15:07:16 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E0D31D4FF4; + Mon, 21 Nov 2011 15:07:16 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JD485022603; - Wed, 3 Aug 2011 15:13:05 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7Egx015474; + Mon, 21 Nov 2011 15:07:15 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:32 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:30 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:35 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:33 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 25/31] teach ptrace_set_syscall_trace() to play well with +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 25/33] teach ptrace_set_syscall_trace() to play well with utrace -Message-ID: <20110803191030.GA31018@redhat.com> +Message-ID: <20111121200233.GA27873@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO Content-Length: 1545 Lines: 49 @@ -6599,7 +6430,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index 7deb292..69850e9 100644 +index 1ac03eb..739183a 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -24,6 +24,7 @@ @@ -6632,45 +6463,38 @@ index 7deb292..69850e9 100644 1.5.5.1 -From davej Wed Aug 3 15:16:29 2011 +From oleg@redhat.com Mon Nov 21 15:07:19 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:28 -0400 (EDT) Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:24 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:19 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 062709DE55; - Wed, 3 Aug 2011 15:13:15 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 8F87F128EAA; + Mon, 21 Nov 2011 15:07:19 -0500 (EST) Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id lhwVoEywGaPJ; Wed, 3 Aug 2011 15:13:14 -0400 (EDT) + with ESMTP id yittEjCd+X4F; Mon, 21 Nov 2011 15:07:19 -0500 (EST) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E4C139DE11; - Wed, 3 Aug 2011 15:13:14 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7BC701287D0; + Mon, 21 Nov 2011 15:07:19 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JD7Go010523; - Wed, 3 Aug 2011 15:13:08 -0400 + by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK7HbH031553; + Mon, 21 Nov 2011 15:07:18 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:35 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:33 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:38 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:36 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 26/31] introduce PT_SINGLE_STEP and PT_SINGLE_BLOCK -Message-ID: <20110803191033.GA31025@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 26/33] introduce PT_SINGLE_STEP and PT_SINGLE_BLOCK +Message-ID: <20111121200236.GA27880@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Status: RO @@ -6762,7 +6586,7 @@ index eb9fe30..21c8ca2 100644 } diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index 69850e9..d250a71 100644 +index 739183a..792080d 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -630,13 +630,16 @@ static int ptrace_resume(struct task_struct *child, long request, @@ -6786,48 +6610,41 @@ index 69850e9..d250a71 100644 1.5.5.1 -From davej Wed Aug 3 15:16:30 2011 +From oleg@redhat.com Mon Nov 21 15:07:22 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:30 -0400 (EDT) Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:25 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:22 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id B3BF49DE11; - Wed, 3 Aug 2011 15:13:17 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 0C136128FB0; + Mon, 21 Nov 2011 15:07:22 -0500 (EST) Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id zC72ecV9Jz07; Wed, 3 Aug 2011 15:13:17 -0400 (EDT) -Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 98ACE9DE59; - Wed, 3 Aug 2011 15:13:17 -0400 (EDT) + with ESMTP id GNbS20gY5Jq9; Mon, 21 Nov 2011 15:07:21 -0500 (EST) +Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id EB5821287D0; + Mon, 21 Nov 2011 15:07:21 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JDATh023726; - Wed, 3 Aug 2011 15:13:10 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK7Kn1029766; + Mon, 21 Nov 2011 15:07:20 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:38 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:36 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:40 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:38 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 27/31] utrace: finish_resume_report: don't do +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 27/33] utrace: finish_resume_report: don't do user_xxx_step() if ptrace_wants_step() -Message-ID: <20110803191036.GA31028@redhat.com> +Message-ID: <20111121200238.GA27883@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO Content-Length: 2741 Lines: 84 @@ -6917,48 +6734,41 @@ index 960dd9e..05e8532 100644 1.5.5.1 -From davej Wed Aug 3 15:16:32 2011 +From oleg@redhat.com Mon Nov 21 15:07:24 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:32 -0400 (EDT) Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:25 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:24 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 614CD9DE73; - Wed, 3 Aug 2011 15:13:20 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 8954F12914D; + Mon, 21 Nov 2011 15:07:24 -0500 (EST) Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id jcWOXzUaaIYu; Wed, 3 Aug 2011 15:13:20 -0400 (EDT) -Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 438889DE59; - Wed, 3 Aug 2011 15:13:20 -0400 (EDT) + with ESMTP id 0lU8wXKC78yu; Mon, 21 Nov 2011 15:07:24 -0500 (EST) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 759B61287D0; + Mon, 21 Nov 2011 15:07:24 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JDDZ7029595; - Wed, 3 Aug 2011 15:13:13 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7Mi7022329; + Mon, 21 Nov 2011 15:07:23 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:40 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:38 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:43 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:41 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 28/31] ptrace: shift user_*_step() from ptrace_resume() to +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 28/33] ptrace: shift user_*_step() from ptrace_resume() to ptrace_stop() -Message-ID: <20110803191038.GA31035@redhat.com> +Message-ID: <20111121200241.GA27890@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO Content-Length: 2374 Lines: 70 @@ -6990,7 +6800,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/kernel/ptrace.c b/kernel/ptrace.c -index d250a71..d1ef124 100644 +index 792080d..eba9a22 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -635,14 +635,10 @@ static int ptrace_resume(struct task_struct *child, long request, @@ -7009,10 +6819,10 @@ index d250a71..d1ef124 100644 child->exit_code = data; diff --git a/kernel/signal.c b/kernel/signal.c -index 3c783d3..43a3e77 100644 +index 38ea4e6..b13d2bc 100644 --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1920,6 +1920,17 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) +@@ -1928,6 +1928,17 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) utrace_end_stop(); @@ -7034,45 +6844,38 @@ index 3c783d3..43a3e77 100644 1.5.5.1 -From davej Wed Aug 3 15:16:34 2011 +From oleg@redhat.com Mon Nov 21 15:07:27 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:16:34 -0400 (EDT) Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:25 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:27 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 1A6019DE59; - Wed, 3 Aug 2011 15:13:23 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 043581287D0; + Mon, 21 Nov 2011 15:07:27 -0500 (EST) Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id db2hhAqFwsPu; Wed, 3 Aug 2011 15:13:23 -0400 (EDT) + with ESMTP id 4WO1El1jiIrJ; Mon, 21 Nov 2011 15:07:26 -0500 (EST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 034739DE83; - Wed, 3 Aug 2011 15:13:23 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id E3FCA129045; + Mon, 21 Nov 2011 15:07:26 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JDFNp008715; - Wed, 3 Aug 2011 15:13:16 -0400 + by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7OdV017836; + Mon, 21 Nov 2011 15:07:25 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:43 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:41 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:45 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:43 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 29/31] ptrace_disable: no need to disable stepping -Message-ID: <20110803191041.GA31039@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 29/33] ptrace_disable: no need to disable stepping +Message-ID: <20111121200243.GA27893@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Status: RO @@ -7109,47 +6912,40 @@ index d1557dc..96d315a 100644 1.5.5.1 -From davej Wed Aug 3 15:21:48 2011 +From oleg@redhat.com Mon Nov 21 15:07:29 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:48 -0400 (EDT) Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:52 -0400 (EDT) + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:29 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 95706917AF; - Wed, 3 Aug 2011 15:13:25 -0400 (EDT) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 8A6E8D4C39; + Mon, 21 Nov 2011 15:07:29 -0500 (EST) Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id ctq4DF3wXncJ; Wed, 3 Aug 2011 15:13:25 -0400 (EDT) -Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7FD14914AF; - Wed, 3 Aug 2011 15:13:25 -0400 (EDT) + with ESMTP id NLURBx2yQes5; Mon, 21 Nov 2011 15:07:29 -0500 (EST) +Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) + by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 7660DD498A; + Mon, 21 Nov 2011 15:07:29 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p73JDIRO010579; - Wed, 3 Aug 2011 15:13:18 -0400 + by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7RnP015578; + Mon, 21 Nov 2011 15:07:27 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:46 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:44 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:48 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:46 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 30/31] ptrace_report_syscall: check TIF_SYSCALL_EMU -Message-ID: <20110803191044.GA31046@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 30/33] ptrace_report_syscall: check TIF_SYSCALL_EMU +Message-ID: <20111121200246.GA27896@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Status: RO Content-Length: 858 Lines: 28 @@ -7183,46 +6979,39 @@ index b6812d4..90ca578 100644 1.5.5.1 -From davej Wed Aug 3 15:21:49 2011 +From oleg@redhat.com Mon Nov 21 15:07:32 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Wed, 03 Aug 2011 15:21:49 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Wed, 3 Aug 2011 15:16:52 -0400 (EDT) +Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO + zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:32 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 400F49191F; - Wed, 3 Aug 2011 15:13:28 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id UeLOLM29JRc7; Wed, 3 Aug 2011 15:13:28 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 10D1312916C; + Mon, 21 Nov 2011 15:07:32 -0500 (EST) +Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Z14plX1oxaYL; Mon, 21 Nov 2011 15:07:32 -0500 (EST) Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 2D05C903F6; - Wed, 3 Aug 2011 15:13:28 -0400 (EDT) + by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id F12FF128E1D; + Mon, 21 Nov 2011 15:07:31 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id p73JDKCA023784; - Wed, 3 Aug 2011 15:13:21 -0400 + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7T0q022460; + Mon, 21 Nov 2011 15:07:30 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Wed, 3 Aug 2011 21:10:48 +0200 (CEST) -Date: Wed, 3 Aug 2011 21:10:46 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:50 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:48 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH 31/31] utrace_resume: check irqs_disabled() to shut up +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 31/33] utrace_resume: check irqs_disabled() to shut up lockdep -Message-ID: <20110803191046.GA31049@redhat.com> +Message-ID: <20111121200248.GA27903@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Status: RO @@ -7256,49 +7045,41 @@ index 05e8532..c817a46 100644 1.5.5.1 -From davej Tue Aug 9 13:39:54 2011 +From oleg@redhat.com Mon Nov 21 15:07:34 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.51] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Tue, 09 Aug 2011 13:39:54 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com (LHLO - zmta02.collab.prod.int.phx2.redhat.com) (10.5.5.32) by - mail04.corp.redhat.com with LMTP; Tue, 9 Aug 2011 13:39:44 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:34 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 5FCAC12983C; - Tue, 9 Aug 2011 13:39:44 -0400 (EDT) -Received: from zmta02.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta02.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id nDWbqog6fbHK; Tue, 9 Aug 2011 13:39:44 -0400 (EDT) -Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) - by zmta02.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 4BEF712983B; - Tue, 9 Aug 2011 13:39:44 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 860BCD8A3E; + Mon, 21 Nov 2011 15:07:34 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id pVTbN1oF62dg; Mon, 21 Nov 2011 15:07:34 -0500 (EST) +Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 6FBFFD87A3; + Mon, 21 Nov 2011 15:07:34 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p79HdahY022801; - Tue, 9 Aug 2011 13:39:37 -0400 + by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id pALK7W0B029871; + Mon, 21 Nov 2011 15:07:32 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Tue, 9 Aug 2011 19:36:58 +0200 (CEST) -Date: Tue, 9 Aug 2011 19:36:56 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:53 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:51 +0100 From: Oleg Nesterov <oleg@redhat.com> To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, Kyle McMartin <kmcmartin@redhat.com> -Cc: kernel@lists.fedoraproject.org, utrace-devel@redhat.com -Subject: [PATCH utrace-3.1 32/31] ptrace_report_syscall: check if - TIF_SYSCALL_EMU is defined -Message-ID: <20110809173656.GC26443@redhat.com> -References: <20110802174514.GA23073@redhat.com> <20110803190806.GA30619@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 32/33] ptrace_report_syscall: check if TIF_SYSCALL_EMU is + defined +Message-ID: <20111121200251.GA27906@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline -In-Reply-To: <20110803190806.GA30619@redhat.com> +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 +X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Status: RO Content-Length: 839 Lines: 31 @@ -7335,50 +7116,43 @@ index 90ca578..a1bac95 100644 1.5.5.1 -From davej Thu Sep 1 14:14:49 2011 +From oleg@redhat.com Mon Nov 21 15:07:37 2011 Return-Path: oleg@redhat.com -X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on - gelk.kernelslacker.org -X-Spam-Level: -X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD, - UNPARSEABLE_RELAY autolearn=ham version=3.3.2 -Received: from mail.corp.redhat.com [10.5.5.52] - by gelk with IMAP (fetchmail-6.3.20) - for <davej@localhost> (single-drop); Thu, 01 Sep 2011 14:14:49 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com (LHLO - zmta01.collab.prod.int.phx2.redhat.com) (10.5.5.31) by - mail04.corp.redhat.com with LMTP; Thu, 1 Sep 2011 14:13:55 -0400 (EDT) +Received: from zmta03.collab.prod.int.phx2.redhat.com (LHLO + zmta03.collab.prod.int.phx2.redhat.com) (10.5.5.33) by + zmail13.collab.prod.int.phx2.redhat.com with LMTP; Mon, 21 Nov 2011 + 15:07:37 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 1BA199C63F; - Thu, 1 Sep 2011 14:13:55 -0400 (EDT) -Received: from zmta01.collab.prod.int.phx2.redhat.com ([127.0.0.1]) - by localhost (zmta01.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) - with ESMTP id 0vQx9zlcQB36; Thu, 1 Sep 2011 14:13:55 -0400 (EDT) -Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) - by zmta01.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 009959C63D; - Thu, 1 Sep 2011 14:13:55 -0400 (EDT) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 33405D8A50; + Mon, 21 Nov 2011 15:07:37 -0500 (EST) +Received: from zmta03.collab.prod.int.phx2.redhat.com ([127.0.0.1]) + by localhost (zmta03.collab.prod.int.phx2.redhat.com [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 3WH8FhvizjEA; Mon, 21 Nov 2011 15:07:37 -0500 (EST) +Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) + by zmta03.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id 1274FD89BB; + Mon, 21 Nov 2011 15:07:37 -0500 (EST) Received: from tranklukator.englab.brq.redhat.com (dhcp-1-232.brq.redhat.com [10.34.1.232]) - by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id p81IDrDX015389; - Thu, 1 Sep 2011 14:13:54 -0400 + by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id pALK7YHr017898; + Mon, 21 Nov 2011 15:07:35 -0500 Received: by tranklukator.englab.brq.redhat.com (nbSMTP-1.00) for uid 500 - oleg@redhat.com; Thu, 1 Sep 2011 20:10:54 +0200 (CEST) -Date: Thu, 1 Sep 2011 20:10:53 +0200 + oleg@redhat.com; Mon, 21 Nov 2011 21:02:55 +0100 (CET) +Date: Mon, 21 Nov 2011 21:02:53 +0100 From: Oleg Nesterov <oleg@redhat.com> -To: Dave Jones <davej@redhat.com> -Cc: kernel@lists.fedoraproject.org, cebbert@redhat.com -Subject: [PATCH F-16] bz735118: utrace: s390: fix the compile problem with - traps.c -Message-ID: <20110901181053.GA24990@redhat.com> +To: Dave Jones <davej@redhat.com>, "Frank Ch. Eigler" <fche@redhat.com>, + Josh Boyer <jwboyer@redhat.com>, Josh Stone <jistone@redhat.com>, + Kyle McMartin <kmcmartin@redhat.com> +Cc: kernel@lists.fedoraproject.org +Subject: [PATCH 33/33] utrace: s390: fix the compile problem with traps.c +Message-ID: <20111121200253.GA27913@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline +In-Reply-To: <20111121200039.GA27699@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) -X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Status: RO -Content-Length: 777 -Lines: 27 - -https://bugzilla.redhat.com/show_bug.cgi?id=735118 +Content-Length: 725 +Lines: 25 d99e60e5 "tracehooks: reintroduce tracehook_consider_fatal_signal()" breaks the compilation of arch/s390/kernel/traps.c. Restore the @@ -7390,7 +7164,7 @@ Signed-off-by: Oleg Nesterov <oleg@redhat.com> 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c -index 1018ab6..50e975d 100644 +index f506e1b..3132498 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c @@ -18,7 +18,7 @@ |