We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fd7ad6 commit 1d927f4Copy full SHA for 1d927f4
include/linux/sched/task_stack.h
@@ -8,6 +8,7 @@
8
9
#include <linux/sched.h>
10
#include <linux/magic.h>
11
+#include <linux/kasan.h>
12
13
#ifdef CONFIG_THREAD_INFO_IN_TASK
14
@@ -86,6 +87,7 @@ static inline int object_is_on_stack(const void *obj)
86
87
{
88
void *stack = task_stack_page(current);
89
90
+ obj = kasan_reset_tag(obj);
91
return (obj >= stack) && (obj < (stack + THREAD_SIZE));
92
}
93
0 commit comments