Files
nuttx/syscall/syscall.csv
T
wangchengdong faf864b04f sched/signal: Add support for disabling all signal functions
Signals in NuttX serve two primary purposes:

      1. Synchronization and wake-up:
        Signals can be used to block threads on specific signal sets and later
        wake them up by delivering the corresponding signals to those threads.

      2. Asynchronous notification:
        Signals can also be used to install callback handlers for specific signals, allowing threads to
        asynchronously invoke those handlers when the signals are delivered.

    This change introduces the ability to  disable all signal functionality to reduce footprint for NuttX.

Signed-off-by: Chengdong Wang wangchengdong@lixiang.com
2026-01-18 08:24:13 -03:00

19 KiB

1_assertassert.hvoidFAR const char *intFAR const char *FAR void *
2_exitunistd.hnoreturnint
3accept4sys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *int
4adjtimesys/time.hdefined(CONFIG_CLOCK_ADJTIME)intFAR const struct timeval *FAR struct timeval *
5aio_cancelaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
6aio_fsyncaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
7aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
8aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
9bindsys/socket.hdefined(CONFIG_NET)intintFAR const struct sockaddr *socklen_t
10boardctlsys/boardctl.hdefined(CONFIG_BOARDCTL)intunsigned intuintptr_t
11chmodsys/stat.hintFAR const char *mode_t
12chownunistd.hintFAR const char *uid_tgid_t
13clearenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)int
14clocktime.hclock_t
15clock_adjtimesys/timex.hdefined(CONFIG_CLOCK_ADJTIME)intclockid_tstruct timex *
16clock_gettimetime.hintclockid_tFAR struct timespec *
17clock_nanosleeptime.hintclockid_tintFAR const struct timespec *FAR struct timespec *
18clock_settimetime.hintclockid_tconst struct timespec*
19closeunistd.hintint
20connectsys/socket.hdefined(CONFIG_NET)intintFAR const struct sockaddr *socklen_t
21dupunistd.hintint
22dup2unistd.hintintint
23epoll_closesys/epoll.hvoidint
24epoll_createsys/epoll.hintint
25epoll_create1sys/epoll.hintint
26epoll_ctlsys/epoll.hintintintintFAR struct epoll_event *
27epoll_pwaitsys/epoll.hintintFAR struct epoll_event *intintFAR const sigset_t *
28epoll_waitsys/epoll.hintintFAR struct epoll_event *intint
29eventfdsys/eventfd.hdefined(CONFIG_EVENT_FD)intunsigned intint
30execnuttx/binfmt/binfmt.h!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)intFAR const char *FAR char * const *FAR char * const *FAR const struct symtab_s *int
31execveunistd.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)intFAR const char *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
32fchmodsys/stat.hintintmode_t
33fchownunistd.hintintuid_tgid_t
34fcntlfcntl.hintintint...int
35fstatsys/stat.hintintFAR struct stat *
36fstatfssys/statfs.hintintFAR struct statfs *
37fsyncunistd.hintint
38ftruncateunistd.hintintoff_t
39futimenssys/stat.hintintconst struct timespec [2]|FAR const struct timespec *
40get_environ_ptrstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char **
41getegidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)gid_t
42getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char *FAR const char *
43geteuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)uid_t
44getgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)gid_t
45gethostnameunistd.hintFAR char *size_t
46getitimersys/time.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intintFAR struct itimerval *
47getpeernamesys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
48getpidunistd.hpid_t
49getppidunistd.hdefined(CONFIG_SCHED_HAVE_PARENT)pid_t
50getsocknamesys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
51getsockoptsys/socket.hdefined(CONFIG_NET)intintintintFAR void *FAR socklen_t *
52gettimeofdaysys/time.hintFAR struct timeval *FAR struct timezone *
53getuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)uid_t
54inotify_add_watchsys/inotify.hdefined(CONFIG_FS_NOTIFY)intintFAR const char *uint32_t
55inotify_initsys/inotify.hdefined(CONFIG_FS_NOTIFY)int
56inotify_init1sys/inotify.hdefined(CONFIG_FS_NOTIFY)intint
57inotify_rm_watchsys/inotify.hdefined(CONFIG_FS_NOTIFY)intintint
58insmodnuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *FAR const char *
59ioctlsys/ioctl.hintintint...unsigned long
60killsignal.hintpid_tint
61lchmodsys/stat.hintFAR const char *mode_t
62lchownunistd.hintFAR const char *uid_tgid_t
63linkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)intFAR const char *FAR const char *
64listensys/socket.hdefined(CONFIG_NET)intintint
65lseekunistd.hoff_tintoff_tint
66lstatsys/stat.hintFAR const char *FAR struct stat *
67lutimenssys/stat.hintFAR const char *const struct timespec [2]|FAR const struct timespec *
68mkdirsys/stat.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *mode_t
69mmapsys/mman.hFAR void *FAR void *size_tintintintoff_t
70modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
71mountsys/mount.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *FAR const char *FAR const char *unsigned longFAR const void *
72mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
73mq_getattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR struct mq_attr *
74mq_notifymqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const struct sigevent *
75mq_openmqueue.h!defined(CONFIG_DISABLE_MQUEUE)mqd_tFAR const char *int...mode_tFAR struct mq_attr *
76mq_receivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *
77mq_sendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned int
78mq_setattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const struct mq_attr *FAR struct mq_attr *
79mq_timedreceivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *FAR const struct timespec *
80mq_timedsendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned intFAR const struct timespec *
81mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intFAR const char *
82msyncsys/mman.hintFAR void *size_tint
83munmapsys/mman.hintFAR void *size_t
84nanosleeptime.hintFAR const struct timespec *FAR struct timespec *
85nx_mkfifonuttx/fs/fs.hdefined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0intFAR const char *mode_tsize_t
86nx_pthread_createnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_trampoline_tFAR pthread_t *FAR const pthread_attr_t *pthread_startroutine_tpthread_addr_t
87nx_pthread_exitnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)noreturnpthread_addr_t
88nx_vsyslognuttx/syslog/syslog.hintintFAR const IPTR char *FAR va_list *
89nxsched_get_stackinfonuttx/sched.hintpid_tFAR struct stackinfo_s *
90nxsem_tickwaitnuttx/semaphore.hintFAR sem_t *uint32_t
91nxsem_clockwaitnuttx/semaphore.hintFAR sem_t *clockid_tFAR const struct timespec *
92nxsem_closenuttx/semaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
93nxsem_destroynuttx/semaphore.hintFAR sem_t *
94nxsem_getprioceilingnuttx/semaphore.hdefined(CONFIG_PRIORITY_PROTECT)intFAR const sem_t *FAR int *
95nxsem_opennuttx/semaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t **FAR const char *int...mode_tunsigned int
96nxsem_post_slownuttx/semaphore.hintFAR sem_t *
97nxsem_set_protocolnuttx/semaphore.hdefined(CONFIG_PRIORITY_INHERITANCE)intFAR sem_t *int
98nxsem_setprioceilingnuttx/semaphore.hdefined(CONFIG_PRIORITY_PROTECT)intFAR sem_t *intFAR int *
99nxsem_timedwaitnuttx/semaphore.hintFAR sem_t *FAR const struct timespec *
100nxsem_trywait_slownuttx/semaphore.hintFAR sem_t *
101nxsem_unlinknuttx/semaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
102nxsem_wait_slownuttx/semaphore.hintFAR sem_t *
103openfcntl.hintFAR const char *int...mode_t
104pgallocnuttx/arch.hdefined(CONFIG_BUILD_KERNEL)uintptr_tuintptr_tunsigned int
105pipe2unistd.hdefined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0intint [2]|FAR int *int
106pollpoll.hintFAR struct pollfd *nfds_tint
107posix_spawnspawn.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)intFAR pid_t *FAR const char *FAR const posix_spawn_file_actions_t *FAR const posix_spawnattr_t *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
108ppollpoll.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intFAR struct pollfd *nfds_tFAR const struct timespec *FAR const sigset_t *
109prctlsys/prctl.hintint...uintptr_tuintptr_t
110preadunistd.hssize_tintFAR void *size_toff_t
111pselectsys/select.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intintFAR fd_set *FAR fd_set *FAR fd_set *FAR const struct timespec *FAR const sigset_t *
112pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
113pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
114pthread_cond_clockwaitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *clockid_tFAR const struct timespec *
115pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
116pthread_cond_waitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *
117pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
118pthread_getaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR cpu_set_t*
119pthread_getschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR int *FAR struct sched_param *
120pthread_joinpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR pthread_addr_t *
121pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
122pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
123pthread_mutex_initpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *FAR const pthread_mutexattr_t *
124pthread_mutex_timedlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *FAR const struct timespec *
125pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
126pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
127pthread_setaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR const cpu_set_t *
128pthread_setschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tintFAR const struct sched_param *
129pthread_setschedpriopthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
130pthread_sigmaskpthread.h!defined(CONFIG_DISABLE_PTHREAD)intintFAR const sigset_t *FAR sigset_t *
131putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
132pwriteunistd.hssize_tintFAR const void *size_toff_t
133readunistd.hssize_tintFAR void *size_t
134readvsys/uio.hssize_tintFAR const struct iovec *int
135readlinkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)ssize_tFAR const char *FAR char *size_t
136recvsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void *size_tint
137recvfromsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void*size_tintFAR struct sockaddr*FAR socklen_t*
138recvmsgsys/socket.hdefined(CONFIG_NET)ssize_tintFAR struct msghdr *int
139renamestdio.hintFAR const char *FAR const char *
140rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
141rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
142sched_backtracesched.hdefined(CONFIG_SCHED_BACKTRACE)intpid_tFAR void **intint
143sched_getaffinitysched.hdefined(CONFIG_SMP)intpid_tsize_tFAR cpu_set_t *
144sched_getcpusched.hint
145sched_getparamsched.hintpid_tFAR struct sched_param *
146sched_getschedulersched.hintpid_t
147sched_locksched.hvoid
148sched_lockcountsched.hint
149sched_rr_get_intervalsched.hintpid_tstruct timespec *
150sched_setaffinitysched.hdefined(CONFIG_SMP)intpid_tsize_tFAR const cpu_set_t*
151sched_setparamsched.hintpid_tconst struct sched_param *
152sched_setschedulersched.hintpid_tintconst struct sched_param *
153sched_unlocksched.hvoid
154sched_yieldsched.hint
155selectsys/select.hintintFAR fd_set *FAR fd_set *FAR fd_set *FAR struct timeval *
156sendsys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tint
157sendfilesys/sendfile.hssize_tintintFAR off_t *size_t
158sendmsgsys/socket.hdefined(CONFIG_NET)ssize_tintFAR const struct msghdr *int
159sendtosys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tintFAR const struct sockaddr *socklen_t
160setegidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
161setenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *FAR const char *int
162seteuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
163setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
164sethostnameunistd.hintFAR const char *size_t
165setitimersys/time.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intintFAR const struct itimerval *FAR struct itimerval *
166setsockoptsys/socket.hdefined(CONFIG_NET) && defined(CONFIG_NET_SOCKOPTS)intintintintFAR const void *socklen_t
167settimeofdaysys/time.hintFAR const struct timeval *FAR const struct timezone *
168setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
169shm_opensys/mman.hdefined(CONFIG_FS_SHMFS)intFAR const char *intmode_t
170shm_unlinksys/mman.hdefined(CONFIG_FS_SHMFS)intFAR const char *
171shmatsys/shm.hdefined(CONFIG_MM_SHM)FAR void *intFAR const void *int
172shmctlsys/shm.hdefined(CONFIG_MM_SHM)intintintFAR struct shmid_ds *
173shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
174shmgetsys/shm.hdefined(CONFIG_MM_SHM)intkey_tsize_tint
175shutdownsys/socket.hdefined(CONFIG_NET)intintint
176sigactionsignal.hdefined(CONFIG_ENABLE_ALL_SIGNALS)intintFAR const struct sigaction *FAR struct sigaction *
177signalsignal.hdefined(CONFIG_ENABLE_ALL_SIGNALS)_sa_handler_tint_sa_handler_t
178signalfdsys/signalfd.hdefined(CONFIG_SIGNAL_FD)intintFAR const sigset_t *int
179sigpendingsignal.hdefined(CONFIG_ENABLE_ALL_SIGNALS)intFAR sigset_t *
180sigprocmasksignal.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intintFAR const sigset_t *FAR sigset_t *
181sigqueuesignal.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intintintunion sigval|FAR void *|sival_ptr
182sigsuspendsignal.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intFAR const sigset_t *
183sigtimedwaitsignal.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intFAR const sigset_t *FAR struct siginfo *FAR const struct timespec *
184sigwaitinfosignal.h!defined(CONFIG_DISABLE_ALL_SIGNALS)intFAR const sigset_t *FAR struct siginfo *
185socketsys/socket.hdefined(CONFIG_NET)intintintint
186socketpairsys/socket.hdefined(CONFIG_NET)intintintintint [2]|FAR int *
187statsys/stat.hintFAR const char *FAR struct stat *
188statfssys/statfs.hintFAR const char *FAR struct statfs *
189symlinkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)intFAR const char *FAR const char *
190syncunistd.hvoid
191sysinfosys/sysinfo.hintFAR struct sysinfo *
192task_createsched.h!defined(CONFIG_BUILD_KERNEL)intFAR const char *intintmain_tFAR char * const []|FAR char * const *
193task_deletesched.h!defined(CONFIG_BUILD_KERNEL)intpid_t
194task_restartsched.h!defined(CONFIG_BUILD_KERNEL)intpid_t
195task_spawnnuttx/spawn.h!defined(CONFIG_BUILD_KERNEL)intFAR const char *main_tFAR const posix_spawn_file_actions_t *FAR const posix_spawnattr_t *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
196tgkillsignal.hintpid_tpid_tint
197timetime.htime_tFAR time_t *
198timer_createtime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intclockid_tFAR struct sigevent *FAR timer_t *
199timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
200timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
201timer_gettimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tFAR struct itimerspec *
202timer_settimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tintFAR const struct itimerspec *FAR struct itimerspec *
203timerfd_createsys/timerfd.hdefined(CONFIG_TIMER_FD)intintint
204timerfd_gettimesys/timerfd.hdefined(CONFIG_TIMER_FD)intintFAR struct itimerspec *
205timerfd_settimesys/timerfd.hdefined(CONFIG_TIMER_FD)intintintFAR const struct itimerspec *FAR struct itimerspec *
206umount2sys/mount.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *unsigned int
207unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *
208unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
209up_forknuttx/arch.hdefined(CONFIG_ARCH_HAVE_FORK)pid_t
210utimenssys/stat.hintFAR const char *const struct timespec [2]|FAR const struct timespec *
211waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tFAR int *
212waitidsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)intidtype_tid_t FAR siginfo_t *int
213waitpidsys/wait.hdefined(CONFIG_SCHED_WAITPID)pid_tpid_tFAR int *int
214writeunistd.hssize_tintFAR const void *size_t
215writevsys/uio.hssize_tintFAR const struct iovec *int