xref: /openbmc/linux/arch/ia64/include/uapi/asm/unistd.h (revision ddc141e5)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * IA-64 Linux syscall numbers and inline-functions.
4  *
5  * Copyright (C) 1998-2005 Hewlett-Packard Co
6  *	David Mosberger-Tang <davidm@hpl.hp.com>
7  */
8 #ifndef _UAPI_ASM_IA64_UNISTD_H
9 #define _UAPI_ASM_IA64_UNISTD_H
10 
11 
12 #include <asm/break.h>
13 
14 #define __BREAK_SYSCALL			__IA64_BREAK_SYSCALL
15 
16 #define __NR_ni_syscall			1024
17 #define __NR_exit			1025
18 #define __NR_read			1026
19 #define __NR_write			1027
20 #define __NR_open			1028
21 #define __NR_close			1029
22 #define __NR_creat			1030
23 #define __NR_link			1031
24 #define __NR_unlink			1032
25 #define __NR_execve			1033
26 #define __NR_chdir			1034
27 #define __NR_fchdir			1035
28 #define __NR_utimes			1036
29 #define __NR_mknod			1037
30 #define __NR_chmod			1038
31 #define __NR_chown			1039
32 #define __NR_lseek			1040
33 #define __NR_getpid			1041
34 #define __NR_getppid			1042
35 #define __NR_mount			1043
36 #define __NR_umount			1044
37 #define __NR_setuid			1045
38 #define __NR_getuid			1046
39 #define __NR_geteuid			1047
40 #define __NR_ptrace			1048
41 #define __NR_access			1049
42 #define __NR_sync			1050
43 #define __NR_fsync			1051
44 #define __NR_fdatasync			1052
45 #define __NR_kill			1053
46 #define __NR_rename			1054
47 #define __NR_mkdir			1055
48 #define __NR_rmdir			1056
49 #define __NR_dup			1057
50 #define __NR_pipe			1058
51 #define __NR_times			1059
52 #define __NR_brk			1060
53 #define __NR_setgid			1061
54 #define __NR_getgid			1062
55 #define __NR_getegid			1063
56 #define __NR_acct			1064
57 #define __NR_ioctl			1065
58 #define __NR_fcntl			1066
59 #define __NR_umask			1067
60 #define __NR_chroot			1068
61 #define __NR_ustat			1069
62 #define __NR_dup2			1070
63 #define __NR_setreuid			1071
64 #define __NR_setregid			1072
65 #define __NR_getresuid			1073
66 #define __NR_setresuid			1074
67 #define __NR_getresgid			1075
68 #define __NR_setresgid			1076
69 #define __NR_getgroups			1077
70 #define __NR_setgroups			1078
71 #define __NR_getpgid			1079
72 #define __NR_setpgid			1080
73 #define __NR_setsid			1081
74 #define __NR_getsid			1082
75 #define __NR_sethostname		1083
76 #define __NR_setrlimit			1084
77 #define __NR_getrlimit			1085
78 #define __NR_getrusage			1086
79 #define __NR_gettimeofday		1087
80 #define __NR_settimeofday		1088
81 #define __NR_select			1089
82 #define __NR_poll			1090
83 #define __NR_symlink			1091
84 #define __NR_readlink			1092
85 #define __NR_uselib			1093
86 #define __NR_swapon			1094
87 #define __NR_swapoff			1095
88 #define __NR_reboot			1096
89 #define __NR_truncate			1097
90 #define __NR_ftruncate			1098
91 #define __NR_fchmod			1099
92 #define __NR_fchown			1100
93 #define __NR_getpriority		1101
94 #define __NR_setpriority		1102
95 #define __NR_statfs			1103
96 #define __NR_fstatfs			1104
97 #define __NR_gettid			1105
98 #define __NR_semget			1106
99 #define __NR_semop			1107
100 #define __NR_semctl			1108
101 #define __NR_msgget			1109
102 #define __NR_msgsnd			1110
103 #define __NR_msgrcv			1111
104 #define __NR_msgctl			1112
105 #define __NR_shmget			1113
106 #define __NR_shmat			1114
107 #define __NR_shmdt			1115
108 #define __NR_shmctl			1116
109 /* also known as klogctl() in GNU libc: */
110 #define __NR_syslog			1117
111 #define __NR_setitimer			1118
112 #define __NR_getitimer			1119
113 /* 1120 was __NR_old_stat */
114 /* 1121 was __NR_old_lstat */
115 /* 1122 was __NR_old_fstat */
116 #define __NR_vhangup			1123
117 #define __NR_lchown			1124
118 #define __NR_remap_file_pages		1125
119 #define __NR_wait4			1126
120 #define __NR_sysinfo			1127
121 #define __NR_clone			1128
122 #define __NR_setdomainname		1129
123 #define __NR_uname			1130
124 #define __NR_adjtimex			1131
125 /* 1132 was __NR_create_module */
126 #define __NR_init_module		1133
127 #define __NR_delete_module		1134
128 /* 1135 was __NR_get_kernel_syms */
129 /* 1136 was __NR_query_module */
130 #define __NR_quotactl			1137
131 #define __NR_bdflush			1138
132 #define __NR_sysfs			1139
133 #define __NR_personality		1140
134 #define __NR_afs_syscall		1141
135 #define __NR_setfsuid			1142
136 #define __NR_setfsgid			1143
137 #define __NR_getdents			1144
138 #define __NR_flock			1145
139 #define __NR_readv			1146
140 #define __NR_writev			1147
141 #define __NR_pread64			1148
142 #define __NR_pwrite64			1149
143 #define __NR__sysctl			1150
144 #define __NR_mmap			1151
145 #define __NR_munmap			1152
146 #define __NR_mlock			1153
147 #define __NR_mlockall			1154
148 #define __NR_mprotect			1155
149 #define __NR_mremap			1156
150 #define __NR_msync			1157
151 #define __NR_munlock			1158
152 #define __NR_munlockall			1159
153 #define __NR_sched_getparam		1160
154 #define __NR_sched_setparam		1161
155 #define __NR_sched_getscheduler		1162
156 #define __NR_sched_setscheduler		1163
157 #define __NR_sched_yield		1164
158 #define __NR_sched_get_priority_max	1165
159 #define __NR_sched_get_priority_min	1166
160 #define __NR_sched_rr_get_interval	1167
161 #define __NR_nanosleep			1168
162 #define __NR_nfsservctl			1169
163 #define __NR_prctl			1170
164 /* 1171 is reserved for backwards compatibility with old __NR_getpagesize */
165 #define __NR_mmap2			1172
166 #define __NR_pciconfig_read		1173
167 #define __NR_pciconfig_write		1174
168 #define __NR_perfmonctl			1175
169 #define __NR_sigaltstack		1176
170 #define __NR_rt_sigaction		1177
171 #define __NR_rt_sigpending		1178
172 #define __NR_rt_sigprocmask		1179
173 #define __NR_rt_sigqueueinfo		1180
174 #define __NR_rt_sigreturn		1181
175 #define __NR_rt_sigsuspend		1182
176 #define __NR_rt_sigtimedwait		1183
177 #define __NR_getcwd			1184
178 #define __NR_capget			1185
179 #define __NR_capset			1186
180 #define __NR_sendfile			1187
181 #define __NR_getpmsg			1188
182 #define __NR_putpmsg			1189
183 #define __NR_socket			1190
184 #define __NR_bind			1191
185 #define __NR_connect			1192
186 #define __NR_listen			1193
187 #define __NR_accept			1194
188 #define __NR_getsockname		1195
189 #define __NR_getpeername		1196
190 #define __NR_socketpair			1197
191 #define __NR_send			1198
192 #define __NR_sendto			1199
193 #define __NR_recv			1200
194 #define __NR_recvfrom			1201
195 #define __NR_shutdown			1202
196 #define __NR_setsockopt			1203
197 #define __NR_getsockopt			1204
198 #define __NR_sendmsg			1205
199 #define __NR_recvmsg			1206
200 #define __NR_pivot_root			1207
201 #define __NR_mincore			1208
202 #define __NR_madvise			1209
203 #define __NR_stat			1210
204 #define __NR_lstat			1211
205 #define __NR_fstat			1212
206 #define __NR_clone2			1213
207 #define __NR_getdents64			1214
208 #define __NR_getunwind			1215
209 #define __NR_readahead			1216
210 #define __NR_setxattr			1217
211 #define __NR_lsetxattr			1218
212 #define __NR_fsetxattr			1219
213 #define __NR_getxattr			1220
214 #define __NR_lgetxattr			1221
215 #define __NR_fgetxattr			1222
216 #define __NR_listxattr			1223
217 #define __NR_llistxattr			1224
218 #define __NR_flistxattr			1225
219 #define __NR_removexattr		1226
220 #define __NR_lremovexattr		1227
221 #define __NR_fremovexattr		1228
222 #define __NR_tkill			1229
223 #define __NR_futex			1230
224 #define __NR_sched_setaffinity		1231
225 #define __NR_sched_getaffinity		1232
226 #define __NR_set_tid_address		1233
227 #define __NR_fadvise64			1234
228 #define __NR_tgkill			1235
229 #define __NR_exit_group			1236
230 #define __NR_lookup_dcookie		1237
231 #define __NR_io_setup			1238
232 #define __NR_io_destroy			1239
233 #define __NR_io_getevents		1240
234 #define __NR_io_submit			1241
235 #define __NR_io_cancel			1242
236 #define __NR_epoll_create		1243
237 #define __NR_epoll_ctl			1244
238 #define __NR_epoll_wait			1245
239 #define __NR_restart_syscall		1246
240 #define __NR_semtimedop			1247
241 #define __NR_timer_create		1248
242 #define __NR_timer_settime		1249
243 #define __NR_timer_gettime		1250
244 #define __NR_timer_getoverrun		1251
245 #define __NR_timer_delete		1252
246 #define __NR_clock_settime		1253
247 #define __NR_clock_gettime		1254
248 #define __NR_clock_getres		1255
249 #define __NR_clock_nanosleep		1256
250 #define __NR_fstatfs64			1257
251 #define __NR_statfs64			1258
252 #define __NR_mbind			1259
253 #define __NR_get_mempolicy		1260
254 #define __NR_set_mempolicy		1261
255 #define __NR_mq_open			1262
256 #define __NR_mq_unlink			1263
257 #define __NR_mq_timedsend		1264
258 #define __NR_mq_timedreceive		1265
259 #define __NR_mq_notify			1266
260 #define __NR_mq_getsetattr		1267
261 #define __NR_kexec_load			1268
262 #define __NR_vserver			1269
263 #define __NR_waitid			1270
264 #define __NR_add_key			1271
265 #define __NR_request_key		1272
266 #define __NR_keyctl			1273
267 #define __NR_ioprio_set			1274
268 #define __NR_ioprio_get			1275
269 #define __NR_move_pages			1276
270 #define __NR_inotify_init		1277
271 #define __NR_inotify_add_watch		1278
272 #define __NR_inotify_rm_watch		1279
273 #define __NR_migrate_pages		1280
274 #define __NR_openat			1281
275 #define __NR_mkdirat			1282
276 #define __NR_mknodat			1283
277 #define __NR_fchownat			1284
278 #define __NR_futimesat			1285
279 #define __NR_newfstatat			1286
280 #define __NR_unlinkat			1287
281 #define __NR_renameat			1288
282 #define __NR_linkat			1289
283 #define __NR_symlinkat			1290
284 #define __NR_readlinkat			1291
285 #define __NR_fchmodat			1292
286 #define __NR_faccessat			1293
287 #define __NR_pselect6			1294
288 #define __NR_ppoll			1295
289 #define __NR_unshare			1296
290 #define __NR_splice			1297
291 #define __NR_set_robust_list		1298
292 #define __NR_get_robust_list		1299
293 #define __NR_sync_file_range		1300
294 #define __NR_tee			1301
295 #define __NR_vmsplice			1302
296 #define __NR_fallocate			1303
297 #define __NR_getcpu			1304
298 #define __NR_epoll_pwait		1305
299 #define __NR_utimensat			1306
300 #define __NR_signalfd			1307
301 #define __NR_timerfd			1308
302 #define __NR_eventfd			1309
303 #define __NR_timerfd_create		1310
304 #define __NR_timerfd_settime		1311
305 #define __NR_timerfd_gettime		1312
306 #define __NR_signalfd4			1313
307 #define __NR_eventfd2			1314
308 #define __NR_epoll_create1		1315
309 #define __NR_dup3			1316
310 #define __NR_pipe2			1317
311 #define __NR_inotify_init1		1318
312 #define __NR_preadv			1319
313 #define __NR_pwritev			1320
314 #define __NR_rt_tgsigqueueinfo		1321
315 #define __NR_recvmmsg			1322
316 #define __NR_fanotify_init		1323
317 #define __NR_fanotify_mark		1324
318 #define __NR_prlimit64			1325
319 #define __NR_name_to_handle_at		1326
320 #define __NR_open_by_handle_at  	1327
321 #define __NR_clock_adjtime		1328
322 #define __NR_syncfs			1329
323 #define __NR_setns			1330
324 #define __NR_sendmmsg			1331
325 #define __NR_process_vm_readv		1332
326 #define __NR_process_vm_writev		1333
327 #define __NR_accept4			1334
328 #define __NR_finit_module		1335
329 #define __NR_sched_setattr		1336
330 #define __NR_sched_getattr		1337
331 #define __NR_renameat2			1338
332 #define __NR_getrandom			1339
333 #define __NR_memfd_create		1340
334 #define __NR_bpf			1341
335 #define __NR_execveat			1342
336 #define __NR_userfaultfd		1343
337 #define __NR_membarrier			1344
338 #define __NR_kcmp			1345
339 #define __NR_mlock2			1346
340 #define __NR_copy_file_range		1347
341 #define __NR_preadv2			1348
342 #define __NR_pwritev2			1349
343 
344 #endif /* _UAPI_ASM_IA64_UNISTD_H */
345