896f34fde9
Implement 'effective' setuid, getuid, setgid, and getgid interfaces. These will be inheritance by all child task groups. These definitons are explicitly specified here: https://pubs.opengroup.org/onlinepubs/000095399/functions/geteuid.html https://pubs.opengroup.org/onlinepubs/000095399/functions/getegid.html https://pubs.opengroup.org/onlinepubs/000095399/functions/seteuid.html https://pubs.opengroup.org/onlinepubs/000095399/functions/setegid.html Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
18 KiB
18 KiB
1 | _assert | assert.h | void | FAR const char * | int | FAR const char * | FAR void * | |
---|---|---|---|---|---|---|---|---|
2 | accept4 | sys/socket.h | defined(CONFIG_NET) | int | int | FAR struct sockaddr * | FAR socklen_t * | int |
3 | clock_nanosleep | time.h | int | clockid_t | int | FAR const struct timespec * | FAR struct timespec * | |
4 | epoll_ctl | sys/epoll.h | int | int | int | int | FAR struct epoll_event * | |
5 | epoll_wait | sys/epoll.h | int | int | FAR struct epoll_event * | int | int | |
6 | fcntl | fcntl.h | int | int | int | ... | int | |
7 | fs_fdopen | nuttx/fs/fs.h | defined(CONFIG_FILE_STREAM) | int | int | int | FAR struct tcb_s * | FAR struct file_struct ** |
8 | ioctl | sys/ioctl.h | int | int | int | ... | unsigned long | |
9 | mq_receive | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | ssize_t | mqd_t | FAR char * | size_t | FAR unsigned int * |
10 | mq_send | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | mqd_t | FAR const char * | size_t | unsigned int |
11 | open | fcntl.h | int | FAR const char * | int | ... | mode_t | |
12 | ppoll | poll.h | int | FAR struct pollfd * | nfds_t | FAR const struct timespec * | FAR const sigset_t * | |
13 | prctl | sys/prctl.h | int | int | ... | uintptr_t | uintptr_t | |
14 | pread | unistd.h | ssize_t | int | FAR void * | size_t | off_t | |
15 | pthread_cond_clockwait | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t * | FAR pthread_mutex_t * | clockid_t | FAR const struct timespec * |
16 | pwrite | unistd.h | ssize_t | int | FAR const void * | size_t | off_t | |
17 | recv | sys/socket.h | defined(CONFIG_NET) | ssize_t | int | FAR void * | size_t | int |
18 | sched_backtrace | sched.h | defined(CONFIG_SCHED_BACKTRACE) | int | pid_t | FAR void ** | int | int |
19 | send | sys/socket.h | defined(CONFIG_NET) | ssize_t | int | FAR const void * | size_t | int |
20 | sendfile | sys/sendfile.h | ssize_t | int | int | FAR off_t * | size_t | |
21 | socketpair | sys/socket.h | defined(CONFIG_NET) | int | int | int | int | int [2]|FAR int * |
22 | timer_settime | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t | int | FAR const struct itimerspec * | FAR struct itimerspec * |
23 | timerfd_settime | sys/timerfd.h | defined(CONFIG_TIMER_FD) | int | int | int | FAR const struct itimerspec * | FAR struct itimerspec * |
24 | waitid | sys/wait.h | defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT) | int | idtype_t | id_t | FAR siginfo_t * | int |