]> Git Repo - linux.git/blobdiff - kernel/fork.c
Merge tag 'tag-chrome-platform-for-v5.11' of git://git.kernel.org/pub/scm/linux/kerne...
[linux.git] / kernel / fork.c
index 41906a52a7646346167d4979f6b1eaeb6b49a580..37720a6d04eaa8c61cdae87092df4a75daa59c75 100644 (file)
@@ -225,8 +225,8 @@ static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node)
                if (!s)
                        continue;
 
-               /* Clear the KASAN shadow of the stack. */
-               kasan_unpoison_shadow(s->addr, THREAD_SIZE);
+               /* Mark stack accessible for KASAN. */
+               kasan_unpoison_range(s->addr, THREAD_SIZE);
 
                /* Clear stale pointers from reused stack. */
                memset(s->addr, 0, THREAD_SIZE);
This page took 0.030629 seconds and 4 git commands to generate.