nuttx/syscall/syscall.csv
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

17 KiB

1_exitunistd.hnoreturnint
2aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
3aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
4closeunistd.hintint
5dupunistd.hintint
6fsyncunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intint
7getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char *FAR const char *
8modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
9mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
10mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intFAR const char *
11nx_pthread_exitnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)noreturnpthread_addr_t
12pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
13pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
14pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
15pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
16pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
17pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
18pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
19pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
20putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
21rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
22rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
23sched_getschedulersched.hintpid_t
24sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
25sem_destroysemaphore.hintFAR sem_t *
26sem_postsemaphore.hintFAR sem_t *
27sem_trywaitsemaphore.hintFAR sem_t *
28sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
29sem_waitsemaphore.hintFAR sem_t *
30setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
31setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
32shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
33sigpendingsignal.hintFAR sigset_t *
34sigsuspendsignal.hintFAR const sigset_t *
35sysinfosys/sysinfo.hintFAR struct sysinfo *
36task_deletesched.h!defined(CONFIG_BUILD_KERNEL)intpid_t
37task_restartsched.h!defined(CONFIG_BUILD_KERNEL)intpid_t
38task_tls_allocnuttx/tls.hCONFIG_TLS_TASK_NELEM > 0inttls_dtor_t
39timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
40timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
41unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *
42unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
43waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tFAR int *