* + kprobes-add-the-tls-argument-for-j_do_fork.patch added to -mm tree
@ 2016-04-22 20:58 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-04-22 20:58 UTC (permalink / raw)
To: shijie.huang, josh, luto, masami.hiramatsu.pt, steve.capper,
thiago.macieira, mm-commits
The patch titled
Subject: kprobes: add the "tls" argument for j_do_fork
has been added to the -mm tree. Its filename is
kprobes-add-the-tls-argument-for-j_do_fork.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kprobes-add-the-tls-argument-for-j_do_fork.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kprobes-add-the-tls-argument-for-j_do_fork.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Huang Shijie <shijie.huang@arm.com>
Subject: kprobes: add the "tls" argument for j_do_fork
3033f14a ("clone: support passing tls argument via C rather than pt_regs
magic") added the tls argument for _do_fork(). This patch adds the "tls"
argument for j_do_fork to make it match _do_fork().
Signed-off-by: Huang Shijie <shijie.huang@arm.com>
Acked-by: Steve Capper <steve.capper@arm.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Thiago Macieira <thiago.macieira@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
samples/kprobes/jprobe_example.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN samples/kprobes/jprobe_example.c~kprobes-add-the-tls-argument-for-j_do_fork samples/kprobes/jprobe_example.c
--- a/samples/kprobes/jprobe_example.c~kprobes-add-the-tls-argument-for-j_do_fork
+++ a/samples/kprobes/jprobe_example.c
@@ -25,7 +25,7 @@
/* Proxy routine having the same arguments as actual _do_fork() routine */
static long j_do_fork(unsigned long clone_flags, unsigned long stack_start,
unsigned long stack_size, int __user *parent_tidptr,
- int __user *child_tidptr)
+ int __user *child_tidptr, unsigned long tls)
{
pr_info("jprobe: clone_flags = 0x%lx, stack_start = 0x%lx "
"stack_size = 0x%lx\n", clone_flags, stack_start, stack_size);
_
Patches currently in -mm which might be from shijie.huang@arm.com are
kprobes-add-the-tls-argument-for-j_do_fork.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-22 20:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 20:58 + kprobes-add-the-tls-argument-for-j_do_fork.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.