+ kprobes-add-the-tls-argument-for-j_do_fork.patch added to -mm tree

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

 



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@xxxxxxx>
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@xxxxxxx>
Acked-by: Steve Capper <steve.capper@xxxxxxx>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
Cc: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Thiago Macieira <thiago.macieira@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxx are

kprobes-add-the-tls-argument-for-j_do_fork.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux