Files
nuttx/syscall/syscall.csv
T
Abhishek Mishra 1014c49881 sched: add supplementary group IDs (setgroups/getgroups/initgroups)
Track supplementary GIDs per task group, wire setgroups/getgroups
syscalls when CONFIG_SCHED_NGROUPS > 0, and honor them in DAC checks
via nxsched_has_gid().  When NGROUPS is 0, libc provides getgroups/
setgroups stubs.  initgroups() fails instead of silently truncating
when membership exceeds CONFIG_SCHED_NGROUPS.

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