kprobes: switch to kernel_clone()
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 19 Aug 2020 10:46:52 +0000 (12:46 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 20 Aug 2020 11:12:59 +0000 (13:12 +0200)
commit25239fd338aa2995f04ce3dc3ef3c01488bd05b3
treed875d7a91f228d3c3d9def52c6de1194f6d9f88f
parentc723523bf393ff9f188f559abf0958295d393324
kprobes: switch to kernel_clone()

The old _do_fork() helper is removed in favor of the new kernel_clone() helper.
The latter adheres to naming conventions for kernel internal syscall helpers.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Alexandre Chartre <alexandre.chartre@oracle.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20200819104655.436656-9-christian.brauner@ubuntu.com
samples/kprobes/kprobe_example.c