172b209f2d
_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.
17 KiB
17 KiB
1 | _exit | unistd.h | noreturn | int | |
---|---|---|---|---|---|
2 | aio_read | aio.h | defined(CONFIG_FS_AIO) | int | FAR struct aiocb * |
3 | aio_write | aio.h | defined(CONFIG_FS_AIO) | int | FAR struct aiocb * |
4 | close | unistd.h | int | int | |
5 | dup | unistd.h | int | int | |
6 | fsync | unistd.h | !defined(CONFIG_DISABLE_MOUNTPOINT) | int | int |
7 | getenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | FAR char * | FAR const char * |
8 | modhandle | nuttx/module.h | defined(CONFIG_MODULE) | FAR void * | FAR const char * |
9 | mq_close | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | mqd_t |
10 | mq_unlink | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | FAR const char * |
11 | nx_pthread_exit | nuttx/pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | noreturn | pthread_addr_t |
12 | pthread_cancel | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_t |
13 | pthread_cond_broadcast | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t * |
14 | pthread_cond_signal | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t * |
15 | pthread_detach | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_t |
16 | pthread_mutex_consistent | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE) | int | FAR pthread_mutex_t * |
17 | pthread_mutex_destroy | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t * |
18 | pthread_mutex_trylock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t * |
19 | pthread_mutex_unlock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t * |
20 | putenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | int | FAR const char * |
21 | rmdir | unistd.h | !defined(CONFIG_DISABLE_MOUNTPOINT) | int | FAR const char* |
22 | rmmod | nuttx/module.h | defined(CONFIG_MODULE) | int | FAR void * |
23 | sched_getscheduler | sched.h | int | pid_t | |
24 | sem_close | semaphore.h | defined(CONFIG_FS_NAMED_SEMAPHORES) | int | FAR sem_t * |
25 | sem_destroy | semaphore.h | int | FAR sem_t * | |
26 | sem_post | semaphore.h | int | FAR sem_t * | |
27 | sem_trywait | semaphore.h | int | FAR sem_t * | |
28 | sem_unlink | semaphore.h | defined(CONFIG_FS_NAMED_SEMAPHORES) | int | FAR const char * |
29 | sem_wait | semaphore.h | int | FAR sem_t * | |
30 | setgid | unistd.h | defined(CONFIG_SCHED_USER_IDENTITY) | int | gid_t |
31 | setuid | unistd.h | defined(CONFIG_SCHED_USER_IDENTITY) | int | uid_t |
32 | shmdt | sys/shm.h | defined(CONFIG_MM_SHM) | int | FAR const void * |
33 | sigpending | signal.h | int | FAR sigset_t * | |
34 | sigsuspend | signal.h | int | FAR const sigset_t * | |
35 | sysinfo | sys/sysinfo.h | int | FAR struct sysinfo * | |
36 | task_delete | sched.h | !defined(CONFIG_BUILD_KERNEL) | int | pid_t |
37 | task_restart | sched.h | !defined(CONFIG_BUILD_KERNEL) | int | pid_t |
38 | task_tls_alloc | nuttx/tls.h | CONFIG_TLS_TASK_NELEM > 0 | int | tls_dtor_t |
39 | timer_delete | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t |
40 | timer_getoverrun | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t |
41 | unlink | unistd.h | !defined(CONFIG_DISABLE_MOUNTPOINT) | int | FAR const char * |
42 | unsetenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | int | FAR const char * |
43 | wait | sys/wait.h | defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT) | pid_t | FAR int * |