[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240827095235.12039-1-xianting.tian@linux.alibaba.com>
Date: Tue, 27 Aug 2024 17:52:35 +0800
From: Xianting Tian <xianting.tian@...ux.alibaba.com>
To: kees@...nel.org,
arnd@...db.de,
gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
tianxianting.txt@...baba-inc.com,
Xianting Tian <xianting.tian@...ux.alibaba.com>
Subject: [PATCH] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable
Signed-off-by: Xianting Tian <xianting.tian@...ux.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
Powered by blists - more mailing lists