3 * modules/ks_features/syscall_list.h
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 * Copyright (C) Samsung Electronics, 2013
21 * 2013 Vyacheslav Cherkashin: SWAP ks_features implement
26 #ifndef _SYSCALL_LIST_H
27 #define _SYSCALL_LIST_H
29 #define SYSCALL_LIST \
30 X(sys_accept4, dpdd), \
37 X(sys_chown16, sdd), \
40 X(sys_clone, ddddd), \
41 X(sys_connect, dpd), \
44 X(sys_epoll_create1, d), \
45 X(sys_epoll_ctl, dddp), \
46 X(sys_epoll_pwait, dpddpx), \
47 X(sys_epoll_wait, dpdd), \
48 X(sys_eventfd2, dd), \
52 X(sys_exit_group, d), \
53 X(sys_faccessat, dsd), \
54 X(sys_fadvise64_64, dxxd), \
55 X(sys_fallocate, ddxx), \
56 X(sys_fanotify_init, dd), \
57 X(sys_fanotify_mark, ddxds), \
58 X(sys_fchmodat, dsd), \
59 X(sys_fchownat, dsddd), \
60 X(sys_fgetxattr, dspx), \
61 X(sys_flistxattr, dpx), \
63 X(sys_fremovexattr, ds), \
65 X(sys_ftruncate64, dx), \
66 X(sys_futimesat, dsp), \
68 X(sys_getpeername, dpd), \
69 X(sys_getsockname, dpd), \
70 X(sys_getsockopt, dddpd), \
71 X(sys_getxattr, sspx), \
72 X(sys_inotify_add_watch, dsd), \
73 X(sys_inotify_init, ), \
74 X(sys_inotify_init1, d), \
75 X(sys_inotify_rm_watch, dd), \
78 X(sys_linkat, dsdsd), \
81 X(sys_listxattr, spx), \
83 /* TODO: X(sys_lstat, sp), */ \
84 X(sys_mkdirat, dsd), \
86 X(sys_mknodat, dsdd), \
88 X(sys_mmap_pgoff, xxxxxx), \
89 X(sys_mount, pppxp), \
92 X(sys_msgrcv, dpxxd), \
93 X(sys_msgsnd, dpxd), \
94 X(sys_name_to_handle_at, dspdd), \
95 /* TODO: X(sys_newfstatat, dspd), */ \
97 X(sys_openat, dsdd), \
98 X(sys_open_by_handle_at, dpd), \
102 X(sys_ppoll, pdpp), \
103 X(sys_pread64, dpxx), \
104 X(sys_preadv, xpxxx), \
105 X(sys_pselect6, dxxxpp), \
106 X(sys_pwrite64, dsxx), \
107 X(sys_pwritev, xpxxx), \
108 X(sys_readlinkat, dspd), \
109 X(sys_readlink, spd), \
111 X(sys_recvfrom, dpxdpd), \
112 X(sys_recvmmsg, dpddp), \
113 X(sys_recvmsg, dpd), \
114 X(sys_removexattr, ss), \
115 X(sys_renameat, dsds), \
118 X(sys_rt_sigaction, dpp), \
119 X(sys_rt_sigprocmask, dppx), \
120 X(sys_rt_sigsuspend, px), \
121 X(sys_rt_sigtimedwait, pppx), \
122 X(sys_rt_tgsigqueueinfo, dddp), \
123 X(sys_semctl, dddx), \
124 X(sys_semget, ddd), \
126 X(sys_semtimedop, dpdp), \
128 X(sys_sendfile64, ddlxx), \
129 X(sys_sendfile, ddxx), \
130 X(sys_sendmmsg, dpdd), \
131 X(sys_sendmsg, dpd), \
132 X(sys_sendto, dpxdpd), \
134 X(sys_setsockopt, dddpd), \
135 X(sys_setxattr, sspxd), \
137 X(sys_shmctl, ddp), \
139 X(sys_shmget, dxd), \
140 X(sys_shutdown, dd), \
141 X(sys_sigaction, dpp), \
142 /* TODO: X(sys_sigaltstack, pp), */ \
143 /* TODO: X(sys_signal, dp), */ \
144 X(sys_signalfd4, dpxd), \
145 X(sys_signalfd, dpx), \
146 X(sys_sigpending, p), \
147 X(sys_sigprocmask, dpp), \
148 /* TODO: X(sys_sigsuspend, ddp), */ \
149 /* TODO: X(sys_sigsuspend, p), */ \
150 X(sys_socketcall, dx), \
151 X(sys_socket, ddd), \
152 X(sys_socketpair, dddd), \
153 X(sys_splice, dxdxxd), \
155 X(sys_statfs64, sxp), \
157 /* TODO: X(sys_stat, sp), */ \
160 X(sys_symlinkat, sds), \
161 X(sys_symlink, ss), \
164 X(sys_tgkill, ddd), \
165 X(sys_timerfd_create, dd), \
166 X(sys_timerfd_gettime, dp), \
167 X(sys_timerfd_settime, ddpp), \
168 X(sys_truncate64, sx), \
169 X(sys_truncate, sx), \
171 X(sys_unlinkat, dsd), \
175 X(sys_utimensat, dspd), \
179 X(sys_vmsplice, dpxd), \
180 X(sys_wait4, dddp), \
182 /* TODO: X(sys_waitpid, ddd) */
184 #endif /* _SYSCALL_LIST_H */