incubator-nuttx/sched/irq
ligd 10529c7d0a sched: fix kasan report error when open CONFIG_DEBUG_MM
reason:
1. g_running_tasks = thread A
2. thread A exit (free thread A's tcb) -> thread B
3. thread B interrupt by irq
4. check g_running_tasks->flags -> kasan report used after free

rootcause:
g_running_tasks has't set completely when syscall hanppened

Resolve:
Use rtcb (get at ISR begining) instead

Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-09-09 19:00:05 +02:00
..
Make.defs sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
irq.h sched: Remove the unnecessary weak_function 2022-08-30 09:42:24 +02:00
irq_attach.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
irq_chain.c Include assert.h in necessary place 2021-06-08 13:06:08 -07:00
irq_csection.c irq_csection: fix assert warning 2022-03-29 13:44:01 +08:00
irq_dispatch.c sched: fix kasan report error when open CONFIG_DEBUG_MM 2022-09-09 19:00:05 +02:00
irq_foreach.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
irq_initialize.c sched/irq: Remove the code which zero out g_irqvector fields 2022-03-12 15:06:39 -03:00
irq_procfs.c irq_procfs: fix divide 0 error 2022-07-22 10:53:44 +08:00
irq_spinlock.c sched/*/*spinlock.c: Fix some typos. 2021-07-24 09:00:41 -07:00
irq_unexpectedisr.c Fix compiler warnings (-Wunused-parameter) in various functions 2022-07-12 11:42:34 +08:00