Syscalls - powerpc_spu

Last update: Mon, 16 Dec 2024 07:02:30 +0000

Download as a CSV

NR Name Status Return type Parameters count Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5 Parameter 6
3 read ok long 3 unsigned int fd char * buf size_t count - - -
4 write ok long 3 unsigned int fd const char * buf size_t count - - -
5 open ok long 3 const char * filename int flags umode_t mode - - -
6 close ok long 1 unsigned int fd - - - - -
7 waitpid ok long 3 pid_t pid int * stat_addr int options - - -
8 creat ok long 2 const char * pathname umode_t mode - - - -
9 link ok long 2 const char * oldname const char * newname - - - -
10 unlink ok long 1 const char * pathname - - - - -
12 chdir ok long 1 const char * filename - - - - -
13 time ok long 1 __kernel_old_time_t * tloc - - - - -
14 mknod ok long 3 const char * filename umode_t mode unsigned dev - - -
15 chmod ok long 2 const char * filename umode_t mode - - - -
16 lchown ok long 3 const char * filename uid_t user gid_t group - - -
19 lseek ok long 3 unsigned int fd off_t offset unsigned int whence - - -
20 getpid ok long 0 - - - - - -
23 setuid ok long 1 uid_t uid - - - - -
24 getuid ok long 0 - - - - - -
25 stime ok long 1 __kernel_old_time_t * tptr - - - - -
27 alarm ok long 1 unsigned int seconds - - - - -
33 access ok long 2 const char * filename int mode - - - -
34 nice ok long 1 int increment - - - - -
36 sync ok long 0 - - - - - -
37 kill ok long 2 pid_t pid int sig - - - -
38 rename ok long 2 const char * oldname const char * newname - - - -
39 mkdir ok long 2 const char * pathname umode_t mode - - - -
40 rmdir ok long 1 const char * pathname - - - - -
41 dup ok long 1 unsigned int fildes - - - - -
42 pipe ok long 1 int * fildes - - - - -
43 times ok long 1 struct tms * tbuf - - - - -
45 brk ok long 1 unsigned long brk - - - - -
46 setgid ok long 1 gid_t gid - - - - -
47 getgid ok long 0 - - - - - -
49 geteuid ok long 0 - - - - - -
50 getegid ok long 0 - - - - - -
54 ioctl ok long 3 unsigned int fd unsigned int cmd unsigned long arg - - -
55 fcntl ok long 3 unsigned int fd unsigned int cmd unsigned long arg - - -
57 setpgid ok long 2 pid_t pid pid_t pgid - - - -
60 umask ok long 1 int mask - - - - -
61 chroot ok long 1 const char * filename - - - - -
63 dup2 ok long 2 unsigned int oldfd unsigned int newfd - - - -
64 getppid ok long 0 - - - - - -
65 getpgrp ok long 0 - - - - - -
66 setsid ok long 0 - - - - - -
68 sgetmask ok long 0 - - - - - -
69 ssetmask ok long 1 int newmask - - - - -
70 setreuid ok long 2 uid_t ruid uid_t euid - - - -
71 setregid ok long 2 gid_t rgid gid_t egid - - - -
74 sethostname ok long 2 char * name int len - - - -
75 setrlimit ok long 2 unsigned int resource struct rlimit * rlim - - - -
77 getrusage ok long 2 int who struct rusage * ru - - - -
78 gettimeofday ok long 2 struct __kernel_old_timeval * tv struct timezone * tz - - - -
79 settimeofday ok long 2 struct __kernel_old_timeval * tv struct timezone * tz - - - -
80 getgroups ok long 2 int gidsetsize gid_t * grouplist - - - -
81 setgroups ok long 2 int gidsetsize gid_t * grouplist - - - -
83 symlink ok long 2 const char * oldname const char * newname - - - -
85 readlink ok long 3 const char * path char * buf int bufsiz - - -
90 mmap ok long 6 unsigned long addr size_t len unsigned long prot unsigned long flags unsigned long fd off_t offset
91 munmap ok long 2 unsigned long addr size_t len - - - -
92 truncate ok long 2 const char * path long length - - - -
93 ftruncate ok long 2 unsigned int fd off_t length - - - -
94 fchmod ok long 2 unsigned int fd umode_t mode - - - -
95 fchown ok long 3 unsigned int fd uid_t user gid_t group - - -
96 getpriority ok long 2 int which int who - - - -
97 setpriority ok long 3 int which int who int niceval - - -
102 socketcall ok long 2 int call unsigned long * args - - - -
103 syslog ok long 3 int type char * buf int len - - -
104 setitimer ok long 3 int which struct __kernel_old_itimerval * value struct __kernel_old_itimerval * ovalue - - -
105 getitimer ok long 2 int which struct __kernel_old_itimerval * value - - - -
106 stat ok long 2 const char * filename struct __old_kernel_stat * statbuf - - - -
107 lstat ok long 2 const char * filename struct __old_kernel_stat * statbuf - - - -
108 fstat ok long 2 unsigned int fd struct __old_kernel_stat * statbuf - - - -
111 vhangup ok long 0 - - - - - -
114 wait4 ok long 4 pid_t upid int * stat_addr int options struct rusage * ru - -
116 sysinfo ok long 1 struct sysinfo * info - - - - -
118 fsync ok long 1 unsigned int fd - - - - -
121 setdomainname ok long 2 char * name int len - - - -
122 uname ok long 1 struct old_utsname * name - - - - -
124 adjtimex ok long 1 struct __kernel_timex * txc_p - - - - -
125 mprotect ok long 3 unsigned long start size_t len unsigned long prot - - -
132 getpgid ok long 1 pid_t pid - - - - -
133 fchdir ok long 1 unsigned int fd - - - - -
135 sysfs ok long 3 int option unsigned long arg1 unsigned long arg2 - - -
136 personality ok long 1 unsigned int personality - - - - -
138 setfsuid ok long 1 uid_t uid - - - - -
139 setfsgid ok long 1 gid_t gid - - - - -
140 _llseek ok long 5 unsigned int fd unsigned long offset_high unsigned long offset_low loff_t * result unsigned int whence -
141 getdents ok long 3 unsigned int fd struct linux_dirent * dirent unsigned int count - - -
142 _newselect ok long 5 int n fd_set * inp fd_set * outp fd_set * exp struct __kernel_old_timeval * tvp -
143 flock ok long 2 unsigned int fd unsigned int cmd - - - -
144 msync ok long 3 unsigned long start size_t len int flags - - -
145 readv ok long 3 unsigned long fd const struct iovec * vec unsigned long vlen - - -
146 writev ok long 3 unsigned long fd const struct iovec * vec unsigned long vlen - - -
147 getsid ok long 1 pid_t pid - - - - -
148 fdatasync ok long 1 unsigned int fd - - - - -
150 mlock ok long 2 unsigned long start size_t len - - - -
151 munlock ok long 2 unsigned long start size_t len - - - -
152 mlockall ok long 1 int flags - - - - -
153 munlockall ok long 0 - - - - - -
154 sched_setparam ok long 2 pid_t pid struct sched_param * param - - - -
155 sched_getparam ok long 2 pid_t pid struct sched_param * param - - - -
156 sched_setscheduler ok long 3 pid_t pid int policy struct sched_param * param - - -
157 sched_getscheduler ok long 1 pid_t pid - - - - -
158 sched_yield ok long 0 - - - - - -
159 sched_get_priority_max ok long 1 int policy - - - - -
160 sched_get_priority_min ok long 1 int policy - - - - -
161 sched_rr_get_interval ok long 2 pid_t pid struct __kernel_timespec * interval - - - -
162 nanosleep ok long 2 struct __kernel_timespec * rqtp struct __kernel_timespec * rmtp - - - -
163 mremap ok long 5 unsigned long addr unsigned long old_len unsigned long new_len unsigned long flags unsigned long new_addr -
164 setresuid ok long 3 uid_t ruid uid_t euid uid_t suid - - -
165 getresuid ok long 3 uid_t * ruidp uid_t * euidp uid_t * suidp - - -
167 poll ok long 3 struct pollfd * ufds unsigned int nfds int timeout_msecs - - -
169 setresgid ok long 3 gid_t rgid gid_t egid gid_t sgid - - -
170 getresgid ok long 3 gid_t * rgidp gid_t * egidp gid_t * sgidp - - -
171 prctl ok long 5 int option unsigned long arg2 unsigned long arg3 unsigned long arg4 unsigned long arg5 -
179 pread64 ok long 4 unsigned int fd char * buf size_t count loff_t pos - -
180 pwrite64 ok long 4 unsigned int fd const char * buf size_t count loff_t pos - -
181 chown ok long 3 const char * filename uid_t user gid_t group - - -
182 getcwd ok long 2 char * buf unsigned long size - - - -
183 capget ok long 2 cap_user_header_t header cap_user_data_t dataptr - - - -
184 capset ok long 2 cap_user_header_t header const cap_user_data_t data - - - -
186 sendfile ok long 4 int out_fd int in_fd off_t * offset size_t count - -
190 ugetrlimit ok long 2 unsigned int resource struct rlimit * rlim - - - -
191 readahead ok long 3 int fd loff_t offset size_t count - - -
202 getdents64 ok long 3 unsigned int fd struct linux_dirent64 * dirent unsigned int count - - -
203 pivot_root ok long 2 const char * new_root const char * put_old - - - -
205 madvise ok long 3 unsigned long start size_t len_in int behavior - - -
206 mincore ok long 3 unsigned long start size_t len unsigned char * vec - - -
207 gettid ok long 0 - - - - - -
208 tkill ok long 2 pid_t pid int sig - - - -
209 setxattr ok long 5 const char * pathname const char * name const void * value size_t size int flags -
210 lsetxattr ok long 5 const char * pathname const char * name const void * value size_t size int flags -
211 fsetxattr ok long 5 int fd const char * name const void * value size_t size int flags -
212 getxattr ok long 4 const char * pathname const char * name void * value size_t size - -
213 lgetxattr ok long 4 const char * pathname const char * name void * value size_t size - -
214 fgetxattr ok long 4 int fd const char * name void * value size_t size - -
215 listxattr ok long 3 const char * pathname char * list size_t size - - -
216 llistxattr ok long 3 const char * pathname char * list size_t size - - -
217 flistxattr ok long 3 int fd char * list size_t size - - -
218 removexattr ok long 2 const char * pathname const char * name - - - -
219 lremovexattr ok long 2 const char * pathname const char * name - - - -
220 fremovexattr ok long 2 int fd const char * name - - - -
221 futex ok long 6 u32 * uaddr int op u32 val const struct __kernel_timespec * utime u32 * uaddr2 u32 val3
222 sched_setaffinity ok long 3 pid_t pid unsigned int len unsigned long * user_mask_ptr - - -
223 sched_getaffinity ok long 3 pid_t pid unsigned int len unsigned long * user_mask_ptr - - -
227 io_setup ok long 2 unsigned nr_events aio_context_t * ctxp - - - -
228 io_destroy ok long 1 aio_context_t ctx - - - - -
229 io_getevents ok long 5 aio_context_t ctx_id long min_nr long nr struct io_event * events struct __kernel_timespec * timeout -
230 io_submit ok long 3 aio_context_t ctx_id long nr struct iocb * * iocbpp - - -
231 io_cancel ok long 3 aio_context_t ctx_id struct iocb * iocb struct io_event * result - - -
233 fadvise64 ok long 4 int fd loff_t offset size_t len int advice - -
236 epoll_create ok long 1 int size - - - - -
237 epoll_ctl ok long 4 int epfd int op int fd struct epoll_event * event - -
238 epoll_wait ok long 4 int epfd struct epoll_event * events int maxevents int timeout - -
239 remap_file_pages ok long 5 unsigned long start unsigned long size unsigned long prot unsigned long pgoff unsigned long flags -
240 timer_create ok long 3 const clockid_t which_clock struct sigevent * timer_event_spec timer_t * created_timer_id - - -
241 timer_settime ok long 4 timer_t timer_id int flags const struct __kernel_itimerspec * new_setting struct __kernel_itimerspec * old_setting - -
242 timer_gettime ok long 2 timer_t timer_id struct __kernel_itimerspec * setting - - - -
243 timer_getoverrun ok long 1 timer_t timer_id - - - - -
244 timer_delete ok long 1 timer_t timer_id - - - - -
245 clock_settime ok long 2 const clockid_t which_clock const struct __kernel_timespec * tp - - - -
246 clock_gettime ok long 2 const clockid_t which_clock struct __kernel_timespec * tp - - - -
247 clock_getres ok long 2 const clockid_t which_clock struct __kernel_timespec * tp - - - -
248 clock_nanosleep ok long 4 const clockid_t which_clock int flags const struct __kernel_timespec * rqtp struct __kernel_timespec * rmtp - -
250 tgkill ok long 3 pid_t tgid pid_t pid int sig - - -
251 utimes ok long 2 char * filename struct __kernel_old_timeval * utimes - - - -
252 statfs64 ok long 3 const char * pathname size_t sz struct statfs64 * buf - - -
253 fstatfs64 ok long 3 unsigned int fd size_t sz struct statfs64 * buf - - -
255 rtas ok long 1 struct rtas_args * uargs - - - - -
282 unshare ok long 1 unsigned long unshare_flags - - - - -
283 splice ok long 6 int fd_in loff_t * off_in int fd_out loff_t * off_out size_t len unsigned int flags
284 tee ok long 4 int fdin int fdout size_t len unsigned int flags - -
285 vmsplice ok long 4 int fd const struct iovec * uiov unsigned long nr_segs unsigned int flags - -
286 openat ok long 4 int dfd const char * filename int flags umode_t mode - -
287 mkdirat ok long 3 int dfd const char * pathname umode_t mode - - -
288 mknodat ok long 4 int dfd const char * filename umode_t mode unsigned int dev - -
289 fchownat ok long 5 int dfd const char * filename uid_t user gid_t group int flag -
290 utimesat ok long 3 int dfd const char * filename struct __kernel_old_timeval * utimes - - -
291 newfstatat ok long 4 int dfd const char * filename struct stat * statbuf int flag - -
292 unlinkat ok long 3 int dfd const char * pathname int flag - - -
293 renameat ok long 4 int olddfd const char * oldname int newdfd const char * newname - -
294 linkat ok long 5 int olddfd const char * oldname int newdfd const char * newname int flags -
295 symlinkat ok long 3 const char * oldname int newdfd const char * newname - - -
296 readlinkat ok long 4 int dfd const char * pathname char * buf int bufsiz - -
297 fchmodat ok long 3 int dfd const char * filename umode_t mode - - -
298 faccessat ok long 3 int dfd const char * filename int mode - - -
299 get_robust_list ok long 3 int pid struct robust_list_head * * head_ptr size_t * len_ptr - - -
300 set_robust_list ok long 2 struct robust_list_head * head size_t len - - - -
301 move_pages ok long 6 pid_t pid unsigned long nr_pages const void * * pages const int * nodes int * status int flags
302 getcpu ok long 3 unsigned * cpup unsigned * nodep struct getcpu_cache * unused - - -
304 utimensat ok long 4 int dfd const char * filename struct __kernel_timespec * utimes int flags - -
305 signalfd ok long 3 int ufd sigset_t * user_mask size_t sizemask - - -
306 timerfd_create ok long 2 int clockid int flags - - - -
307 eventfd ok long 1 unsigned int count - - - - -
308 sync_file_range2 ok long 4 int fd unsigned int flags loff_t offset loff_t nbytes - -
311 timerfd_settime ok long 4 int ufd int flags const struct __kernel_itimerspec * utmr struct __kernel_itimerspec * otmr - -
312 timerfd_gettime ok long 2 int ufd struct __kernel_itimerspec * otmr - - - -
313 signalfd4 ok long 4 int ufd sigset_t * user_mask size_t sizemask int flags - -
314 eventfd2 ok long 2 unsigned int count int flags - - - -
315 epoll_create1 ok long 1 int flags - - - - -
316 dup3 ok long 3 unsigned int oldfd unsigned int newfd int flags - - -
317 pipe2 ok long 2 int * fildes int flags - - - -
319 perf_event_open ok long 5 struct perf_event_attr * attr_uptr pid_t pid int cpu int group_fd unsigned long flags -
320 preadv ok long 5 unsigned long fd const struct iovec * vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
321 pwritev ok long 5 unsigned long fd const struct iovec * vec unsigned long vlen unsigned long pos_l unsigned long pos_h -
325 prlimit64 ok long 4 pid_t pid unsigned int resource const struct rlimit64 * new_rlim struct rlimit64 * old_rlim - -
326 socket ok long 3 int family int type int protocol - - -
327 bind ok long 3 int fd struct sockaddr * umyaddr int addrlen - - -
328 connect ok long 3 int fd struct sockaddr * uservaddr int addrlen - - -
329 listen ok long 2 int fd int backlog - - - -
330 accept ok long 3 int fd struct sockaddr * upeer_sockaddr int * upeer_addrlen - - -
331 getsockname ok long 3 int fd struct sockaddr * usockaddr int * usockaddr_len - - -
332 getpeername ok long 3 int fd struct sockaddr * usockaddr int * usockaddr_len - - -
333 socketpair ok long 4 int family int type int protocol int * usockvec - -
334 send ok long 4 int fd void * buff size_t len unsigned int flags - -
335 sendto ok long 6 int fd void * buff size_t len unsigned int flags struct sockaddr * addr int addr_len
336 recv ok long 4 int fd void * ubuf size_t size unsigned int flags - -
337 recvfrom ok long 6 int fd void * ubuf size_t size unsigned int flags struct sockaddr * addr int * addr_len
338 shutdown ok long 2 int fd int how - - - -
339 setsockopt ok long 5 int fd int level int optname char * optval int optlen -
340 getsockopt ok long 5 int fd int level int optname char * optval int * optlen -
341 sendmsg ok long 3 int fd struct user_msghdr * msg unsigned int flags - - -
342 recvmsg ok long 3 int fd struct user_msghdr * msg unsigned int flags - - -
343 recvmmsg ok long 5 int fd struct mmsghdr * mmsg unsigned int vlen unsigned int flags struct __kernel_timespec * timeout -
344 accept4 ok long 4 int fd struct sockaddr * upeer_sockaddr int * upeer_addrlen int flags - -
345 name_to_handle_at ok long 5 int dfd const char * name struct file_handle * handle void * mnt_id int flag -
346 open_by_handle_at ok long 3 int mountdirfd struct file_handle * handle int flags - - -
347 clock_adjtime ok long 2 const clockid_t which_clock struct __kernel_timex * utx - - - -
348 syncfs ok long 1 int fd - - - - -
349 sendmmsg ok long 4 int fd struct mmsghdr * mmsg unsigned int vlen unsigned int flags - -
350 setns ok long 2 int fd int flags - - - -
355 sched_setattr ok long 3 pid_t pid struct sched_attr * uattr unsigned int flags - - -
356 sched_getattr ok long 4 pid_t pid struct sched_attr * uattr unsigned int usize unsigned int flags - -
357 renameat2 ok long 5 int olddfd const char * oldname int newdfd const char * newname unsigned int flags -
358 seccomp ok long 3 unsigned int op unsigned int flags void * uargs - - -
359 getrandom ok long 3 char * ubuf size_t len unsigned int flags - - -
360 memfd_create ok long 2 const char * uname unsigned int flags - - - -
361 bpf ok long 3 int cmd union bpf_attr * uattr unsigned int size - - -
364 userfaultfd ok long 1 int flags - - - - -
365 membarrier ok long 3 int cmd unsigned int flags int cpu_id - - -
380 preadv2 ok long 6 unsigned long fd const struct iovec * vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
381 pwritev2 ok long 6 unsigned long fd const struct iovec * vec unsigned long vlen unsigned long pos_l unsigned long pos_h rwf_t flags
393 semget ok long 3 key_t key int nsems int semflg - - -
394 semctl ok long 4 int semid int semnum int cmd unsigned long arg - -
395 shmget ok long 3 key_t key size_t size int shmflg - - -
396 shmctl ok long 3 int shmid int cmd struct shmid_ds * buf - - -
397 shmat ok long 3 int shmid char * shmaddr int shmflg - - -
398 shmdt ok long 1 char * shmaddr - - - - -
399 msgget ok long 2 key_t key int msgflg - - - -
400 msgsnd ok long 4 int msqid struct msgbuf * msgp size_t msgsz int msgflg - -
401 msgrcv ok long 5 int msqid struct msgbuf * msgp size_t msgsz long msgtyp int msgflg -
402 msgctl ok long 3 int msqid int cmd struct msqid_ds * buf - - -
424 pidfd_send_signal ok long 4 int pidfd int sig siginfo_t * info unsigned int flags - -
425 io_uring_setup ok long 2 u32 entries struct io_uring_params * params - - - -
426 io_uring_enter ok long 6 unsigned int fd u32 to_submit u32 min_complete u32 flags const void * argp size_t argsz
427 io_uring_register ok long 4 unsigned int fd unsigned int opcode void * arg unsigned int nr_args - -
428 open_tree ok long 3 int dfd const char * filename unsigned flags - - -
429 move_mount ok long 5 int from_dfd const char * from_pathname int to_dfd const char * to_pathname unsigned int flags -
430 fsopen ok long 2 const char * _fs_name unsigned int flags - - - -
431 fsconfig ok long 5 int fd unsigned int cmd const char * _key const void * _value int aux -
432 fsmount ok long 3 int fs_fd unsigned int flags unsigned int attr_flags - - -
433 fspick ok long 3 int dfd const char * path unsigned int flags - - -
434 pidfd_open ok long 2 pid_t pid unsigned int flags - - - -
436 close_range ok long 3 unsigned int fd unsigned int max_fd unsigned int flags - - -
437 openat2 ok long 4 int dfd const char * filename struct open_how * how size_t usize - -
438 pidfd_getfd ok long 3 int pidfd int fd unsigned int flags - - -
439 faccessat2 ok long 4 int dfd const char * filename int mode int flags - -
440 process_madvise ok long 5 int pidfd const struct iovec * vec size_t vlen int behavior unsigned int flags -
441 epoll_pwait2 ok long 6 int epfd struct epoll_event * events int maxevents const struct __kernel_timespec * timeout const sigset_t * sigmask size_t sigsetsize
442 mount_setattr ok long 5 int dfd const char * path unsigned int flags struct mount_attr * uattr size_t usize -
443 quotactl_fd ok long 4 unsigned int fd unsigned int cmd qid_t id void * addr - -
444 landlock_create_ruleset ok long 3 const struct landlock_ruleset_attr * const attr const size_t size const __u32 flags - - -
445 landlock_add_rule ok long 4 const int ruleset_fd const enum landlock_rule_type rule_type const void * const rule_attr const __u32 flags - -
446 landlock_restrict_self ok long 2 const int ruleset_fd const __u32 flags - - - -
448 process_mrelease ok long 2 int pidfd unsigned int flags - - - -
449 futex_waitv ok long 5 struct futex_waitv * waiters unsigned int nr_futexes unsigned int flags struct __kernel_timespec * timeout clockid_t clockid -
451 cachestat ok long 4 unsigned int fd struct cachestat_range * cstat_range struct cachestat * cstat unsigned int flags - -
452 fchmodat2 ok long 4 int dfd const char * filename umode_t mode unsigned int flags - -
454 futex_wake ok long 4 void * uaddr unsigned long mask int nr unsigned int flags - -
455 futex_wait ok long 6 void * uaddr unsigned long val unsigned long mask unsigned int flags struct __kernel_timespec * timeout clockid_t clockid
456 futex_requeue ok long 4 struct futex_waitv * waiters unsigned int flags int nr_wake int nr_requeue - -
457 statmount ok long 4 const struct mnt_id_req * req struct statmount * buf size_t bufsize unsigned int flags - -
458 listmount ok long 4 const struct mnt_id_req * req u64 * mnt_ids size_t nr_mnt_ids unsigned int flags - -
459 lsm_get_self_attr ok long 4 unsigned int attr struct lsm_ctx * ctx u32 * size u32 flags - -
460 lsm_set_self_attr ok long 4 unsigned int attr struct lsm_ctx * ctx u32 size u32 flags - -
461 lsm_list_modules ok long 3 u64 * ids u32 * size u32 flags - - -
462 mseal ok long 3 unsigned long start size_t len unsigned long flags - - -
463 setxattrat ok long 6 int dfd const char * pathname unsigned int at_flags const char * name const struct xattr_args * uargs size_t usize
464 getxattrat ok long 6 int dfd const char * pathname unsigned int at_flags const char * name struct xattr_args * uargs size_t usize
465 listxattrat ok long 5 int dfd const char * pathname unsigned int at_flags char * list size_t size -
466 removexattrat ok long 4 int dfd const char * pathname unsigned int at_flags const char * name - -