UBSAN: run-time undefined behavior sanity checker
[linux-block.git] / include / linux / sched.h
index 61aa9bbea871fc6017f612bdbb06f2004782ee97..02dabf281b2fe7f1d0f08b6c6ff2664c533da8b8 100644 (file)
@@ -1643,6 +1643,9 @@ struct task_struct {
        struct held_lock held_locks[MAX_LOCK_DEPTH];
        gfp_t lockdep_reclaim_gfp;
 #endif
+#ifdef CONFIG_UBSAN
+       unsigned int in_ubsan;
+#endif
 
 /* journalling filesystem info */
        void *journal_info;