nuttx/sched
Ville Juven 172b209f2d sched/assert: Re-implement assert() into user space
_assert is a kernel procedure, entered via system call to make the core
dump in privileged mode.

Running exit() from this context is not OK as it runs the registered
exit functions and flushes streams, which must not be done
from privileged mode as it is a security hole.

Thus, implement assert() into user space (again) and remove the exit()
call from the kernel procedure.
2022-12-22 21:07:47 +08:00
..
clock clock: adjust clock function to support tick 2022-11-01 21:54:20 +08:00
environ sched/env: Don't need copy env variable from parent in env_dup 2022-10-19 08:22:56 +09:00
group libc/stdio: Flush streams in userspace when process exits 2022-12-22 20:16:11 +08:00
init sched/nx_bringup: Set the initial stack size in kernel build as well 2022-12-09 22:15:48 +08:00
irq arch: remove up_release_pending function 2022-12-16 21:29:57 +08:00
misc sched/assert: Re-implement assert() into user space 2022-12-22 21:07:47 +08:00
module nuttx: unify MIN, MAX and ABS macro definition across the code 2022-12-21 09:31:28 +08:00
mqueue nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
paging nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
pthread libc/stdio: Flush streams in userspace when process exits 2022-12-22 20:16:11 +08:00
sched fs/streams: Move the file streams from the group structure into TLS 2022-12-22 20:16:11 +08:00
semaphore sched/semaphore: check sem flags before enable priority inheritance 2022-12-20 11:50:42 +08:00
signal sched: remove unnecessary type cast 2022-12-15 09:44:32 +08:00
task libc/stdio: Flush streams in userspace when process exits 2022-12-22 20:16:11 +08:00
timer sched/posix/timer: handle invaild timerid correctly 2022-10-31 19:59:29 -03:00
tls Replace nxsem API when used as a lock with nxmutex API 2022-10-17 15:59:46 +09:00
wdog libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
wqueue sched: remove unnecessary type cast 2022-12-15 09:44:32 +08:00
Kconfig compiler.h: Add _ between format|printf|syslog|scanf|strftime and like 2022-12-21 01:05:19 +02:00
Makefile Move _assert to kernel space. 2022-12-06 18:33:21 +08:00