From: Xianting Tian <xianting.tian@linux.alibaba.com>
To: kees@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, tianxianting.txt@alibaba-inc.com,
Xianting Tian <xianting.tian@linux.alibaba.com>
Subject: [PATCH v2] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable
Date: Tue, 27 Aug 2024 20:07:36 +0800 [thread overview]
Message-ID: <20240827120736.32434-1-xianting.tian@linux.alibaba.com> (raw)
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..b32b18f498ea 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
next reply other threads:[~2024-08-27 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 12:07 Xianting Tian [this message]
2024-08-27 12:20 ` [PATCH v2] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240827120736.32434-1-xianting.tian@linux.alibaba.com \
--to=xianting.tian@linux.alibaba.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tianxianting.txt@alibaba-inc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox