[Intel-xe] [RFC 1/3] drm/xe/eudebug: Export GPL symbol ptrace_may_access
Mika Kuoppala
mika.kuoppala at linux.intel.com
Thu Apr 13 14:27:47 UTC 2023
Export ptrace_may_access for eudebug to handle
access checking for debugger connections.
This is needed to be able to compile xe.ko as module.
Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
---
kernel/ptrace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 0786450074c1..e6933bbcbd6a 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -364,6 +364,7 @@ bool ptrace_may_access(struct task_struct *task, unsigned int mode)
task_unlock(task);
return !err;
}
+EXPORT_SYMBOL_GPL(ptrace_may_access);
static int check_ptrace_options(unsigned long data)
{
--
2.34.1
More information about the Intel-xe
mailing list