public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable
@ 2024-08-27  9:52 Xianting Tian
  2024-08-27 10:30 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Xianting Tian @ 2024-08-27  9:52 UTC (permalink / raw)
  To: kees, arnd, gregkh; +Cc: linux-kernel, tianxianting.txt, Xianting Tian

Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
---
 drivers/misc/lkdtm/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/lkdtm/core.c b/drivers/misc/lkdtm/core.c
index 5732fd59a227..90e1eb253bd8 100644
--- a/drivers/misc/lkdtm/core.c
+++ b/drivers/misc/lkdtm/core.c
@@ -223,6 +223,7 @@ static int lkdtm_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)
 
 	return 0;
 }
+NOKPROBE_SYMBOL(lkdtm_kprobe_handler)
 
 static ssize_t lkdtm_debugfs_entry(struct file *f,
 				   const char __user *user_buf,
-- 
2.43.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable
  2024-08-27  9:52 [PATCH] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable Xianting Tian
@ 2024-08-27 10:30 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-08-27 10:30 UTC (permalink / raw)
  To: Xianting Tian; +Cc: kees, arnd, linux-kernel, tianxianting.txt

On Tue, Aug 27, 2024 at 05:52:35PM +0800, Xianting Tian wrote:
> Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>

For obvious reasons we can't take patches without any changelog text.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-27 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27  9:52 [PATCH] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable Xianting Tian
2024-08-27 10:30 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox