libk  Check-in [ceed477743]

Overview
Comment:arch: rewrite and merge mktbl scripts for Linux These now use the kernel’s own build system to generate headers and extract information from them.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ceed4777432c950f3c459fdc2b3eece49b9c0072b927e9f0a02adad24924c859
User & Date: lachs0r on 2019-08-29 06:41:11
Other Links: manifest | tags
Context
2019-09-04
01:23
update kcli syntax check-in: 5c1200e1a8 user: lexi tags: trunk
2019-08-29
06:41
arch: rewrite and merge mktbl scripts for Linux These now use the kernel’s own build system to generate headers and extract information from them. check-in: ceed477743 user: lachs0r tags: trunk
2019-08-26
20:03
fix typo check-in: 5f66b55640 user: lexi tags: trunk
Changes

Modified arch/arm.lin.64/error_table.h from [88f88edd37] to [991d95c3d6].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#ifndef KIplatform_error
#define KIplatform_error

enum k_platform_error {

	k_platform_error_EPERM = 1,
	k_platform_error_ENOENT = 2,
	k_platform_error_ESRCH = 3,
	k_platform_error_EINTR = 4,
	k_platform_error_EIO = 5,
	k_platform_error_ENXIO = 6,
	k_platform_error_E2BIG = 7,
	k_platform_error_ENOEXEC = 8,
	k_platform_error_EBADF = 9,
	k_platform_error_ECHILD = 10,
	k_platform_error_EAGAIN = 11,
	k_platform_error_EWOULDBLOCK = 11,
	k_platform_error_ENOMEM = 12,
	k_platform_error_EACCES = 13,
	k_platform_error_EFAULT = 14,
	k_platform_error_ENOTBLK = 15,
	k_platform_error_EBUSY = 16,
	k_platform_error_EEXIST = 17,
	k_platform_error_EXDEV = 18,
	k_platform_error_ENODEV = 19,
	k_platform_error_ENOTDIR = 20,
	k_platform_error_EISDIR = 21,
	k_platform_error_EINVAL = 22,
	k_platform_error_ENFILE = 23,
	k_platform_error_EMFILE = 24,
	k_platform_error_ENOTTY = 25,
	k_platform_error_ETXTBSY = 26,
	k_platform_error_EFBIG = 27,
	k_platform_error_ENOSPC = 28,
	k_platform_error_ESPIPE = 29,
	k_platform_error_EROFS = 30,
	k_platform_error_EMLINK = 31,
	k_platform_error_EPIPE = 32,
	k_platform_error_EDOM = 33,
	k_platform_error_ERANGE = 34,
	k_platform_error_EDEADLK = 35,
	k_platform_error_EDEADLOCK = 35,
	k_platform_error_ENAMETOOLONG = 36,
	k_platform_error_ENOLCK = 37,
	k_platform_error_ENOSYS = 38,
	k_platform_error_ENOTEMPTY = 39,
	k_platform_error_ELOOP = 40,
	k_platform_error_ENOMSG = 42,
	k_platform_error_EIDRM = 43,
	k_platform_error_ECHRNG = 44,
	k_platform_error_EL2NSYNC = 45,
	k_platform_error_EL3HLT = 46,
	k_platform_error_EL3RST = 47,
	k_platform_error_ELNRNG = 48,
	k_platform_error_EUNATCH = 49,
	k_platform_error_ENOCSI = 50,
	k_platform_error_EL2HLT = 51,
	k_platform_error_EBADE = 52,
	k_platform_error_EBADR = 53,
	k_platform_error_EXFULL = 54,
	k_platform_error_ENOANO = 55,
	k_platform_error_EBADRQC = 56,
	k_platform_error_EBADSLT = 57,
	k_platform_error_EBFONT = 59,
	k_platform_error_ENOSTR = 60,
	k_platform_error_ENODATA = 61,
	k_platform_error_ETIME = 62,
	k_platform_error_ENOSR = 63,
	k_platform_error_ENONET = 64,
	k_platform_error_ENOPKG = 65,
	k_platform_error_EREMOTE = 66,
	k_platform_error_ENOLINK = 67,
	k_platform_error_EADV = 68,
	k_platform_error_ESRMNT = 69,
	k_platform_error_ECOMM = 70,
	k_platform_error_EPROTO = 71,
	k_platform_error_EMULTIHOP = 72,
	k_platform_error_EDOTDOT = 73,
	k_platform_error_EBADMSG = 74,
	k_platform_error_EOVERFLOW = 75,
	k_platform_error_ENOTUNIQ = 76,
	k_platform_error_EBADFD = 77,
	k_platform_error_EREMCHG = 78,
	k_platform_error_ELIBACC = 79,
	k_platform_error_ELIBBAD = 80,
	k_platform_error_ELIBSCN = 81,
	k_platform_error_ELIBMAX = 82,
	k_platform_error_ELIBEXEC = 83,
	k_platform_error_EILSEQ = 84,
	k_platform_error_ERESTART = 85,
	k_platform_error_ESTRPIPE = 86,
	k_platform_error_EUSERS = 87,
	k_platform_error_ENOTSOCK = 88,
	k_platform_error_EDESTADDRREQ = 89,
	k_platform_error_EMSGSIZE = 90,
	k_platform_error_EPROTOTYPE = 91,
	k_platform_error_ENOPROTOOPT = 92,
	k_platform_error_EPROTONOSUPPORT = 93,
	k_platform_error_ESOCKTNOSUPPORT = 94,
	k_platform_error_EOPNOTSUPP = 95,
	k_platform_error_EPFNOSUPPORT = 96,
	k_platform_error_EAFNOSUPPORT = 97,
	k_platform_error_EADDRINUSE = 98,
	k_platform_error_EADDRNOTAVAIL = 99,
	k_platform_error_ENETDOWN = 100,
	k_platform_error_ENETUNREACH = 101,
	k_platform_error_ENETRESET = 102,
	k_platform_error_ECONNABORTED = 103,
	k_platform_error_ECONNRESET = 104,
	k_platform_error_ENOBUFS = 105,
	k_platform_error_EISCONN = 106,
	k_platform_error_ENOTCONN = 107,
	k_platform_error_ESHUTDOWN = 108,
	k_platform_error_ETOOMANYREFS = 109,
	k_platform_error_ETIMEDOUT = 110,
	k_platform_error_ECONNREFUSED = 111,
	k_platform_error_EHOSTDOWN = 112,
	k_platform_error_EHOSTUNREACH = 113,
	k_platform_error_EALREADY = 114,
	k_platform_error_EINPROGRESS = 115,
	k_platform_error_ESTALE = 116,
	k_platform_error_EUCLEAN = 117,
	k_platform_error_ENOTNAM = 118,
	k_platform_error_ENAVAIL = 119,
	k_platform_error_EISNAM = 120,
	k_platform_error_EREMOTEIO = 121,
	k_platform_error_EDQUOT = 122,
	k_platform_error_ENOMEDIUM = 123,
	k_platform_error_EMEDIUMTYPE = 124,
	k_platform_error_ECANCELED = 125,
	k_platform_error_ENOKEY = 126,
	k_platform_error_EKEYEXPIRED = 127,
	k_platform_error_EKEYREVOKED = 128,
	k_platform_error_EKEYREJECTED = 129,
	k_platform_error_EOWNERDEAD = 130,
	k_platform_error_ENOTRECOVERABLE = 131,
	k_platform_error_ERFKILL = 132,
	k_platform_error_EHWPOISON = 133,

};

#endif





<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<



<
1
2
3
4

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

138
139
140

#ifndef KIplatform_error
#define KIplatform_error

enum k_platform_error {

	k_platform_error_EHWPOISON = 133,
	k_platform_error_ERFKILL = 132,
	k_platform_error_ENOTRECOVERABLE = 131,
	k_platform_error_EOWNERDEAD = 130,
	k_platform_error_EKEYREJECTED = 129,
	k_platform_error_EKEYREVOKED = 128,
	k_platform_error_EKEYEXPIRED = 127,
	k_platform_error_ENOKEY = 126,
	k_platform_error_ECANCELED = 125,
	k_platform_error_EMEDIUMTYPE = 124,
	k_platform_error_ENOMEDIUM = 123,
	k_platform_error_EDQUOT = 122,
	k_platform_error_EREMOTEIO = 121,
	k_platform_error_EISNAM = 120,
	k_platform_error_ENAVAIL = 119,
	k_platform_error_ENOTNAM = 118,
	k_platform_error_EUCLEAN = 117,
	k_platform_error_ESTALE = 116,
	k_platform_error_EINPROGRESS = 115,
	k_platform_error_EALREADY = 114,
	k_platform_error_EHOSTUNREACH = 113,
	k_platform_error_EHOSTDOWN = 112,
	k_platform_error_ECONNREFUSED = 111,
	k_platform_error_ETIMEDOUT = 110,
	k_platform_error_ETOOMANYREFS = 109,
	k_platform_error_ESHUTDOWN = 108,
	k_platform_error_ENOTCONN = 107,
	k_platform_error_EISCONN = 106,
	k_platform_error_ENOBUFS = 105,
	k_platform_error_ECONNRESET = 104,
	k_platform_error_ECONNABORTED = 103,
	k_platform_error_ENETRESET = 102,
	k_platform_error_ENETUNREACH = 101,
	k_platform_error_ENETDOWN = 100,
	k_platform_error_EADDRNOTAVAIL = 99,
	k_platform_error_EADDRINUSE = 98,
	k_platform_error_EAFNOSUPPORT = 97,
	k_platform_error_EPFNOSUPPORT = 96,
	k_platform_error_EOPNOTSUPP = 95,
	k_platform_error_ESOCKTNOSUPPORT = 94,
	k_platform_error_EPROTONOSUPPORT = 93,
	k_platform_error_ENOPROTOOPT = 92,
	k_platform_error_EPROTOTYPE = 91,
	k_platform_error_EMSGSIZE = 90,
	k_platform_error_EDESTADDRREQ = 89,
	k_platform_error_ENOTSOCK = 88,
	k_platform_error_EUSERS = 87,
	k_platform_error_ESTRPIPE = 86,
	k_platform_error_ERESTART = 85,
	k_platform_error_EILSEQ = 84,
	k_platform_error_ELIBEXEC = 83,
	k_platform_error_ELIBMAX = 82,
	k_platform_error_ELIBSCN = 81,
	k_platform_error_ELIBBAD = 80,
	k_platform_error_ELIBACC = 79,
	k_platform_error_EREMCHG = 78,
	k_platform_error_EBADFD = 77,
	k_platform_error_ENOTUNIQ = 76,
	k_platform_error_EOVERFLOW = 75,
	k_platform_error_EBADMSG = 74,
	k_platform_error_EDOTDOT = 73,
	k_platform_error_EMULTIHOP = 72,
	k_platform_error_EPROTO = 71,
	k_platform_error_ECOMM = 70,
	k_platform_error_ESRMNT = 69,
	k_platform_error_EADV = 68,
	k_platform_error_ENOLINK = 67,
	k_platform_error_EREMOTE = 66,
	k_platform_error_ENOPKG = 65,
	k_platform_error_ENONET = 64,
	k_platform_error_ENOSR = 63,
	k_platform_error_ETIME = 62,
	k_platform_error_ENODATA = 61,
	k_platform_error_ENOSTR = 60,
	k_platform_error_EBFONT = 59,
	k_platform_error_EBADSLT = 57,
	k_platform_error_EBADRQC = 56,
	k_platform_error_ENOANO = 55,
	k_platform_error_EXFULL = 54,
	k_platform_error_EBADR = 53,
	k_platform_error_EBADE = 52,
	k_platform_error_EL2HLT = 51,
	k_platform_error_ENOCSI = 50,
	k_platform_error_EUNATCH = 49,
	k_platform_error_ELNRNG = 48,
	k_platform_error_EL3RST = 47,
	k_platform_error_EL3HLT = 46,
	k_platform_error_EL2NSYNC = 45,
	k_platform_error_ECHRNG = 44,
	k_platform_error_EIDRM = 43,
	k_platform_error_ENOMSG = 42,
	k_platform_error_ELOOP = 40,
	k_platform_error_ENOTEMPTY = 39,
	k_platform_error_ENOSYS = 38,
	k_platform_error_ENOLCK = 37,
	k_platform_error_ENAMETOOLONG = 36,
	k_platform_error_EDEADLK = 35,
	k_platform_error_ERANGE = 34,
	k_platform_error_EDOM = 33,
	k_platform_error_EPIPE = 32,
	k_platform_error_EMLINK = 31,
	k_platform_error_EROFS = 30,
	k_platform_error_ESPIPE = 29,
	k_platform_error_ENOSPC = 28,
	k_platform_error_EFBIG = 27,
	k_platform_error_ETXTBSY = 26,
	k_platform_error_ENOTTY = 25,
	k_platform_error_EMFILE = 24,
	k_platform_error_ENFILE = 23,
	k_platform_error_EINVAL = 22,
	k_platform_error_EISDIR = 21,
	k_platform_error_ENOTDIR = 20,
	k_platform_error_ENODEV = 19,
	k_platform_error_EXDEV = 18,
	k_platform_error_EEXIST = 17,
	k_platform_error_EBUSY = 16,
	k_platform_error_ENOTBLK = 15,
	k_platform_error_EFAULT = 14,
	k_platform_error_EACCES = 13,
	k_platform_error_ENOMEM = 12,
	k_platform_error_EAGAIN = 11,
	k_platform_error_ECHILD = 10,
	k_platform_error_EBADF = 9,
	k_platform_error_ENOEXEC = 8,
	k_platform_error_E2BIG = 7,
	k_platform_error_ENXIO = 6,
	k_platform_error_EIO = 5,
	k_platform_error_EINTR = 4,
	k_platform_error_ESRCH = 3,
	k_platform_error_ENOENT = 2,
	k_platform_error_EPERM = 1,
	k_platform_error_EWOULDBLOCK = 11,
	k_platform_error_EDEADLOCK = 35,

};

#endif

Deleted arch/arm.lin.64/error_table.tbl version [206e6b2419].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
EPERM 1
ENOENT 2
ESRCH 3
EINTR 4
EIO 5
ENXIO 6
E2BIG 7
ENOEXEC 8
EBADF 9
ECHILD 10
EAGAIN 11
EWOULDBLOCK 11
ENOMEM 12
EACCES 13
EFAULT 14
ENOTBLK 15
EBUSY 16
EEXIST 17
EXDEV 18
ENODEV 19
ENOTDIR 20
EISDIR 21
EINVAL 22
ENFILE 23
EMFILE 24
ENOTTY 25
ETXTBSY 26
EFBIG 27
ENOSPC 28
ESPIPE 29
EROFS 30
EMLINK 31
EPIPE 32
EDOM 33
ERANGE 34
EDEADLK 35
EDEADLOCK 35
ENAMETOOLONG 36
ENOLCK 37
ENOSYS 38
ENOTEMPTY 39
ELOOP 40
ENOMSG 42
EIDRM 43
ECHRNG 44
EL2NSYNC 45
EL3HLT 46
EL3RST 47
ELNRNG 48
EUNATCH 49
ENOCSI 50
EL2HLT 51
EBADE 52
EBADR 53
EXFULL 54
ENOANO 55
EBADRQC 56
EBADSLT 57
EBFONT 59
ENOSTR 60
ENODATA 61
ETIME 62
ENOSR 63
ENONET 64
ENOPKG 65
EREMOTE 66
ENOLINK 67
EADV 68
ESRMNT 69
ECOMM 70
EPROTO 71
EMULTIHOP 72
EDOTDOT 73
EBADMSG 74
EOVERFLOW 75
ENOTUNIQ 76
EBADFD 77
EREMCHG 78
ELIBACC 79
ELIBBAD 80
ELIBSCN 81
ELIBMAX 82
ELIBEXEC 83
EILSEQ 84
ERESTART 85
ESTRPIPE 86
EUSERS 87
ENOTSOCK 88
EDESTADDRREQ 89
EMSGSIZE 90
EPROTOTYPE 91
ENOPROTOOPT 92
EPROTONOSUPPORT 93
ESOCKTNOSUPPORT 94
EOPNOTSUPP 95
EPFNOSUPPORT 96
EAFNOSUPPORT 97
EADDRINUSE 98
EADDRNOTAVAIL 99
ENETDOWN 100
ENETUNREACH 101
ENETRESET 102
ECONNABORTED 103
ECONNRESET 104
ENOBUFS 105
EISCONN 106
ENOTCONN 107
ESHUTDOWN 108
ETOOMANYREFS 109
ETIMEDOUT 110
ECONNREFUSED 111
EHOSTDOWN 112
EHOSTUNREACH 113
EALREADY 114
EINPROGRESS 115
ESTALE 116
EUCLEAN 117
ENOTNAM 118
ENAVAIL 119
EISNAM 120
EREMOTEIO 121
EDQUOT 122
ENOMEDIUM 123
EMEDIUMTYPE 124
ECANCELED 125
ENOKEY 126
EKEYEXPIRED 127
EKEYREVOKED 128
EKEYREJECTED 129
EOWNERDEAD 130
ENOTRECOVERABLE 131
ERFKILL 132
EHWPOISON 133
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<










































































































































































































































































Added arch/arm.lin.64/posix.h version [4a7813cd60].









>
>
>
>
1
2
3
4
/* no special changes are needed from the 
 * normal POSIX header. */

#include <arch/posix.h>

Modified arch/arm.lin.64/system_calls.h from [ec4dc4b50d] to [922c404011].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {

	k_platform_syscall_setup = 0,
	k_platform_syscall_destroy = 1,
	k_platform_syscall_submit = 2,
	k_platform_syscall_cancel = 3,
	k_platform_syscall_getevents = 4,
	k_platform_syscall_setxattr = 5,
	k_platform_syscall_lsetxattr = 6,
	k_platform_syscall_fsetxattr = 7,
	k_platform_syscall_getxattr = 8,
	k_platform_syscall_lgetxattr = 9,
	k_platform_syscall_fgetxattr = 10,
	k_platform_syscall_listxattr = 11,
	k_platform_syscall_llistxattr = 12,
	k_platform_syscall_flistxattr = 13,
	k_platform_syscall_removexattr = 14,
	k_platform_syscall_lremovexattr = 15,
	k_platform_syscall_fremovexattr = 16,
	k_platform_syscall_getcwd = 17,
	k_platform_syscall_dcookie = 18,
	k_platform_syscall_eventfd2 = 19,
	k_platform_syscall_create1 = 20,
	k_platform_syscall_ctl = 21,
	k_platform_syscall_pwait = 22,
	k_platform_syscall_dup = 23,
	k_platform_syscall_dup3 = 24,
	k_platform_syscall_fcntl = 25,
	k_platform_syscall_fcntl = 25,
	k_platform_syscall_init1 = 26,
	k_platform_syscall_watch = 27,
	k_platform_syscall_watch = 28,
	k_platform_syscall_ioctl = 29,
	k_platform_syscall_set = 30,
	k_platform_syscall_get = 31,
	k_platform_syscall_flock = 32,
	k_platform_syscall_mknodat = 33,
	k_platform_syscall_mkdirat = 34,
	k_platform_syscall_unlinkat = 35,
	k_platform_syscall_symlinkat = 36,
	k_platform_syscall_linkat = 37,
	k_platform_syscall_umount2 = 39,
	k_platform_syscall_mount = 40,
	k_platform_syscall_root = 41,
	k_platform_syscall_nfsservctl = 42,
	k_platform_syscall_statfs = 43,
	k_platform_syscall_statfs = 43,
	k_platform_syscall_fstatfs = 44,
	k_platform_syscall_fstatfs = 44,
	k_platform_syscall_truncate = 45,
	k_platform_syscall_truncate = 45,
	k_platform_syscall_ftruncate = 46,
	k_platform_syscall_ftruncate = 46,
	k_platform_syscall_fallocate = 47,
	k_platform_syscall_faccessat = 48,
	k_platform_syscall_chdir = 49,
	k_platform_syscall_fchdir = 50,
	k_platform_syscall_chroot = 51,
	k_platform_syscall_fchmod = 52,
	k_platform_syscall_fchmodat = 53,
	k_platform_syscall_fchownat = 54,
	k_platform_syscall_fchown = 55,
	k_platform_syscall_openat = 56,
	k_platform_syscall_close = 57,
	k_platform_syscall_vhangup = 58,
	k_platform_syscall_pipe2 = 59,
	k_platform_syscall_quotactl = 60,
	k_platform_syscall_getdents64 = 61,
	k_platform_syscall_lseek = 62,
	k_platform_syscall_lseek = 62,
	k_platform_syscall_read = 63,
	k_platform_syscall_write = 64,
	k_platform_syscall_readv = 65,
	k_platform_syscall_writev = 66,
	k_platform_syscall_pread64 = 67,
	k_platform_syscall_pwrite64 = 68,
	k_platform_syscall_preadv = 69,
	k_platform_syscall_pwritev = 70,
	k_platform_syscall_sendfile = 71,
	k_platform_syscall_sendfile = 71,
	k_platform_syscall_pselect6 = 72,
	k_platform_syscall_ppoll = 73,
	k_platform_syscall_signalfd4 = 74,
	k_platform_syscall_vmsplice = 75,
	k_platform_syscall_splice = 76,
	k_platform_syscall_tee = 77,
	k_platform_syscall_readlinkat = 78,
	k_platform_syscall_sync = 81,
	k_platform_syscall_fsync = 82,
	k_platform_syscall_fdatasync = 83,
	k_platform_syscall_range = 84,
	k_platform_syscall_create = 85,
	k_platform_syscall_settime = 86,
	k_platform_syscall_gettime = 87,
	k_platform_syscall_utimensat = 88,
	k_platform_syscall_acct = 89,
	k_platform_syscall_capget = 90,
	k_platform_syscall_capset = 91,
	k_platform_syscall_personality = 92,
	k_platform_syscall_exit = 93,
	k_platform_syscall_group = 94,
	k_platform_syscall_waitid = 95,
	k_platform_syscall_address = 96,
	k_platform_syscall_unshare = 97,
	k_platform_syscall_futex = 98,
	k_platform_syscall_list = 99,
	k_platform_syscall_list = 100,
	k_platform_syscall_nanosleep = 101,
	k_platform_syscall_getitimer = 102,
	k_platform_syscall_setitimer = 103,
	k_platform_syscall_load = 104,
	k_platform_syscall_module = 105,
	k_platform_syscall_module = 106,
	k_platform_syscall_create = 107,
	k_platform_syscall_gettime = 108,
	k_platform_syscall_getoverrun = 109,
	k_platform_syscall_settime = 110,
	k_platform_syscall_delete = 111,
	k_platform_syscall_settime = 112,
	k_platform_syscall_gettime = 113,
	k_platform_syscall_getres = 114,
	k_platform_syscall_nanosleep = 115,
	k_platform_syscall_syslog = 116,
	k_platform_syscall_ptrace = 117,
	k_platform_syscall_setparam = 118,
	k_platform_syscall_setscheduler = 119,
	k_platform_syscall_getscheduler = 120,
	k_platform_syscall_getparam = 121,
	k_platform_syscall_setaffinity = 122,
	k_platform_syscall_getaffinity = 123,
	k_platform_syscall_yield = 124,
	k_platform_syscall_max = 125,
	k_platform_syscall_min = 126,
	k_platform_syscall_interval = 127,
	k_platform_syscall_syscall = 128,
	k_platform_syscall_kill = 129,
	k_platform_syscall_tkill = 130,
	k_platform_syscall_tgkill = 131,
	k_platform_syscall_sigaltstack = 132,
	k_platform_syscall_sigsuspend = 133,
	k_platform_syscall_sigaction = 134,
	k_platform_syscall_sigprocmask = 135,
	k_platform_syscall_sigpending = 136,
	k_platform_syscall_sigtimedwait = 137,
	k_platform_syscall_sigqueueinfo = 138,
	k_platform_syscall_sigreturn = 139,
	k_platform_syscall_setpriority = 140,
	k_platform_syscall_getpriority = 141,
	k_platform_syscall_reboot = 142,
	k_platform_syscall_setregid = 143,
	k_platform_syscall_setgid = 144,
	k_platform_syscall_setreuid = 145,
	k_platform_syscall_setuid = 146,
	k_platform_syscall_setresuid = 147,
	k_platform_syscall_getresuid = 148,
	k_platform_syscall_setresgid = 149,
	k_platform_syscall_getresgid = 150,
	k_platform_syscall_setfsuid = 151,
	k_platform_syscall_setfsgid = 152,
	k_platform_syscall_times = 153,
	k_platform_syscall_setpgid = 154,
	k_platform_syscall_getpgid = 155,
	k_platform_syscall_getsid = 156,
	k_platform_syscall_setsid = 157,
	k_platform_syscall_getgroups = 158,
	k_platform_syscall_setgroups = 159,
	k_platform_syscall_uname = 160,
	k_platform_syscall_sethostname = 161,
	k_platform_syscall_setdomainname = 162,
	k_platform_syscall_getrusage = 165,
	k_platform_syscall_umask = 166,
	k_platform_syscall_prctl = 167,
	k_platform_syscall_getcpu = 168,
	k_platform_syscall_gettimeofday = 169,
	k_platform_syscall_settimeofday = 170,
	k_platform_syscall_adjtimex = 171,
	k_platform_syscall_getpid = 172,
	k_platform_syscall_getppid = 173,
	k_platform_syscall_getuid = 174,
	k_platform_syscall_geteuid = 175,
	k_platform_syscall_getgid = 176,
	k_platform_syscall_getegid = 177,
	k_platform_syscall_gettid = 178,
	k_platform_syscall_sysinfo = 179,
	k_platform_syscall_open = 180,
	k_platform_syscall_unlink = 181,
	k_platform_syscall_timedsend = 182,
	k_platform_syscall_timedreceive = 183,
	k_platform_syscall_notify = 184,
	k_platform_syscall_getsetattr = 185,
	k_platform_syscall_msgget = 186,
	k_platform_syscall_msgctl = 187,
	k_platform_syscall_msgrcv = 188,
	k_platform_syscall_msgsnd = 189,
	k_platform_syscall_semget = 190,
	k_platform_syscall_semctl = 191,
	k_platform_syscall_semtimedop = 192,
	k_platform_syscall_semop = 193,
	k_platform_syscall_shmget = 194,
	k_platform_syscall_shmctl = 195,
	k_platform_syscall_shmat = 196,
	k_platform_syscall_shmdt = 197,
	k_platform_syscall_socket = 198,
	k_platform_syscall_socketpair = 199,
	k_platform_syscall_bind = 200,
	k_platform_syscall_listen = 201,
	k_platform_syscall_accept = 202,
	k_platform_syscall_connect = 203,
	k_platform_syscall_getsockname = 204,
	k_platform_syscall_getpeername = 205,
	k_platform_syscall_sendto = 206,
	k_platform_syscall_recvfrom = 207,
	k_platform_syscall_setsockopt = 208,
	k_platform_syscall_getsockopt = 209,
	k_platform_syscall_shutdown = 210,
	k_platform_syscall_sendmsg = 211,
	k_platform_syscall_recvmsg = 212,
	k_platform_syscall_readahead = 213,
	k_platform_syscall_brk = 214,
	k_platform_syscall_munmap = 215,
	k_platform_syscall_mremap = 216,
	k_platform_syscall_key = 217,
	k_platform_syscall_key = 218,
	k_platform_syscall_keyctl = 219,
	k_platform_syscall_clone = 220,
	k_platform_syscall_execve = 221,
	k_platform_syscall_mmap = 222,
	k_platform_syscall_mmap = 222,
	k_platform_syscall_fadvise64 = 223,
	k_platform_syscall_fadvise64 = 223,
	k_platform_syscall_swapon = 224,
	k_platform_syscall_swapoff = 225,
	k_platform_syscall_mprotect = 226,
	k_platform_syscall_msync = 227,
	k_platform_syscall_mlock = 228,
	k_platform_syscall_munlock = 229,
	k_platform_syscall_mlockall = 230,
	k_platform_syscall_munlockall = 231,
	k_platform_syscall_mincore = 232,
	k_platform_syscall_madvise = 233,
	k_platform_syscall_pages = 234,
	k_platform_syscall_mbind = 235,
	k_platform_syscall_mempolicy = 236,
	k_platform_syscall_mempolicy = 237,
	k_platform_syscall_pages = 238,
	k_platform_syscall_pages = 239,
	k_platform_syscall_tgsigqueueinfo = 240,
	k_platform_syscall_open = 241,
	k_platform_syscall_accept4 = 242,
	k_platform_syscall_recvmmsg = 243,
	k_platform_syscall_syscall = 244,
	k_platform_syscall_wait4 = 260,
	k_platform_syscall_prlimit64 = 261,
	k_platform_syscall_init = 262,
	k_platform_syscall_mark = 263,
	k_platform_syscall_at = 264,
	k_platform_syscall_at = 265,
	k_platform_syscall_adjtime = 266,
	k_platform_syscall_syncfs = 267,
	k_platform_syscall_setns = 268,
	k_platform_syscall_sendmmsg = 269,
	k_platform_syscall_readv = 270,
	k_platform_syscall_writev = 271,
	k_platform_syscall_kcmp = 272,
	k_platform_syscall_module = 273,
	k_platform_syscall_setattr = 274,
	k_platform_syscall_getattr = 275,
	k_platform_syscall_renameat2 = 276,
	k_platform_syscall_seccomp = 277,
	k_platform_syscall_getrandom = 278,
	k_platform_syscall_create = 279,
	k_platform_syscall_bpf = 280,
	k_platform_syscall_execveat = 281,
	k_platform_syscall_userfaultfd = 282,
	k_platform_syscall_membarrier = 283,
	k_platform_syscall_mlock2 = 284,
	k_platform_syscall_range = 285,
	k_platform_syscall_preadv2 = 286,
	k_platform_syscall_pwritev2 = 287,
	k_platform_syscall_mprotect = 288,
	k_platform_syscall_alloc = 289,
	k_platform_syscall_free = 290,
	k_platform_syscall_statx = 291,
	k_platform_syscall_pgetevents = 292,
	k_platform_syscall_rseq = 293,
	k_platform_syscall_load = 294,
	k_platform_syscall_signal = 424,
	k_platform_syscall_setup = 425,
	k_platform_syscall_enter = 426,
	k_platform_syscall_register = 427,
	k_platform_syscall_tree = 428,
	k_platform_syscall_mount = 429,
	k_platform_syscall_fsopen = 430,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_fsmount = 432,
	k_platform_syscall_fspick = 433,
	k_platform_syscall_syscalls = 434,

};

#endif





<
<
<
<
<
<
<
<
<
<
<

|
<
<
<
<
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
<
<
|
|
|
|
<
|
|
|
<
<
<
<
<

|
|
|
<
|
|
|
|
|
|
<
|
<
<
|
|
|
|
<

|
<
<
<
<
<
<
|
<
<
|
|
|
|
|
<
|
<
|
|
<
<
<

<
|
|
|
|
<
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
<
<

|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
<
<

|
|
|
|
|
|
|
|
|

<
<
|
<
<
<
|
|

<
|
|
|
|
|
<
|
<
<
<
|
<
|
|
|
|
|
|
<
|
<
<
|
|
|
<
|
|
<
<
<
<
<
<

|
|
|
<
<
|
<
<
|
|
|
|
|
|
|
<
<
|
<
<
|
|

|
<
|
|
|
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
<
|
|
|
|

<
<
<
|
<
<
<
<
|
|
<
|
|
|
|
<
<
|
|
<
<
<
<
|
<



<
1
2
3
4











5
6





7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25


26
27
28
29

30
31
32





33
34
35
36

37
38
39
40
41
42

43


44
45
46
47

48
49






50


51
52
53
54
55

56

57
58



59

60
61
62
63

64
65
66
67
68

69
70
71
72
73
74
75
76
77
78
79


80
81
82
83
84
85

86
87
88
89
90
91
92
93
94
95
96

97
98
99
100
101
102
103
104
105
106
107
108
109


110
111
112
113
114
115
116
117
118
119
120


121



122
123
124

125
126
127
128
129

130



131

132
133
134
135
136
137

138


139
140
141

142
143






144
145
146
147


148


149
150
151
152
153
154
155


156


157
158
159
160

161
162
163
164
165
166
167
168

169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188

189
190
191
192
193



194




195
196

197
198
199
200


201
202




203

204
205
206

#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {











	k_platform_syscall_fgetxattr = 10,
	k_platform_syscall_ioctl = 29,





	k_platform_syscall_getppid = 173,
	k_platform_syscall_getpgid = 155,
	k_platform_syscall_semctl = 191,
	k_platform_syscall_getpeername = 205,
	k_platform_syscall_clone = 220,
	k_platform_syscall_read = 63,
	k_platform_syscall_semget = 190,
	k_platform_syscall_setrlimit = 164,
	k_platform_syscall_getdents64 = 61,
	k_platform_syscall_seccomp = 277,
	k_platform_syscall_sync = 81,
	k_platform_syscall_setgid = 144,
	k_platform_syscall_listen = 201,
	k_platform_syscall_nfsservctl = 42,
	k_platform_syscall_sysinfo = 179,
	k_platform_syscall_semop = 193,
	k_platform_syscall_mremap = 216,
	k_platform_syscall_mknodat = 33,
	k_platform_syscall_pipe2 = 59,


	k_platform_syscall_llistxattr = 12,
	k_platform_syscall_personality = 92,
	k_platform_syscall_setns = 268,
	k_platform_syscall_readahead = 213,

	k_platform_syscall_connect = 203,
	k_platform_syscall_setdomainname = 162,
	k_platform_syscall_msgsnd = 189,





	k_platform_syscall_fallocate = 47,
	k_platform_syscall_fsetxattr = 7,
	k_platform_syscall_sendfile = 71,
	k_platform_syscall_pselect6 = 72,

	k_platform_syscall_flistxattr = 13,
	k_platform_syscall_exit = 93,
	k_platform_syscall_setuid = 146,
	k_platform_syscall_getsockname = 204,
	k_platform_syscall_sendto = 206,
	k_platform_syscall_unlinkat = 35,

	k_platform_syscall_ppoll = 73,


	k_platform_syscall_keyctl = 219,
	k_platform_syscall_preadv2 = 286,
	k_platform_syscall_ftruncate = 46,
	k_platform_syscall_lremovexattr = 15,

	k_platform_syscall_writev = 66,
	k_platform_syscall_chroot = 51,






	k_platform_syscall_getitimer = 102,


	k_platform_syscall_adjtimex = 171,
	k_platform_syscall_msgrcv = 188,
	k_platform_syscall_renameat2 = 276,
	k_platform_syscall_renameat = 38,
	k_platform_syscall_fsopen = 430,

	k_platform_syscall_getgroups = 158,

	k_platform_syscall_settimeofday = 170,
	k_platform_syscall_getcwd = 17,



	k_platform_syscall_capset = 91,

	k_platform_syscall_getsid = 156,
	k_platform_syscall_mbind = 235,
	k_platform_syscall_tgkill = 131,
	k_platform_syscall_accept = 202,

	k_platform_syscall_execve = 221,
	k_platform_syscall_listxattr = 11,
	k_platform_syscall_rseq = 293,
	k_platform_syscall_statx = 291,
	k_platform_syscall_readlinkat = 78,

	k_platform_syscall_fremovexattr = 16,
	k_platform_syscall_recvmmsg = 243,
	k_platform_syscall_shmctl = 195,
	k_platform_syscall_recvfrom = 207,
	k_platform_syscall_mount = 40,
	k_platform_syscall_getrlimit = 163,
	k_platform_syscall_fadvise64 = 223,
	k_platform_syscall_fchown = 55,
	k_platform_syscall_munmap = 215,
	k_platform_syscall_mprotect = 226,
	k_platform_syscall_mincore = 232,


	k_platform_syscall_ptrace = 117,
	k_platform_syscall_accept4 = 242,
	k_platform_syscall_socketpair = 199,
	k_platform_syscall_wait4 = 260,
	k_platform_syscall_getegid = 177,
	k_platform_syscall_shmget = 194,

	k_platform_syscall_socket = 198,
	k_platform_syscall_mmap = 222,
	k_platform_syscall_shmat = 196,
	k_platform_syscall_semtimedop = 192,
	k_platform_syscall_sigaltstack = 132,
	k_platform_syscall_uname = 160,
	k_platform_syscall_pwritev2 = 287,
	k_platform_syscall_shutdown = 210,
	k_platform_syscall_pread64 = 67,
	k_platform_syscall_times = 153,
	k_platform_syscall_getrusage = 165,

	k_platform_syscall_preadv = 69,
	k_platform_syscall_umount2 = 39,
	k_platform_syscall_fchmodat = 53,
	k_platform_syscall_lseek = 62,
	k_platform_syscall_setfsgid = 152,
	k_platform_syscall_geteuid = 175,
	k_platform_syscall_bpf = 280,
	k_platform_syscall_getrandom = 278,
	k_platform_syscall_gettid = 178,
	k_platform_syscall_prctl = 167,
	k_platform_syscall_syscalls = 434,
	k_platform_syscall_fspick = 433,
	k_platform_syscall_getxattr = 8,


	k_platform_syscall_setfsuid = 151,
	k_platform_syscall_setpgid = 154,
	k_platform_syscall_fcntl = 25,
	k_platform_syscall_mlockall = 230,
	k_platform_syscall_setresuid = 147,
	k_platform_syscall_msync = 227,
	k_platform_syscall_swapoff = 225,
	k_platform_syscall_brk = 214,
	k_platform_syscall_fchdir = 50,
	k_platform_syscall_mlock = 228,
	k_platform_syscall_sethostname = 161,


	k_platform_syscall_chdir = 49,



	k_platform_syscall_setresgid = 149,
	k_platform_syscall_kill = 129,
	k_platform_syscall_getpid = 172,

	k_platform_syscall_fchmod = 52,
	k_platform_syscall_readv = 65,
	k_platform_syscall_capget = 90,
	k_platform_syscall_tee = 77,
	k_platform_syscall_getgid = 176,

	k_platform_syscall_dup = 23,



	k_platform_syscall_nanosleep = 101,

	k_platform_syscall_linkat = 37,
	k_platform_syscall_write = 64,
	k_platform_syscall_vhangup = 58,
	k_platform_syscall_bind = 200,
	k_platform_syscall_setregid = 143,
	k_platform_syscall_setxattr = 5,

	k_platform_syscall_reboot = 142,


	k_platform_syscall_signalfd4 = 74,
	k_platform_syscall_close = 57,
	k_platform_syscall_fsmount = 432,

	k_platform_syscall_pwrite64 = 68,
	k_platform_syscall_mlock2 = 284,






	k_platform_syscall_setsockopt = 208,
	k_platform_syscall_madvise = 233,
	k_platform_syscall_membarrier = 283,
	k_platform_syscall_setsid = 157,


	k_platform_syscall_mkdirat = 34,


	k_platform_syscall_faccessat = 48,
	k_platform_syscall_getcpu = 168,
	k_platform_syscall_truncate = 45,
	k_platform_syscall_fsync = 82,
	k_platform_syscall_openat = 56,
	k_platform_syscall_gettimeofday = 169,
	k_platform_syscall_umask = 166,


	k_platform_syscall_getuid = 174,


	k_platform_syscall_flock = 32,
	k_platform_syscall_setreuid = 145,
	k_platform_syscall_munlock = 229,
	k_platform_syscall_newfstatat = 79,

	k_platform_syscall_quotactl = 60,
	k_platform_syscall_splice = 76,
	k_platform_syscall_dup3 = 24,
	k_platform_syscall_statfs = 43,
	k_platform_syscall_setpriority = 140,
	k_platform_syscall_getsockopt = 209,
	k_platform_syscall_removexattr = 14,
	k_platform_syscall_getresgid = 150,

	k_platform_syscall_getpriority = 141,
	k_platform_syscall_symlinkat = 36,
	k_platform_syscall_vmsplice = 75,
	k_platform_syscall_fdatasync = 83,
	k_platform_syscall_msgctl = 187,
	k_platform_syscall_unshare = 97,
	k_platform_syscall_recvmsg = 212,
	k_platform_syscall_munlockall = 231,
	k_platform_syscall_futex = 98,
	k_platform_syscall_lgetxattr = 9,
	k_platform_syscall_msgget = 186,
	k_platform_syscall_pwritev = 70,
	k_platform_syscall_kcmp = 272,
	k_platform_syscall_sendmmsg = 269,
	k_platform_syscall_eventfd2 = 19,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_getresuid = 148,
	k_platform_syscall_acct = 89,
	k_platform_syscall_fstatfs = 44,
	k_platform_syscall_fchownat = 54,

	k_platform_syscall_fstat = 80,
	k_platform_syscall_prlimit64 = 261,
	k_platform_syscall_utimensat = 88,
	k_platform_syscall_setitimer = 103,
	k_platform_syscall_execveat = 281,



	k_platform_syscall_swapon = 224,




	k_platform_syscall_userfaultfd = 282,
	k_platform_syscall_setgroups = 159,

	k_platform_syscall_sendmsg = 211,
	k_platform_syscall_lsetxattr = 6,
	k_platform_syscall_syncfs = 267,
	k_platform_syscall_syslog = 116,


	k_platform_syscall_tkill = 130,
	k_platform_syscall_waitid = 95,




	k_platform_syscall_shmdt = 197,

};

#endif

Deleted arch/arm.lin.64/system_calls.tbl version [982f97727a].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
0	common	setup
1	common	destroy
2	common	submit
3	common	cancel
4	common	getevents
5	common	setxattr
6	common	lsetxattr
7	common	fsetxattr
8	common	getxattr
9	common	lgetxattr
10	common	fgetxattr
11	common	listxattr
12	common	llistxattr
13	common	flistxattr
14	common	removexattr
15	common	lremovexattr
16	common	fremovexattr
17	common	getcwd
18	common	dcookie
19	common	eventfd2
20	common	create1
21	common	ctl
22	common	pwait
23	common	dup
24	common	dup3
25	common	fcntl
25	common	fcntl
26	common	init1
27	common	watch
28	common	watch
29	common	ioctl
30	common	set
31	common	get
32	common	flock
33	common	mknodat
34	common	mkdirat
35	common	unlinkat
36	common	symlinkat
37	common	linkat
39	common	umount2
40	common	mount
41	common	root
42	common	nfsservctl
43	common	statfs
43	common	statfs
44	common	fstatfs
44	common	fstatfs
45	common	truncate
45	common	truncate
46	common	ftruncate
46	common	ftruncate
47	common	fallocate
48	common	faccessat
49	common	chdir
50	common	fchdir
51	common	chroot
52	common	fchmod
53	common	fchmodat
54	common	fchownat
55	common	fchown
56	common	openat
57	common	close
58	common	vhangup
59	common	pipe2
60	common	quotactl
61	common	getdents64
62	common	lseek
62	common	lseek
63	common	read
64	common	write
65	common	readv
66	common	writev
67	common	pread64
68	common	pwrite64
69	common	preadv
70	common	pwritev
71	common	sendfile
71	common	sendfile
72	common	pselect6
73	common	ppoll
74	common	signalfd4
75	common	vmsplice
76	common	splice
77	common	tee
78	common	readlinkat
81	common	sync
82	common	fsync
83	common	fdatasync
84	common	range
85	common	create
86	common	settime
87	common	gettime
88	common	utimensat
89	common	acct
90	common	capget
91	common	capset
92	common	personality
93	common	exit
94	common	group
95	common	waitid
96	common	address
97	common	unshare
98	common	futex
99	common	list
100	common	list
101	common	nanosleep
102	common	getitimer
103	common	setitimer
104	common	load
105	common	module
106	common	module
107	common	create
108	common	gettime
109	common	getoverrun
110	common	settime
111	common	delete
112	common	settime
113	common	gettime
114	common	getres
115	common	nanosleep
116	common	syslog
117	common	ptrace
118	common	setparam
119	common	setscheduler
120	common	getscheduler
121	common	getparam
122	common	setaffinity
123	common	getaffinity
124	common	yield
125	common	max
126	common	min
127	common	interval
128	common	syscall
129	common	kill
130	common	tkill
131	common	tgkill
132	common	sigaltstack
133	common	sigsuspend
134	common	sigaction
135	common	sigprocmask
136	common	sigpending
137	common	sigtimedwait
138	common	sigqueueinfo
139	common	sigreturn
140	common	setpriority
141	common	getpriority
142	common	reboot
143	common	setregid
144	common	setgid
145	common	setreuid
146	common	setuid
147	common	setresuid
148	common	getresuid
149	common	setresgid
150	common	getresgid
151	common	setfsuid
152	common	setfsgid
153	common	times
154	common	setpgid
155	common	getpgid
156	common	getsid
157	common	setsid
158	common	getgroups
159	common	setgroups
160	common	uname
161	common	sethostname
162	common	setdomainname
165	common	getrusage
166	common	umask
167	common	prctl
168	common	getcpu
169	common	gettimeofday
170	common	settimeofday
171	common	adjtimex
172	common	getpid
173	common	getppid
174	common	getuid
175	common	geteuid
176	common	getgid
177	common	getegid
178	common	gettid
179	common	sysinfo
180	common	open
181	common	unlink
182	common	timedsend
183	common	timedreceive
184	common	notify
185	common	getsetattr
186	common	msgget
187	common	msgctl
188	common	msgrcv
189	common	msgsnd
190	common	semget
191	common	semctl
192	common	semtimedop
193	common	semop
194	common	shmget
195	common	shmctl
196	common	shmat
197	common	shmdt
198	common	socket
199	common	socketpair
200	common	bind
201	common	listen
202	common	accept
203	common	connect
204	common	getsockname
205	common	getpeername
206	common	sendto
207	common	recvfrom
208	common	setsockopt
209	common	getsockopt
210	common	shutdown
211	common	sendmsg
212	common	recvmsg
213	common	readahead
214	common	brk
215	common	munmap
216	common	mremap
217	common	key
218	common	key
219	common	keyctl
220	common	clone
221	common	execve
222	common	mmap
222	common	mmap
223	common	fadvise64
223	common	fadvise64
224	common	swapon
225	common	swapoff
226	common	mprotect
227	common	msync
228	common	mlock
229	common	munlock
230	common	mlockall
231	common	munlockall
232	common	mincore
233	common	madvise
234	common	pages
235	common	mbind
236	common	mempolicy
237	common	mempolicy
238	common	pages
239	common	pages
240	common	tgsigqueueinfo
241	common	open
242	common	accept4
243	common	recvmmsg
244	common	syscall
260	common	wait4
261	common	prlimit64
262	common	init
263	common	mark
264	common	at
265	common	at
266	common	adjtime
267	common	syncfs
268	common	setns
269	common	sendmmsg
270	common	readv
271	common	writev
272	common	kcmp
273	common	module
274	common	setattr
275	common	getattr
276	common	renameat2
277	common	seccomp
278	common	getrandom
279	common	create
280	common	bpf
281	common	execveat
282	common	userfaultfd
283	common	membarrier
284	common	mlock2
285	common	range
286	common	preadv2
287	common	pwritev2
288	common	mprotect
289	common	alloc
290	common	free
291	common	statx
292	common	pgetevents
293	common	rseq
294	common	load
424	common	signal
425	common	setup
426	common	enter
427	common	register
428	common	tree
429	common	mount
430	common	fsopen
431	common	fsconfig
432	common	fsmount
433	common	fspick
434	common	syscalls
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<














































































































































































































































































































































































































































































































































































































Deleted arch/mktbl.linux.errno.sh version [d84e39d1e1].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -eu

OUTDIR=$1
ABI=$2

INC_DEF=/usr/src/linux
p_include="${LINUX_SRC:-$INC_DEF}"
p_uapi="$p_include/tools/include/uapi"

cpp -D__"$ABI"__ -undef -dM -I"$p_uapi" "$p_uapi/asm/errno.h" | sort -nrk3 | awk -F' ' '{
if ($2 !~ "^_"){
	ids[$2] = $3;
	if ($3 ~ /^[0-9]+$/) val=$3;
	else val=ids[$3];
	print $2 " " val;
}}' | sort -nk2 > "$OUTDIR/error_table.tbl"
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<


































Added arch/mktbl.linux.sh version [29c25e24bd].



















































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env bash
set -eu

OUTDIR=$1
ARCH=$2
ABI=$3

# architecture-specific cppflags
declare -A AFLAGS
AFLAGS[arm]="-D__ARM_EABI__"

AFLAGS[x32]="-D__ILP32__"
AFLAGS[x86_64]="-D__LP64__"

AFLAGS[riscv64]="-D__LP64__"

if ! [ -z ${AFLAGS[$ABI]+x} ]; then
	flags=${AFLAGS[$ABI]}
else
	flags=""
fi

INC_DEF=/usr/src/linux
p_linux="${LINUX_SRC:-$INC_DEF}"

TMP=$(mktemp -d)
make -C "$p_linux" ARCH="$ARCH" O="$TMP" headers_install

# errors
cpp -D__"$ABI"__ -undef -dM "$TMP/usr/include/asm/errno.h" -I"$TMP/usr/include" | sort -nrk3 | awk '
BEGIN {
	FS=" "
	print "#ifndef KIplatform_error\n\
#define KIplatform_error\n\
\n\
enum k_platform_error {"
}

{
	if ($2 !~ "^_"){
		ids[$2] = $3
		if ($3 ~ /^[0-9]+$/) val=$3
		else val=ids[$3]
		printf("\tk_platform_error_%s = %d,\n", $2, val)
	}
}

END {
	print "};\n\
\n\
#endif"
}
' > "$OUTDIR/error_table.h"

# syscalls
cpp -dM -undef "$TMP/usr/include/asm/unistd.h" -I"$TMP/usr/include" \
-D"${ABI^^}" -D"__${ABI}__" ${flags} | awk '
BEGIN {
	FS=" "
	print "#include <stdio.h>\n\
		#include <asm/unistd.h>\n\
		int main(void) {\
		puts(\"#ifndef KIplatform_syscall\");\
		puts(\"#define KIplatform_syscall\\n\");\
		puts(\"enum k_platform_syscall {\");"
}

{
	if ($2 ~ "(^__NR_)" && $2 !~ "NR3264")
	{
		sub("^.*_", "", $2)
		calls[$2]++
	}
}

END {
	for (call in calls) {
		printf("#ifdef __NR_%s\n", call)
		printf("printf(\"\\tk_platform_syscall_%s = %%d,\\n\", __NR_%s);\n", call, call)
		printf("#endif\n")
	}
	print "puts(\"};\\n\\n#endif\");\n\
	return 0;\n}"
}' | gcc -x c -U__LP64__ -U__ILP32__ -U__i386__ -D"${ABI^^}" \
-D"__${ABI}__" ${flags} -I"$TMP/usr/include" -o "$TMP/ls_calls" -

"$TMP/ls_calls" > "$OUTDIR/system_calls.h"

rm -rf "$TMP"

Deleted arch/mktbl.linux.syscall.sh version [736d8ba137].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -eu

OUTDIR=$1
ABI=$2

INC_DEF=/usr/src/linux
p_include="${LINUX_SRC:-$INC_DEF}"
p_uapi="$p_include/tools/include/uapi"

cpp -D__"$ABI"__ -undef -dM -I"$p_uapi" "$p_uapi/asm-generic/unistd.h" | sort -nrk3 | awk -F' ' '{
if ($2 ~ "__NR") {
	ids[$2]=$3;
	sub("^.*_", "", $2);
	if ($3 ~ /^[0-9]+$/) val=$3;
	else val=ids[$3];
	print val "\tcommon\t" $2}}' | sort -n > "$OUTDIR/system_calls.tbl"
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<


































Modified arch/readme.md from [51b8ad36cd] to [45fed8e393].

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

## structure
each subdirectory should be named for a specific target tuple. the top level is reserved for development tools and files of relevance to more than one architecture; for instance, the standardized x86-64 SysV syscall ABI is kept at `/arch/x86.syscall.64.s`. these files should not be included directly from any files under the `/mod` directory; rather, they should be included from stub files in the appropriate target directory. this provides a consistent header selection mechanism.

## scripts
arch contains a number of shell scripts. unlike the shell scripts in /global, the shell scripts in /arch are not part of the build process; they are simply developer tools, usually for generating syscall tables for new architectures. the output of the scripts is written directly to the appropriate target directory; these files should be added to the source tree and committed.

- `mktbl.posix.sh <target> <ABI>`: generates the C headers for a particular target based on the system_calls.h and error_table.h files in its directory. the ABI parameter controls which syscalls are included; the ABI is the second column in the kernel system calls table.
- `mktbl.linux.errno.sh <target> <ABI>`: generates the errno table for a given architecture and ABI. requires the kernel source tree to be installed on the host system.
- `mktbl.linux.syscall.sh <target> <ABI>`: generates the syscall table for a given architecture and ABI. requires the kernel source tree to be installed on the host system. note that some architectures like x86 have separate, architecture-specific tables. this script is not meant to be used with these architectures.

## sources
the arch directory also contains C sources for programs that need to be compiled *and* executed during the build process.

- `typesize.c`: calculates type metadata for the system it is compiled on, producing macros needed for the creation of `<k/type.h>` (mod/kcore/type.h.m).







<
|
<





5
6
7
8
9
10
11

12

13
14
15
16
17

## structure
each subdirectory should be named for a specific target tuple. the top level is reserved for development tools and files of relevance to more than one architecture; for instance, the standardized x86-64 SysV syscall ABI is kept at `/arch/x86.syscall.64.s`. these files should not be included directly from any files under the `/mod` directory; rather, they should be included from stub files in the appropriate target directory. this provides a consistent header selection mechanism.

## scripts
arch contains a number of shell scripts. unlike the shell scripts in /global, the shell scripts in /arch are not part of the build process; they are simply developer tools, usually for generating syscall tables for new architectures. the output of the scripts is written directly to the appropriate target directory; these files should be added to the source tree and committed.


- `mktbl.linux.sh <target> <arch> <ABI>`: generates the Linux errno and syscall tables for a given architecture and ABI. requires the kernel source tree to be installed on the host system.


## sources
the arch directory also contains C sources for programs that need to be compiled *and* executed during the build process.

- `typesize.c`: calculates type metadata for the system it is compiled on, producing macros needed for the creation of `<k/type.h>` (mod/kcore/type.h.m).

Modified arch/x86.lin.32/error_table.h from [88f88edd37] to [991d95c3d6].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#ifndef KIplatform_error
#define KIplatform_error

enum k_platform_error {

	k_platform_error_EPERM = 1,
	k_platform_error_ENOENT = 2,
	k_platform_error_ESRCH = 3,
	k_platform_error_EINTR = 4,
	k_platform_error_EIO = 5,
	k_platform_error_ENXIO = 6,
	k_platform_error_E2BIG = 7,
	k_platform_error_ENOEXEC = 8,
	k_platform_error_EBADF = 9,
	k_platform_error_ECHILD = 10,
	k_platform_error_EAGAIN = 11,
	k_platform_error_EWOULDBLOCK = 11,
	k_platform_error_ENOMEM = 12,
	k_platform_error_EACCES = 13,
	k_platform_error_EFAULT = 14,
	k_platform_error_ENOTBLK = 15,
	k_platform_error_EBUSY = 16,
	k_platform_error_EEXIST = 17,
	k_platform_error_EXDEV = 18,
	k_platform_error_ENODEV = 19,
	k_platform_error_ENOTDIR = 20,
	k_platform_error_EISDIR = 21,
	k_platform_error_EINVAL = 22,
	k_platform_error_ENFILE = 23,
	k_platform_error_EMFILE = 24,
	k_platform_error_ENOTTY = 25,
	k_platform_error_ETXTBSY = 26,
	k_platform_error_EFBIG = 27,
	k_platform_error_ENOSPC = 28,
	k_platform_error_ESPIPE = 29,
	k_platform_error_EROFS = 30,
	k_platform_error_EMLINK = 31,
	k_platform_error_EPIPE = 32,
	k_platform_error_EDOM = 33,
	k_platform_error_ERANGE = 34,
	k_platform_error_EDEADLK = 35,
	k_platform_error_EDEADLOCK = 35,
	k_platform_error_ENAMETOOLONG = 36,
	k_platform_error_ENOLCK = 37,
	k_platform_error_ENOSYS = 38,
	k_platform_error_ENOTEMPTY = 39,
	k_platform_error_ELOOP = 40,
	k_platform_error_ENOMSG = 42,
	k_platform_error_EIDRM = 43,
	k_platform_error_ECHRNG = 44,
	k_platform_error_EL2NSYNC = 45,
	k_platform_error_EL3HLT = 46,
	k_platform_error_EL3RST = 47,
	k_platform_error_ELNRNG = 48,
	k_platform_error_EUNATCH = 49,
	k_platform_error_ENOCSI = 50,
	k_platform_error_EL2HLT = 51,
	k_platform_error_EBADE = 52,
	k_platform_error_EBADR = 53,
	k_platform_error_EXFULL = 54,
	k_platform_error_ENOANO = 55,
	k_platform_error_EBADRQC = 56,
	k_platform_error_EBADSLT = 57,
	k_platform_error_EBFONT = 59,
	k_platform_error_ENOSTR = 60,
	k_platform_error_ENODATA = 61,
	k_platform_error_ETIME = 62,
	k_platform_error_ENOSR = 63,
	k_platform_error_ENONET = 64,
	k_platform_error_ENOPKG = 65,
	k_platform_error_EREMOTE = 66,
	k_platform_error_ENOLINK = 67,
	k_platform_error_EADV = 68,
	k_platform_error_ESRMNT = 69,
	k_platform_error_ECOMM = 70,
	k_platform_error_EPROTO = 71,
	k_platform_error_EMULTIHOP = 72,
	k_platform_error_EDOTDOT = 73,
	k_platform_error_EBADMSG = 74,
	k_platform_error_EOVERFLOW = 75,
	k_platform_error_ENOTUNIQ = 76,
	k_platform_error_EBADFD = 77,
	k_platform_error_EREMCHG = 78,
	k_platform_error_ELIBACC = 79,
	k_platform_error_ELIBBAD = 80,
	k_platform_error_ELIBSCN = 81,
	k_platform_error_ELIBMAX = 82,
	k_platform_error_ELIBEXEC = 83,
	k_platform_error_EILSEQ = 84,
	k_platform_error_ERESTART = 85,
	k_platform_error_ESTRPIPE = 86,
	k_platform_error_EUSERS = 87,
	k_platform_error_ENOTSOCK = 88,
	k_platform_error_EDESTADDRREQ = 89,
	k_platform_error_EMSGSIZE = 90,
	k_platform_error_EPROTOTYPE = 91,
	k_platform_error_ENOPROTOOPT = 92,
	k_platform_error_EPROTONOSUPPORT = 93,
	k_platform_error_ESOCKTNOSUPPORT = 94,
	k_platform_error_EOPNOTSUPP = 95,
	k_platform_error_EPFNOSUPPORT = 96,
	k_platform_error_EAFNOSUPPORT = 97,
	k_platform_error_EADDRINUSE = 98,
	k_platform_error_EADDRNOTAVAIL = 99,
	k_platform_error_ENETDOWN = 100,
	k_platform_error_ENETUNREACH = 101,
	k_platform_error_ENETRESET = 102,
	k_platform_error_ECONNABORTED = 103,
	k_platform_error_ECONNRESET = 104,
	k_platform_error_ENOBUFS = 105,
	k_platform_error_EISCONN = 106,
	k_platform_error_ENOTCONN = 107,
	k_platform_error_ESHUTDOWN = 108,
	k_platform_error_ETOOMANYREFS = 109,
	k_platform_error_ETIMEDOUT = 110,
	k_platform_error_ECONNREFUSED = 111,
	k_platform_error_EHOSTDOWN = 112,
	k_platform_error_EHOSTUNREACH = 113,
	k_platform_error_EALREADY = 114,
	k_platform_error_EINPROGRESS = 115,
	k_platform_error_ESTALE = 116,
	k_platform_error_EUCLEAN = 117,
	k_platform_error_ENOTNAM = 118,
	k_platform_error_ENAVAIL = 119,
	k_platform_error_EISNAM = 120,
	k_platform_error_EREMOTEIO = 121,
	k_platform_error_EDQUOT = 122,
	k_platform_error_ENOMEDIUM = 123,
	k_platform_error_EMEDIUMTYPE = 124,
	k_platform_error_ECANCELED = 125,
	k_platform_error_ENOKEY = 126,
	k_platform_error_EKEYEXPIRED = 127,
	k_platform_error_EKEYREVOKED = 128,
	k_platform_error_EKEYREJECTED = 129,
	k_platform_error_EOWNERDEAD = 130,
	k_platform_error_ENOTRECOVERABLE = 131,
	k_platform_error_ERFKILL = 132,
	k_platform_error_EHWPOISON = 133,

};

#endif





<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<



<
1
2
3
4

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

138
139
140

#ifndef KIplatform_error
#define KIplatform_error

enum k_platform_error {

	k_platform_error_EHWPOISON = 133,
	k_platform_error_ERFKILL = 132,
	k_platform_error_ENOTRECOVERABLE = 131,
	k_platform_error_EOWNERDEAD = 130,
	k_platform_error_EKEYREJECTED = 129,
	k_platform_error_EKEYREVOKED = 128,
	k_platform_error_EKEYEXPIRED = 127,
	k_platform_error_ENOKEY = 126,
	k_platform_error_ECANCELED = 125,
	k_platform_error_EMEDIUMTYPE = 124,
	k_platform_error_ENOMEDIUM = 123,
	k_platform_error_EDQUOT = 122,
	k_platform_error_EREMOTEIO = 121,
	k_platform_error_EISNAM = 120,
	k_platform_error_ENAVAIL = 119,
	k_platform_error_ENOTNAM = 118,
	k_platform_error_EUCLEAN = 117,
	k_platform_error_ESTALE = 116,
	k_platform_error_EINPROGRESS = 115,
	k_platform_error_EALREADY = 114,
	k_platform_error_EHOSTUNREACH = 113,
	k_platform_error_EHOSTDOWN = 112,
	k_platform_error_ECONNREFUSED = 111,
	k_platform_error_ETIMEDOUT = 110,
	k_platform_error_ETOOMANYREFS = 109,
	k_platform_error_ESHUTDOWN = 108,
	k_platform_error_ENOTCONN = 107,
	k_platform_error_EISCONN = 106,
	k_platform_error_ENOBUFS = 105,
	k_platform_error_ECONNRESET = 104,
	k_platform_error_ECONNABORTED = 103,
	k_platform_error_ENETRESET = 102,
	k_platform_error_ENETUNREACH = 101,
	k_platform_error_ENETDOWN = 100,
	k_platform_error_EADDRNOTAVAIL = 99,
	k_platform_error_EADDRINUSE = 98,
	k_platform_error_EAFNOSUPPORT = 97,
	k_platform_error_EPFNOSUPPORT = 96,
	k_platform_error_EOPNOTSUPP = 95,
	k_platform_error_ESOCKTNOSUPPORT = 94,
	k_platform_error_EPROTONOSUPPORT = 93,
	k_platform_error_ENOPROTOOPT = 92,
	k_platform_error_EPROTOTYPE = 91,
	k_platform_error_EMSGSIZE = 90,
	k_platform_error_EDESTADDRREQ = 89,
	k_platform_error_ENOTSOCK = 88,
	k_platform_error_EUSERS = 87,
	k_platform_error_ESTRPIPE = 86,
	k_platform_error_ERESTART = 85,
	k_platform_error_EILSEQ = 84,
	k_platform_error_ELIBEXEC = 83,
	k_platform_error_ELIBMAX = 82,
	k_platform_error_ELIBSCN = 81,
	k_platform_error_ELIBBAD = 80,
	k_platform_error_ELIBACC = 79,
	k_platform_error_EREMCHG = 78,
	k_platform_error_EBADFD = 77,
	k_platform_error_ENOTUNIQ = 76,
	k_platform_error_EOVERFLOW = 75,
	k_platform_error_EBADMSG = 74,
	k_platform_error_EDOTDOT = 73,
	k_platform_error_EMULTIHOP = 72,
	k_platform_error_EPROTO = 71,
	k_platform_error_ECOMM = 70,
	k_platform_error_ESRMNT = 69,
	k_platform_error_EADV = 68,
	k_platform_error_ENOLINK = 67,
	k_platform_error_EREMOTE = 66,
	k_platform_error_ENOPKG = 65,
	k_platform_error_ENONET = 64,
	k_platform_error_ENOSR = 63,
	k_platform_error_ETIME = 62,
	k_platform_error_ENODATA = 61,
	k_platform_error_ENOSTR = 60,
	k_platform_error_EBFONT = 59,
	k_platform_error_EBADSLT = 57,
	k_platform_error_EBADRQC = 56,
	k_platform_error_ENOANO = 55,
	k_platform_error_EXFULL = 54,
	k_platform_error_EBADR = 53,
	k_platform_error_EBADE = 52,
	k_platform_error_EL2HLT = 51,
	k_platform_error_ENOCSI = 50,
	k_platform_error_EUNATCH = 49,
	k_platform_error_ELNRNG = 48,
	k_platform_error_EL3RST = 47,
	k_platform_error_EL3HLT = 46,
	k_platform_error_EL2NSYNC = 45,
	k_platform_error_ECHRNG = 44,
	k_platform_error_EIDRM = 43,
	k_platform_error_ENOMSG = 42,
	k_platform_error_ELOOP = 40,
	k_platform_error_ENOTEMPTY = 39,
	k_platform_error_ENOSYS = 38,
	k_platform_error_ENOLCK = 37,
	k_platform_error_ENAMETOOLONG = 36,
	k_platform_error_EDEADLK = 35,
	k_platform_error_ERANGE = 34,
	k_platform_error_EDOM = 33,
	k_platform_error_EPIPE = 32,
	k_platform_error_EMLINK = 31,
	k_platform_error_EROFS = 30,
	k_platform_error_ESPIPE = 29,
	k_platform_error_ENOSPC = 28,
	k_platform_error_EFBIG = 27,
	k_platform_error_ETXTBSY = 26,
	k_platform_error_ENOTTY = 25,
	k_platform_error_EMFILE = 24,
	k_platform_error_ENFILE = 23,
	k_platform_error_EINVAL = 22,
	k_platform_error_EISDIR = 21,
	k_platform_error_ENOTDIR = 20,
	k_platform_error_ENODEV = 19,
	k_platform_error_EXDEV = 18,
	k_platform_error_EEXIST = 17,
	k_platform_error_EBUSY = 16,
	k_platform_error_ENOTBLK = 15,
	k_platform_error_EFAULT = 14,
	k_platform_error_EACCES = 13,
	k_platform_error_ENOMEM = 12,
	k_platform_error_EAGAIN = 11,
	k_platform_error_ECHILD = 10,
	k_platform_error_EBADF = 9,
	k_platform_error_ENOEXEC = 8,
	k_platform_error_E2BIG = 7,
	k_platform_error_ENXIO = 6,
	k_platform_error_EIO = 5,
	k_platform_error_EINTR = 4,
	k_platform_error_ESRCH = 3,
	k_platform_error_ENOENT = 2,
	k_platform_error_EPERM = 1,
	k_platform_error_EWOULDBLOCK = 11,
	k_platform_error_EDEADLOCK = 35,

};

#endif

Modified arch/x86.lin.32/system_calls.h from [bbcc695bc0] to [def82548cd].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
/* this file was generated from the Linux kernel source
 * file /arch/x86/entry/syscalls/syscall_32.tbl. since
 * the x86-32 syscalls are a special case and are unlikely
 * to change in the future, the code used to generate this
 * header was not preserved. */

#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {

	k_platform_syscall_restart_syscall = 0,
	k_platform_syscall_exit = 1,
	k_platform_syscall_fork = 2,
	k_platform_syscall_read = 3,
	k_platform_syscall_write = 4,
	k_platform_syscall_open = 5,
	k_platform_syscall_close = 6,
	k_platform_syscall_waitpid = 7,
	k_platform_syscall_creat = 8,
	k_platform_syscall_link = 9,
	k_platform_syscall_unlink = 10,
	k_platform_syscall_execve = 11,
	k_platform_syscall_chdir = 12,
	k_platform_syscall_time = 13,
	k_platform_syscall_mknod = 14,
	k_platform_syscall_chmod = 15,
	k_platform_syscall_lchown = 16,
	k_platform_syscall_break = 17,
	k_platform_syscall_oldstat = 18,
	k_platform_syscall_lseek = 19,
	k_platform_syscall_getpid = 20,
	k_platform_syscall_mount = 21,
	k_platform_syscall_umount = 22,
	k_platform_syscall_setuid = 23,
	k_platform_syscall_getuid = 24,
	k_platform_syscall_stime = 25,
	k_platform_syscall_ptrace = 26,
	k_platform_syscall_alarm = 27,
	k_platform_syscall_oldfstat = 28,
	k_platform_syscall_pause = 29,
	k_platform_syscall_utime = 30,
	k_platform_syscall_stty = 31,
	k_platform_syscall_gtty = 32,
	k_platform_syscall_access = 33,
	k_platform_syscall_nice = 34,
	k_platform_syscall_ftime = 35,
	k_platform_syscall_sync = 36,
	k_platform_syscall_kill = 37,
	k_platform_syscall_rename = 38,
	k_platform_syscall_mkdir = 39,
	k_platform_syscall_rmdir = 40,
	k_platform_syscall_dup = 41,
	k_platform_syscall_pipe = 42,
	k_platform_syscall_times = 43,
	k_platform_syscall_prof = 44,
	k_platform_syscall_brk = 45,
	k_platform_syscall_setgid = 46,
	k_platform_syscall_getgid = 47,
	k_platform_syscall_signal = 48,
	k_platform_syscall_geteuid = 49,
	k_platform_syscall_getegid = 50,
	k_platform_syscall_acct = 51,
	k_platform_syscall_umount2 = 52,
	k_platform_syscall_lock = 53,
	k_platform_syscall_ioctl = 54,
	k_platform_syscall_fcntl = 55,
	k_platform_syscall_mpx = 56,
	k_platform_syscall_setpgid = 57,
	k_platform_syscall_ulimit = 58,
	k_platform_syscall_oldolduname = 59,
	k_platform_syscall_umask = 60,
	k_platform_syscall_chroot = 61,
	k_platform_syscall_ustat = 62,
	k_platform_syscall_dup2 = 63,
	k_platform_syscall_getppid = 64,
	k_platform_syscall_getpgrp = 65,
	k_platform_syscall_setsid = 66,
	k_platform_syscall_sigaction = 67,
	k_platform_syscall_sgetmask = 68,
	k_platform_syscall_ssetmask = 69,
	k_platform_syscall_setreuid = 70,
	k_platform_syscall_setregid = 71,
	k_platform_syscall_sigsuspend = 72,
	k_platform_syscall_sigpending = 73,
	k_platform_syscall_sethostname = 74,
	k_platform_syscall_setrlimit = 75,
	k_platform_syscall_getrlimit = 76,
	k_platform_syscall_getrusage = 77,
	k_platform_syscall_gettimeofday = 78,
	k_platform_syscall_settimeofday = 79,
	k_platform_syscall_getgroups = 80,
	k_platform_syscall_setgroups = 81,
	k_platform_syscall_select = 82,
	k_platform_syscall_symlink = 83,
	k_platform_syscall_oldlstat = 84,
	k_platform_syscall_readlink = 85,
	k_platform_syscall_uselib = 86,
	k_platform_syscall_swapon = 87,
	k_platform_syscall_reboot = 88,
	k_platform_syscall_readdir = 89,
	k_platform_syscall_mmap = 90,
	k_platform_syscall_munmap = 91,
	k_platform_syscall_truncate = 92,
	k_platform_syscall_ftruncate = 93,
	k_platform_syscall_fchmod = 94,
	k_platform_syscall_fchown = 95,
	k_platform_syscall_getpriority = 96,
	k_platform_syscall_setpriority = 97,
	k_platform_syscall_profil = 98,
	k_platform_syscall_statfs = 99,
	k_platform_syscall_fstatfs = 100,
	k_platform_syscall_ioperm = 101,
	k_platform_syscall_socketcall = 102,
	k_platform_syscall_syslog = 103,
	k_platform_syscall_setitimer = 104,
	k_platform_syscall_getitimer = 105,
	k_platform_syscall_stat = 106,
	k_platform_syscall_lstat = 107,
	k_platform_syscall_fstat = 108,
	k_platform_syscall_olduname = 109,
	k_platform_syscall_iopl = 110,
	k_platform_syscall_vhangup = 111,
	k_platform_syscall_idle = 112,
	k_platform_syscall_vm86old = 113,
	k_platform_syscall_wait4 = 114,
	k_platform_syscall_swapoff = 115,
	k_platform_syscall_sysinfo = 116,
	k_platform_syscall_ipc = 117,
	k_platform_syscall_fsync = 118,
	k_platform_syscall_sigreturn = 119,
	k_platform_syscall_clone = 120,
	k_platform_syscall_setdomainname = 121,
	k_platform_syscall_uname = 122,
	k_platform_syscall_modify_ldt = 123,
	k_platform_syscall_adjtimex = 124,
	k_platform_syscall_mprotect = 125,
	k_platform_syscall_sigprocmask = 126,
	k_platform_syscall_create_module = 127,
	k_platform_syscall_init_module = 128,
	k_platform_syscall_delete_module = 129,
	k_platform_syscall_get_kernel_syms = 130,
	k_platform_syscall_quotactl = 131,
	k_platform_syscall_getpgid = 132,
	k_platform_syscall_fchdir = 133,
	k_platform_syscall_bdflush = 134,
	k_platform_syscall_sysfs = 135,
	k_platform_syscall_personality = 136,
	k_platform_syscall_afs_syscall = 137,
	k_platform_syscall_setfsuid = 138,
	k_platform_syscall_setfsgid = 139,
	k_platform_syscall__llseek = 140,
	k_platform_syscall_getdents = 141,
	k_platform_syscall__newselect = 142,
	k_platform_syscall_flock = 143,
	k_platform_syscall_msync = 144,
	k_platform_syscall_readv = 145,
	k_platform_syscall_writev = 146,
	k_platform_syscall_getsid = 147,
	k_platform_syscall_fdatasync = 148,
	k_platform_syscall__sysctl = 149,
	k_platform_syscall_mlock = 150,
	k_platform_syscall_munlock = 151,
	k_platform_syscall_mlockall = 152,
	k_platform_syscall_munlockall = 153,
	k_platform_syscall_sched_setparam = 154,
	k_platform_syscall_sched_getparam = 155,
	k_platform_syscall_sched_setscheduler = 156,
	k_platform_syscall_sched_getscheduler = 157,
	k_platform_syscall_sched_yield = 158,
	k_platform_syscall_sched_get_priority_max = 159,
	k_platform_syscall_sched_get_priority_min = 160,
	k_platform_syscall_sched_rr_get_interval = 161,
	k_platform_syscall_nanosleep = 162,
	k_platform_syscall_mremap = 163,
	k_platform_syscall_setresuid = 164,
	k_platform_syscall_getresuid = 165,
	k_platform_syscall_vm86 = 166,
	k_platform_syscall_query_module = 167,
	k_platform_syscall_poll = 168,
	k_platform_syscall_nfsservctl = 169,
	k_platform_syscall_setresgid = 170,
	k_platform_syscall_getresgid = 171,
	k_platform_syscall_prctl = 172,
	k_platform_syscall_rt_sigreturn = 173,
	k_platform_syscall_rt_sigaction = 174,
	k_platform_syscall_rt_sigprocmask = 175,
	k_platform_syscall_rt_sigpending = 176,
	k_platform_syscall_rt_sigtimedwait = 177,
	k_platform_syscall_rt_sigqueueinfo = 178,
	k_platform_syscall_rt_sigsuspend = 179,
	k_platform_syscall_pread64 = 180,
	k_platform_syscall_pwrite64 = 181,
	k_platform_syscall_chown = 182,
	k_platform_syscall_getcwd = 183,
	k_platform_syscall_capget = 184,
	k_platform_syscall_capset = 185,
	k_platform_syscall_sigaltstack = 186,
	k_platform_syscall_sendfile = 187,
	k_platform_syscall_getpmsg = 188,
	k_platform_syscall_putpmsg = 189,
	k_platform_syscall_vfork = 190,
	k_platform_syscall_ugetrlimit = 191,
	k_platform_syscall_mmap2 = 192,
	k_platform_syscall_truncate64 = 193,
	k_platform_syscall_ftruncate64 = 194,
	k_platform_syscall_stat64 = 195,
	k_platform_syscall_lstat64 = 196,
	k_platform_syscall_fstat64 = 197,
	k_platform_syscall_lchown32 = 198,
	k_platform_syscall_getuid32 = 199,
	k_platform_syscall_getgid32 = 200,
	k_platform_syscall_geteuid32 = 201,
	k_platform_syscall_getegid32 = 202,
	k_platform_syscall_setreuid32 = 203,
	k_platform_syscall_setregid32 = 204,
	k_platform_syscall_getgroups32 = 205,
	k_platform_syscall_setgroups32 = 206,
	k_platform_syscall_fchown32 = 207,
	k_platform_syscall_setresuid32 = 208,
	k_platform_syscall_getresuid32 = 209,
	k_platform_syscall_setresgid32 = 210,
	k_platform_syscall_getresgid32 = 211,
	k_platform_syscall_chown32 = 212,
	k_platform_syscall_setuid32 = 213,
	k_platform_syscall_setgid32 = 214,
	k_platform_syscall_setfsuid32 = 215,
	k_platform_syscall_setfsgid32 = 216,
	k_platform_syscall_pivot_root = 217,
	k_platform_syscall_mincore = 218,
	k_platform_syscall_madvise = 219,
	k_platform_syscall_getdents64 = 220,
	k_platform_syscall_fcntl64 = 221,
	k_platform_syscall_gettid = 224,
	k_platform_syscall_readahead = 225,
	k_platform_syscall_setxattr = 226,
	k_platform_syscall_lsetxattr = 227,
	k_platform_syscall_fsetxattr = 228,
	k_platform_syscall_getxattr = 229,
	k_platform_syscall_lgetxattr = 230,
	k_platform_syscall_fgetxattr = 231,
	k_platform_syscall_listxattr = 232,
	k_platform_syscall_llistxattr = 233,
	k_platform_syscall_flistxattr = 234,
	k_platform_syscall_removexattr = 235,
	k_platform_syscall_lremovexattr = 236,
	k_platform_syscall_fremovexattr = 237,
	k_platform_syscall_tkill = 238,
	k_platform_syscall_sendfile64 = 239,
	k_platform_syscall_futex = 240,
	k_platform_syscall_sched_setaffinity = 241,
	k_platform_syscall_sched_getaffinity = 242,
	k_platform_syscall_set_thread_area = 243,
	k_platform_syscall_get_thread_area = 244,
	k_platform_syscall_io_setup = 245,
	k_platform_syscall_io_destroy = 246,
	k_platform_syscall_io_getevents = 247,
	k_platform_syscall_io_submit = 248,
	k_platform_syscall_io_cancel = 249,
	k_platform_syscall_fadvise64 = 250,
	k_platform_syscall_exit_group = 252,
	k_platform_syscall_lookup_dcookie = 253,
	k_platform_syscall_epoll_create = 254,
	k_platform_syscall_epoll_ctl = 255,
	k_platform_syscall_epoll_wait = 256,
	k_platform_syscall_remap_file_pages = 257,
	k_platform_syscall_set_tid_address = 258,
	k_platform_syscall_timer_create = 259,
	k_platform_syscall_timer_settime = 260,
	k_platform_syscall_timer_gettime = 261,
	k_platform_syscall_timer_getoverrun = 262,
	k_platform_syscall_timer_delete = 263,
	k_platform_syscall_clock_settime = 264,
	k_platform_syscall_clock_gettime = 265,
	k_platform_syscall_clock_getres = 266,
	k_platform_syscall_clock_nanosleep = 267,
	k_platform_syscall_statfs64 = 268,
	k_platform_syscall_fstatfs64 = 269,
	k_platform_syscall_tgkill = 270,
	k_platform_syscall_utimes = 271,
	k_platform_syscall_fadvise64_64 = 272,
	k_platform_syscall_vserver = 273,
	k_platform_syscall_mbind = 274,
	k_platform_syscall_get_mempolicy = 275,
	k_platform_syscall_set_mempolicy = 276,
	k_platform_syscall_mq_open = 277,
	k_platform_syscall_mq_unlink = 278,
	k_platform_syscall_mq_timedsend = 279,
	k_platform_syscall_mq_timedreceive = 280,
	k_platform_syscall_mq_notify = 281,
	k_platform_syscall_mq_getsetattr = 282,
	k_platform_syscall_kexec_load = 283,
	k_platform_syscall_waitid = 284,
	k_platform_syscall_add_key = 286,
	k_platform_syscall_request_key = 287,
	k_platform_syscall_keyctl = 288,
	k_platform_syscall_ioprio_set = 289,
	k_platform_syscall_ioprio_get = 290,
	k_platform_syscall_inotify_init = 291,
	k_platform_syscall_inotify_add_watch = 292,
	k_platform_syscall_inotify_rm_watch = 293,
	k_platform_syscall_migrate_pages = 294,
	k_platform_syscall_openat = 295,
	k_platform_syscall_mkdirat = 296,
	k_platform_syscall_mknodat = 297,
	k_platform_syscall_fchownat = 298,
	k_platform_syscall_futimesat = 299,
	k_platform_syscall_fstatat64 = 300,
	k_platform_syscall_unlinkat = 301,
	k_platform_syscall_renameat = 302,
	k_platform_syscall_linkat = 303,
	k_platform_syscall_symlinkat = 304,
	k_platform_syscall_readlinkat = 305,
	k_platform_syscall_fchmodat = 306,
	k_platform_syscall_faccessat = 307,
	k_platform_syscall_pselect6 = 308,
	k_platform_syscall_ppoll = 309,
	k_platform_syscall_unshare = 310,
	k_platform_syscall_set_robust_list = 311,
	k_platform_syscall_get_robust_list = 312,
	k_platform_syscall_splice = 313,
	k_platform_syscall_sync_file_range = 314,
	k_platform_syscall_tee = 315,
	k_platform_syscall_vmsplice = 316,
	k_platform_syscall_move_pages = 317,
	k_platform_syscall_getcpu = 318,
	k_platform_syscall_epoll_pwait = 319,
	k_platform_syscall_utimensat = 320,
	k_platform_syscall_signalfd = 321,
	k_platform_syscall_timerfd_create = 322,
	k_platform_syscall_eventfd = 323,
	k_platform_syscall_fallocate = 324,
	k_platform_syscall_timerfd_settime = 325,
	k_platform_syscall_timerfd_gettime = 326,
	k_platform_syscall_signalfd4 = 327,
	k_platform_syscall_eventfd2 = 328,
	k_platform_syscall_epoll_create1 = 329,
	k_platform_syscall_dup3 = 330,
	k_platform_syscall_pipe2 = 331,
	k_platform_syscall_inotify_init1 = 332,
	k_platform_syscall_preadv = 333,
	k_platform_syscall_pwritev = 334,
	k_platform_syscall_rt_tgsigqueueinfo = 335,
	k_platform_syscall_perf_event_open = 336,
	k_platform_syscall_recvmmsg = 337,
	k_platform_syscall_fanotify_init = 338,
	k_platform_syscall_fanotify_mark = 339,
	k_platform_syscall_prlimit64 = 340,
	k_platform_syscall_name_to_handle_at = 341,
	k_platform_syscall_open_by_handle_at = 342,
	k_platform_syscall_clock_adjtime = 343,
	k_platform_syscall_syncfs = 344,
	k_platform_syscall_sendmmsg = 345,
	k_platform_syscall_setns = 346,
	k_platform_syscall_process_vm_readv = 347,
	k_platform_syscall_process_vm_writev = 348,
	k_platform_syscall_kcmp = 349,
	k_platform_syscall_finit_module = 350,
	k_platform_syscall_sched_setattr = 351,
	k_platform_syscall_sched_getattr = 352,
	k_platform_syscall_renameat2 = 353,
	k_platform_syscall_seccomp = 354,
	k_platform_syscall_getrandom = 355,
	k_platform_syscall_memfd_create = 356,
	k_platform_syscall_bpf = 357,
	k_platform_syscall_execveat = 358,
	k_platform_syscall_socket = 359,
	k_platform_syscall_socketpair = 360,
	k_platform_syscall_bind = 361,
	k_platform_syscall_connect = 362,
	k_platform_syscall_listen = 363,
	k_platform_syscall_accept4 = 364,
	k_platform_syscall_getsockopt = 365,
	k_platform_syscall_setsockopt = 366,
	k_platform_syscall_getsockname = 367,
	k_platform_syscall_getpeername = 368,
	k_platform_syscall_sendto = 369,
	k_platform_syscall_sendmsg = 370,
	k_platform_syscall_recvfrom = 371,
	k_platform_syscall_recvmsg = 372,
	k_platform_syscall_shutdown = 373,
	k_platform_syscall_userfaultfd = 374,
	k_platform_syscall_membarrier = 375,
	k_platform_syscall_mlock2 = 376,
	k_platform_syscall_copy_file_range = 377,
	k_platform_syscall_preadv2 = 378,
	k_platform_syscall_pwritev2 = 379,
	k_platform_syscall_pkey_mprotect = 380,
	k_platform_syscall_pkey_alloc = 381,
	k_platform_syscall_pkey_free = 382,
	k_platform_syscall_statx = 383,
	k_platform_syscall_arch_prctl = 384,
	k_platform_syscall_io_pgetevents = 385,
	k_platform_syscall_rseq = 386,
	k_platform_syscall_semget = 393,
	k_platform_syscall_semctl = 394,
	k_platform_syscall_shmget = 395,
	k_platform_syscall_shmctl = 396,
	k_platform_syscall_shmat = 397,
	k_platform_syscall_shmdt = 398,
	k_platform_syscall_msgget = 399,
	k_platform_syscall_msgsnd = 400,
	k_platform_syscall_msgrcv = 401,
	k_platform_syscall_msgctl = 402,
	k_platform_syscall_clock_gettime64 = 403,
	k_platform_syscall_clock_settime64 = 404,
	k_platform_syscall_clock_adjtime64 = 405,
	k_platform_syscall_clock_getres_time64 = 406,
	k_platform_syscall_clock_nanosleep_time64 = 407,
	k_platform_syscall_timer_gettime64 = 408,
	k_platform_syscall_timer_settime64 = 409,
	k_platform_syscall_timerfd_gettime64 = 410,
	k_platform_syscall_timerfd_settime64 = 411,
	k_platform_syscall_utimensat_time64 = 412,
	k_platform_syscall_pselect6_time64 = 413,
	k_platform_syscall_ppoll_time64 = 414,
	k_platform_syscall_io_pgetevents_time64 = 416,
	k_platform_syscall_recvmmsg_time64 = 417,
	k_platform_syscall_mq_timedsend_time64 = 418,
	k_platform_syscall_mq_timedreceive_time64 = 419,
	k_platform_syscall_semtimedop_time64 = 420,
	k_platform_syscall_rt_sigtimedwait_time64 = 421,
	k_platform_syscall_futex_time64 = 422,
	k_platform_syscall_sched_rr_get_interval_time64 = 423,
	k_platform_syscall_pidfd_send_signal = 424,
	k_platform_syscall_io_uring_setup = 425,
	k_platform_syscall_io_uring_enter = 426,
	k_platform_syscall_io_uring_register = 427,
	k_platform_syscall_open_tree = 428,
	k_platform_syscall_move_mount = 429,
	k_platform_syscall_fsopen = 430,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_fsmount = 432,
	k_platform_syscall_fspick = 433,

};

#endif

<
<
<
<
<
<




|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305






































































































































#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {
	k_platform_syscall_fgetxattr = 231,
	k_platform_syscall_ioctl = 54,
	k_platform_syscall_getppid = 64,
	k_platform_syscall_getpgid = 132,
	k_platform_syscall_ipc = 117,
	k_platform_syscall_setregid32 = 204,
	k_platform_syscall_semctl = 394,
	k_platform_syscall_getpeername = 368,
	k_platform_syscall_symlink = 83,
	k_platform_syscall_clone = 120,
	k_platform_syscall_read = 3,
	k_platform_syscall_pipe = 42,
	k_platform_syscall_pause = 29,
	k_platform_syscall_semget = 393,
	k_platform_syscall_sigsuspend = 72,
	k_platform_syscall_setrlimit = 75,
	k_platform_syscall_mpx = 56,
	k_platform_syscall_getdents64 = 220,
	k_platform_syscall_seccomp = 354,
	k_platform_syscall_sync = 36,
	k_platform_syscall_listen = 363,
	k_platform_syscall_setgid = 46,
	k_platform_syscall_nfsservctl = 169,
	k_platform_syscall_sysinfo = 116,
	k_platform_syscall_ugetrlimit = 191,
	k_platform_syscall_fstat64 = 197,
	k_platform_syscall_mremap = 163,
	k_platform_syscall_mknodat = 297,
	k_platform_syscall_pipe2 = 331,
	k_platform_syscall_lock = 53,
	k_platform_syscall_personality = 136,
	k_platform_syscall_llistxattr = 233,
	k_platform_syscall_setns = 346,
	k_platform_syscall_readahead = 225,
	k_platform_syscall_getgid32 = 200,
	k_platform_syscall_connect = 362,
	k_platform_syscall_setdomainname = 121,
	k_platform_syscall_bdflush = 134,
	k_platform_syscall_msgsnd = 400,
	k_platform_syscall_fchown32 = 207,
	k_platform_syscall_statfs64 = 268,
	k_platform_syscall_fallocate = 324,
	k_platform_syscall_fsetxattr = 228,
	k_platform_syscall_sgetmask = 68,
	k_platform_syscall_sendfile = 187,
	k_platform_syscall_pselect6 = 308,
	k_platform_syscall_vserver = 273,
	k_platform_syscall_flistxattr = 234,
	k_platform_syscall_lchown = 16,
	k_platform_syscall_exit = 1,
	k_platform_syscall_setuid = 23,
	k_platform_syscall_eventfd = 323,
	k_platform_syscall_getsockname = 367,
	k_platform_syscall_umount = 22,
	k_platform_syscall_sendto = 369,
	k_platform_syscall_unlinkat = 301,
	k_platform_syscall_ppoll = 309,
	k_platform_syscall_setfsuid32 = 215,
	k_platform_syscall_keyctl = 288,
	k_platform_syscall_preadv2 = 378,
	k_platform_syscall_ftruncate = 93,
	k_platform_syscall_getdents = 141,
	k_platform_syscall_lremovexattr = 236,
	k_platform_syscall_writev = 146,
	k_platform_syscall_chroot = 61,
	k_platform_syscall_getitimer = 105,
	k_platform_syscall_utimes = 271,
	k_platform_syscall_adjtimex = 124,
	k_platform_syscall_msgrcv = 401,
	k_platform_syscall_setgid32 = 214,
	k_platform_syscall_sysfs = 135,
	k_platform_syscall_stat = 106,
	k_platform_syscall_break = 17,
	k_platform_syscall_stime = 25,
	k_platform_syscall_iopl = 110,
	k_platform_syscall_renameat2 = 353,
	k_platform_syscall_vm86 = 166,
	k_platform_syscall_renameat = 302,
	k_platform_syscall_fsopen = 430,
	k_platform_syscall_getgroups = 80,
	k_platform_syscall_settimeofday = 79,
	k_platform_syscall_getcwd = 183,
	k_platform_syscall_capset = 185,
	k_platform_syscall_getsid = 147,
	k_platform_syscall_vfork = 190,
	k_platform_syscall_truncate64 = 193,
	k_platform_syscall_stty = 31,
	k_platform_syscall_lchown32 = 198,
	k_platform_syscall_readlink = 85,
	k_platform_syscall_mbind = 274,
	k_platform_syscall_tgkill = 270,
	k_platform_syscall_futimesat = 299,
	k_platform_syscall_poll = 168,
	k_platform_syscall_execve = 11,
	k_platform_syscall_listxattr = 232,
	k_platform_syscall_putpmsg = 189,
	k_platform_syscall_rseq = 386,
	k_platform_syscall_geteuid32 = 201,
	k_platform_syscall_statx = 383,
	k_platform_syscall_ulimit = 58,
	k_platform_syscall_readlinkat = 305,
	k_platform_syscall_vm86old = 113,
	k_platform_syscall_creat = 8,
	k_platform_syscall_fremovexattr = 237,
	k_platform_syscall_ioperm = 101,
	k_platform_syscall_waitpid = 7,
	k_platform_syscall_recvmmsg = 337,
	k_platform_syscall_uselib = 86,
	k_platform_syscall_shmctl = 396,
	k_platform_syscall_recvfrom = 371,
	k_platform_syscall_mount = 21,
	k_platform_syscall_getrlimit = 76,
	k_platform_syscall_fadvise64 = 250,
	k_platform_syscall_fchown = 95,
	k_platform_syscall_munmap = 91,
	k_platform_syscall_mprotect = 125,
	k_platform_syscall_mincore = 218,
	k_platform_syscall_olduname = 109,
	k_platform_syscall_getegid = 50,
	k_platform_syscall_ptrace = 26,
	k_platform_syscall_chown = 182,
	k_platform_syscall_nice = 34,
	k_platform_syscall_accept4 = 364,
	k_platform_syscall_socketpair = 360,
	k_platform_syscall_wait4 = 114,
	k_platform_syscall_shmget = 395,
	k_platform_syscall_socket = 359,
	k_platform_syscall_mmap = 90,
	k_platform_syscall_shmat = 397,
	k_platform_syscall_sigaltstack = 186,
	k_platform_syscall_uname = 122,
	k_platform_syscall_pwritev2 = 379,
	k_platform_syscall_shutdown = 373,
	k_platform_syscall_fstatat64 = 300,
	k_platform_syscall_pread64 = 180,
	k_platform_syscall_times = 43,
	k_platform_syscall_sigreturn = 119,
	k_platform_syscall_getrusage = 77,
	k_platform_syscall_preadv = 333,
	k_platform_syscall_utime = 30,
	k_platform_syscall_umount2 = 52,
	k_platform_syscall_fchmodat = 306,
	k_platform_syscall_lseek = 19,
	k_platform_syscall_setresuid32 = 208,
	k_platform_syscall_setfsgid = 139,
	k_platform_syscall_geteuid = 49,
	k_platform_syscall_setfsgid32 = 216,
	k_platform_syscall_bpf = 357,
	k_platform_syscall_mkdir = 39,
	k_platform_syscall_prof = 44,
	k_platform_syscall_socketcall = 102,
	k_platform_syscall_getrandom = 355,
	k_platform_syscall_gettid = 224,
	k_platform_syscall_prctl = 172,
	k_platform_syscall_oldlstat = 84,
	k_platform_syscall_fspick = 433,
	k_platform_syscall_getxattr = 229,
	k_platform_syscall_setfsuid = 138,
	k_platform_syscall_setpgid = 57,
	k_platform_syscall_fcntl = 55,
	k_platform_syscall_mlockall = 152,
	k_platform_syscall_fstatfs64 = 269,
	k_platform_syscall_setresuid = 164,
	k_platform_syscall_fcntl64 = 221,
	k_platform_syscall_link = 9,
	k_platform_syscall_msync = 144,
	k_platform_syscall_swapoff = 115,
	k_platform_syscall_brk = 45,
	k_platform_syscall_ftime = 35,
	k_platform_syscall_fchdir = 133,
	k_platform_syscall_mlock = 150,
	k_platform_syscall_sethostname = 74,
	k_platform_syscall_chdir = 12,
	k_platform_syscall_setresgid = 170,
	k_platform_syscall_getresuid32 = 209,
	k_platform_syscall_kill = 37,
	k_platform_syscall_sigaction = 67,
	k_platform_syscall_getpid = 20,
	k_platform_syscall_fchmod = 94,
	k_platform_syscall_getpmsg = 188,
	k_platform_syscall_getegid32 = 202,
	k_platform_syscall_readv = 145,
	k_platform_syscall_capget = 184,
	k_platform_syscall_tee = 315,
	k_platform_syscall_getgid = 47,
	k_platform_syscall_dup = 41,
	k_platform_syscall_chmod = 15,
	k_platform_syscall_nanosleep = 162,
	k_platform_syscall_linkat = 303,
	k_platform_syscall_write = 4,
	k_platform_syscall_select = 82,
	k_platform_syscall_vhangup = 111,
	k_platform_syscall_chown32 = 212,
	k_platform_syscall_ssetmask = 69,
	k_platform_syscall_bind = 361,
	k_platform_syscall_setregid = 71,
	k_platform_syscall_signal = 48,
	k_platform_syscall_setxattr = 226,
	k_platform_syscall_idle = 112,
	k_platform_syscall_reboot = 88,
	k_platform_syscall_signalfd4 = 327,
	k_platform_syscall_close = 6,
	k_platform_syscall_fsmount = 432,
	k_platform_syscall_pwrite64 = 181,
	k_platform_syscall_readdir = 89,
	k_platform_syscall_oldstat = 18,
	k_platform_syscall_mlock2 = 376,
	k_platform_syscall_setsockopt = 366,
	k_platform_syscall_madvise = 219,
	k_platform_syscall_setgroups32 = 206,
	k_platform_syscall_membarrier = 375,
	k_platform_syscall_setsid = 66,
	k_platform_syscall_oldolduname = 59,
	k_platform_syscall_setreuid32 = 203,
	k_platform_syscall_ftruncate64 = 194,
	k_platform_syscall_mkdirat = 296,
	k_platform_syscall_faccessat = 307,
	k_platform_syscall_getcpu = 318,
	k_platform_syscall_lstat = 107,
	k_platform_syscall_getgroups32 = 205,
	k_platform_syscall_truncate = 92,
	k_platform_syscall_fsync = 118,
	k_platform_syscall_openat = 295,
	k_platform_syscall_gettimeofday = 78,
	k_platform_syscall_umask = 60,
	k_platform_syscall_getuid = 24,
	k_platform_syscall_fork = 2,
	k_platform_syscall_flock = 143,
	k_platform_syscall_setreuid = 70,
	k_platform_syscall_munlock = 151,
	k_platform_syscall_mknod = 14,
	k_platform_syscall_ustat = 62,
	k_platform_syscall_dup2 = 63,
	k_platform_syscall_signalfd = 321,
	k_platform_syscall_sigprocmask = 126,
	k_platform_syscall_quotactl = 131,
	k_platform_syscall_setresgid32 = 210,
	k_platform_syscall_splice = 313,
	k_platform_syscall_dup3 = 330,
	k_platform_syscall_statfs = 99,
	k_platform_syscall_setpriority = 97,
	k_platform_syscall_getsockopt = 365,
	k_platform_syscall_removexattr = 235,
	k_platform_syscall_getresgid = 171,
	k_platform_syscall_getpriority = 96,
	k_platform_syscall_symlinkat = 304,
	k_platform_syscall_vmsplice = 316,
	k_platform_syscall_getuid32 = 199,
	k_platform_syscall_fdatasync = 148,
	k_platform_syscall_msgctl = 402,
	k_platform_syscall_unshare = 310,
	k_platform_syscall_recvmsg = 372,
	k_platform_syscall_mmap2 = 192,
	k_platform_syscall_munlockall = 153,
	k_platform_syscall_rmdir = 40,
	k_platform_syscall_profil = 98,
	k_platform_syscall_futex = 240,
	k_platform_syscall_lgetxattr = 230,
	k_platform_syscall_lstat64 = 196,
	k_platform_syscall_msgget = 399,
	k_platform_syscall_pwritev = 334,
	k_platform_syscall_getpgrp = 65,
	k_platform_syscall_oldfstat = 28,
	k_platform_syscall_kcmp = 349,
	k_platform_syscall_sendmmsg = 345,
	k_platform_syscall_eventfd2 = 328,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_access = 33,
	k_platform_syscall_getresuid = 165,
	k_platform_syscall_fstatfs = 100,
	k_platform_syscall_sendfile64 = 239,
	k_platform_syscall_acct = 51,
	k_platform_syscall_fchownat = 298,
	k_platform_syscall_fstat = 108,
	k_platform_syscall_prlimit64 = 340,
	k_platform_syscall_unlink = 10,
	k_platform_syscall_utimensat = 320,
	k_platform_syscall_setitimer = 104,
	k_platform_syscall_gtty = 32,
	k_platform_syscall_getresgid32 = 211,
	k_platform_syscall_execveat = 358,
	k_platform_syscall_time = 13,
	k_platform_syscall_rename = 38,
	k_platform_syscall_alarm = 27,
	k_platform_syscall_setuid32 = 213,
	k_platform_syscall_swapon = 87,
	k_platform_syscall_userfaultfd = 374,
	k_platform_syscall_stat64 = 195,
	k_platform_syscall_open = 5,
	k_platform_syscall_setgroups = 81,
	k_platform_syscall_sendmsg = 370,
	k_platform_syscall_lsetxattr = 227,
	k_platform_syscall_syncfs = 344,
	k_platform_syscall_syslog = 103,
	k_platform_syscall_sigpending = 73,
	k_platform_syscall_tkill = 238,
	k_platform_syscall_waitid = 284,
	k_platform_syscall_shmdt = 398,
};

#endif
































































































































Modified arch/x86.lin.64/error_table.h from [88f88edd37] to [991d95c3d6].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
#ifndef KIplatform_error
#define KIplatform_error

enum k_platform_error {

	k_platform_error_EPERM = 1,
	k_platform_error_ENOENT = 2,
	k_platform_error_ESRCH = 3,
	k_platform_error_EINTR = 4,
	k_platform_error_EIO = 5,
	k_platform_error_ENXIO = 6,
	k_platform_error_E2BIG = 7,
	k_platform_error_ENOEXEC = 8,
	k_platform_error_EBADF = 9,
	k_platform_error_ECHILD = 10,
	k_platform_error_EAGAIN = 11,
	k_platform_error_EWOULDBLOCK = 11,
	k_platform_error_ENOMEM = 12,
	k_platform_error_EACCES = 13,
	k_platform_error_EFAULT = 14,
	k_platform_error_ENOTBLK = 15,
	k_platform_error_EBUSY = 16,
	k_platform_error_EEXIST = 17,
	k_platform_error_EXDEV = 18,
	k_platform_error_ENODEV = 19,
	k_platform_error_ENOTDIR = 20,
	k_platform_error_EISDIR = 21,
	k_platform_error_EINVAL = 22,
	k_platform_error_ENFILE = 23,
	k_platform_error_EMFILE = 24,
	k_platform_error_ENOTTY = 25,
	k_platform_error_ETXTBSY = 26,
	k_platform_error_EFBIG = 27,
	k_platform_error_ENOSPC = 28,
	k_platform_error_ESPIPE = 29,
	k_platform_error_EROFS = 30,
	k_platform_error_EMLINK = 31,
	k_platform_error_EPIPE = 32,
	k_platform_error_EDOM = 33,
	k_platform_error_ERANGE = 34,
	k_platform_error_EDEADLK = 35,
	k_platform_error_EDEADLOCK = 35,
	k_platform_error_ENAMETOOLONG = 36,
	k_platform_error_ENOLCK = 37,
	k_platform_error_ENOSYS = 38,
	k_platform_error_ENOTEMPTY = 39,
	k_platform_error_ELOOP = 40,
	k_platform_error_ENOMSG = 42,
	k_platform_error_EIDRM = 43,
	k_platform_error_ECHRNG = 44,
	k_platform_error_EL2NSYNC = 45,
	k_platform_error_EL3HLT = 46,
	k_platform_error_EL3RST = 47,
	k_platform_error_ELNRNG = 48,
	k_platform_error_EUNATCH = 49,
	k_platform_error_ENOCSI = 50,
	k_platform_error_EL2HLT = 51,
	k_platform_error_EBADE = 52,
	k_platform_error_EBADR = 53,
	k_platform_error_EXFULL = 54,
	k_platform_error_ENOANO = 55,
	k_platform_error_EBADRQC = 56,
	k_platform_error_EBADSLT = 57,
	k_platform_error_EBFONT = 59,
	k_platform_error_ENOSTR = 60,
	k_platform_error_ENODATA = 61,
	k_platform_error_ETIME = 62,
	k_platform_error_ENOSR = 63,
	k_platform_error_ENONET = 64,
	k_platform_error_ENOPKG = 65,
	k_platform_error_EREMOTE = 66,
	k_platform_error_ENOLINK = 67,
	k_platform_error_EADV = 68,
	k_platform_error_ESRMNT = 69,
	k_platform_error_ECOMM = 70,
	k_platform_error_EPROTO = 71,
	k_platform_error_EMULTIHOP = 72,
	k_platform_error_EDOTDOT = 73,
	k_platform_error_EBADMSG = 74,
	k_platform_error_EOVERFLOW = 75,
	k_platform_error_ENOTUNIQ = 76,
	k_platform_error_EBADFD = 77,
	k_platform_error_EREMCHG = 78,
	k_platform_error_ELIBACC = 79,
	k_platform_error_ELIBBAD = 80,
	k_platform_error_ELIBSCN = 81,
	k_platform_error_ELIBMAX = 82,
	k_platform_error_ELIBEXEC = 83,
	k_platform_error_EILSEQ = 84,
	k_platform_error_ERESTART = 85,
	k_platform_error_ESTRPIPE = 86,
	k_platform_error_EUSERS = 87,
	k_platform_error_ENOTSOCK = 88,
	k_platform_error_EDESTADDRREQ = 89,
	k_platform_error_EMSGSIZE = 90,
	k_platform_error_EPROTOTYPE = 91,
	k_platform_error_ENOPROTOOPT = 92,
	k_platform_error_EPROTONOSUPPORT = 93,
	k_platform_error_ESOCKTNOSUPPORT = 94,
	k_platform_error_EOPNOTSUPP = 95,
	k_platform_error_EPFNOSUPPORT = 96,
	k_platform_error_EAFNOSUPPORT = 97,
	k_platform_error_EADDRINUSE = 98,
	k_platform_error_EADDRNOTAVAIL = 99,
	k_platform_error_ENETDOWN = 100,
	k_platform_error_ENETUNREACH = 101,
	k_platform_error_ENETRESET = 102,
	k_platform_error_ECONNABORTED = 103,
	k_platform_error_ECONNRESET = 104,
	k_platform_error_ENOBUFS = 105,
	k_platform_error_EISCONN = 106,
	k_platform_error_ENOTCONN = 107,
	k_platform_error_ESHUTDOWN = 108,
	k_platform_error_ETOOMANYREFS = 109,
	k_platform_error_ETIMEDOUT = 110,
	k_platform_error_ECONNREFUSED = 111,
	k_platform_error_EHOSTDOWN = 112,
	k_platform_error_EHOSTUNREACH = 113,
	k_platform_error_EALREADY = 114,
	k_platform_error_EINPROGRESS = 115,
	k_platform_error_ESTALE = 116,
	k_platform_error_EUCLEAN = 117,
	k_platform_error_ENOTNAM = 118,
	k_platform_error_ENAVAIL = 119,
	k_platform_error_EISNAM = 120,
	k_platform_error_EREMOTEIO = 121,
	k_platform_error_EDQUOT = 122,
	k_platform_error_ENOMEDIUM = 123,
	k_platform_error_EMEDIUMTYPE = 124,
	k_platform_error_ECANCELED = 125,
	k_platform_error_ENOKEY = 126,
	k_platform_error_EKEYEXPIRED = 127,
	k_platform_error_EKEYREVOKED = 128,
	k_platform_error_EKEYREJECTED = 129,
	k_platform_error_EOWNERDEAD = 130,
	k_platform_error_ENOTRECOVERABLE = 131,
	k_platform_error_ERFKILL = 132,
	k_platform_error_EHWPOISON = 133,

};

#endif





<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<



<
1
2
3
4

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

138
139
140

#ifndef KIplatform_error
#define KIplatform_error

enum k_platform_error {

	k_platform_error_EHWPOISON = 133,
	k_platform_error_ERFKILL = 132,
	k_platform_error_ENOTRECOVERABLE = 131,
	k_platform_error_EOWNERDEAD = 130,
	k_platform_error_EKEYREJECTED = 129,
	k_platform_error_EKEYREVOKED = 128,
	k_platform_error_EKEYEXPIRED = 127,
	k_platform_error_ENOKEY = 126,
	k_platform_error_ECANCELED = 125,
	k_platform_error_EMEDIUMTYPE = 124,
	k_platform_error_ENOMEDIUM = 123,
	k_platform_error_EDQUOT = 122,
	k_platform_error_EREMOTEIO = 121,
	k_platform_error_EISNAM = 120,
	k_platform_error_ENAVAIL = 119,
	k_platform_error_ENOTNAM = 118,
	k_platform_error_EUCLEAN = 117,
	k_platform_error_ESTALE = 116,
	k_platform_error_EINPROGRESS = 115,
	k_platform_error_EALREADY = 114,
	k_platform_error_EHOSTUNREACH = 113,
	k_platform_error_EHOSTDOWN = 112,
	k_platform_error_ECONNREFUSED = 111,
	k_platform_error_ETIMEDOUT = 110,
	k_platform_error_ETOOMANYREFS = 109,
	k_platform_error_ESHUTDOWN = 108,
	k_platform_error_ENOTCONN = 107,
	k_platform_error_EISCONN = 106,
	k_platform_error_ENOBUFS = 105,
	k_platform_error_ECONNRESET = 104,
	k_platform_error_ECONNABORTED = 103,
	k_platform_error_ENETRESET = 102,
	k_platform_error_ENETUNREACH = 101,
	k_platform_error_ENETDOWN = 100,
	k_platform_error_EADDRNOTAVAIL = 99,
	k_platform_error_EADDRINUSE = 98,
	k_platform_error_EAFNOSUPPORT = 97,
	k_platform_error_EPFNOSUPPORT = 96,
	k_platform_error_EOPNOTSUPP = 95,
	k_platform_error_ESOCKTNOSUPPORT = 94,
	k_platform_error_EPROTONOSUPPORT = 93,
	k_platform_error_ENOPROTOOPT = 92,
	k_platform_error_EPROTOTYPE = 91,
	k_platform_error_EMSGSIZE = 90,
	k_platform_error_EDESTADDRREQ = 89,
	k_platform_error_ENOTSOCK = 88,
	k_platform_error_EUSERS = 87,
	k_platform_error_ESTRPIPE = 86,
	k_platform_error_ERESTART = 85,
	k_platform_error_EILSEQ = 84,
	k_platform_error_ELIBEXEC = 83,
	k_platform_error_ELIBMAX = 82,
	k_platform_error_ELIBSCN = 81,
	k_platform_error_ELIBBAD = 80,
	k_platform_error_ELIBACC = 79,
	k_platform_error_EREMCHG = 78,
	k_platform_error_EBADFD = 77,
	k_platform_error_ENOTUNIQ = 76,
	k_platform_error_EOVERFLOW = 75,
	k_platform_error_EBADMSG = 74,
	k_platform_error_EDOTDOT = 73,
	k_platform_error_EMULTIHOP = 72,
	k_platform_error_EPROTO = 71,
	k_platform_error_ECOMM = 70,
	k_platform_error_ESRMNT = 69,
	k_platform_error_EADV = 68,
	k_platform_error_ENOLINK = 67,
	k_platform_error_EREMOTE = 66,
	k_platform_error_ENOPKG = 65,
	k_platform_error_ENONET = 64,
	k_platform_error_ENOSR = 63,
	k_platform_error_ETIME = 62,
	k_platform_error_ENODATA = 61,
	k_platform_error_ENOSTR = 60,
	k_platform_error_EBFONT = 59,
	k_platform_error_EBADSLT = 57,
	k_platform_error_EBADRQC = 56,
	k_platform_error_ENOANO = 55,
	k_platform_error_EXFULL = 54,
	k_platform_error_EBADR = 53,
	k_platform_error_EBADE = 52,
	k_platform_error_EL2HLT = 51,
	k_platform_error_ENOCSI = 50,
	k_platform_error_EUNATCH = 49,
	k_platform_error_ELNRNG = 48,
	k_platform_error_EL3RST = 47,
	k_platform_error_EL3HLT = 46,
	k_platform_error_EL2NSYNC = 45,
	k_platform_error_ECHRNG = 44,
	k_platform_error_EIDRM = 43,
	k_platform_error_ENOMSG = 42,
	k_platform_error_ELOOP = 40,
	k_platform_error_ENOTEMPTY = 39,
	k_platform_error_ENOSYS = 38,
	k_platform_error_ENOLCK = 37,
	k_platform_error_ENAMETOOLONG = 36,
	k_platform_error_EDEADLK = 35,
	k_platform_error_ERANGE = 34,
	k_platform_error_EDOM = 33,
	k_platform_error_EPIPE = 32,
	k_platform_error_EMLINK = 31,
	k_platform_error_EROFS = 30,
	k_platform_error_ESPIPE = 29,
	k_platform_error_ENOSPC = 28,
	k_platform_error_EFBIG = 27,
	k_platform_error_ETXTBSY = 26,
	k_platform_error_ENOTTY = 25,
	k_platform_error_EMFILE = 24,
	k_platform_error_ENFILE = 23,
	k_platform_error_EINVAL = 22,
	k_platform_error_EISDIR = 21,
	k_platform_error_ENOTDIR = 20,
	k_platform_error_ENODEV = 19,
	k_platform_error_EXDEV = 18,
	k_platform_error_EEXIST = 17,
	k_platform_error_EBUSY = 16,
	k_platform_error_ENOTBLK = 15,
	k_platform_error_EFAULT = 14,
	k_platform_error_EACCES = 13,
	k_platform_error_ENOMEM = 12,
	k_platform_error_EAGAIN = 11,
	k_platform_error_ECHILD = 10,
	k_platform_error_EBADF = 9,
	k_platform_error_ENOEXEC = 8,
	k_platform_error_E2BIG = 7,
	k_platform_error_ENXIO = 6,
	k_platform_error_EIO = 5,
	k_platform_error_EINTR = 4,
	k_platform_error_ESRCH = 3,
	k_platform_error_ENOENT = 2,
	k_platform_error_EPERM = 1,
	k_platform_error_EWOULDBLOCK = 11,
	k_platform_error_EDEADLOCK = 35,

};

#endif

Modified arch/x86.lin.64/system_calls.h from [f2700fc28d] to [f473cb9533].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
/* this file was generated from the Linux kernel source
 * file /arch/x86/entry/syscalls/syscall_64.tbl. since
 * the x86-64 syscalls are a special case and are unlikely
 * to change in the future, the code used to generate this
 * header was not preserved. */

#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {

	k_platform_syscall_read = 0,
	k_platform_syscall_write = 1,
	k_platform_syscall_open = 2,
	k_platform_syscall_close = 3,
	k_platform_syscall_stat = 4,
	k_platform_syscall_fstat = 5,
	k_platform_syscall_lstat = 6,
	k_platform_syscall_poll = 7,
	k_platform_syscall_lseek = 8,
	k_platform_syscall_mmap = 9,
	k_platform_syscall_mprotect = 10,
	k_platform_syscall_munmap = 11,
	k_platform_syscall_brk = 12,
	k_platform_syscall_rt_sigprocmask = 14,
	k_platform_syscall_pread64 = 17,
	k_platform_syscall_pwrite64 = 18,
	k_platform_syscall_access = 21,
	k_platform_syscall_pipe = 22,
	k_platform_syscall_select = 23,
	k_platform_syscall_sched_yield = 24,
	k_platform_syscall_mremap = 25,
	k_platform_syscall_msync = 26,
	k_platform_syscall_mincore = 27,
	k_platform_syscall_madvise = 28,
	k_platform_syscall_shmget = 29,
	k_platform_syscall_shmat = 30,
	k_platform_syscall_shmctl = 31,
	k_platform_syscall_dup = 32,
	k_platform_syscall_dup2 = 33,
	k_platform_syscall_pause = 34,
	k_platform_syscall_nanosleep = 35,
	k_platform_syscall_getitimer = 36,
	k_platform_syscall_alarm = 37,
	k_platform_syscall_setitimer = 38,
	k_platform_syscall_getpid = 39,
	k_platform_syscall_sendfile = 40,
	k_platform_syscall_socket = 41,
	k_platform_syscall_connect = 42,
	k_platform_syscall_accept = 43,
	k_platform_syscall_sendto = 44,
	k_platform_syscall_shutdown = 48,
	k_platform_syscall_bind = 49,
	k_platform_syscall_listen = 50,
	k_platform_syscall_getsockname = 51,
	k_platform_syscall_getpeername = 52,
	k_platform_syscall_socketpair = 53,
	k_platform_syscall_clone = 56,
	k_platform_syscall_fork = 57,
	k_platform_syscall_vfork = 58,
	k_platform_syscall_exit = 60,
	k_platform_syscall_wait4 = 61,
	k_platform_syscall_kill = 62,
	k_platform_syscall_uname = 63,
	k_platform_syscall_semget = 64,
	k_platform_syscall_semop = 65,
	k_platform_syscall_semctl = 66,
	k_platform_syscall_shmdt = 67,
	k_platform_syscall_msgget = 68,
	k_platform_syscall_msgsnd = 69,
	k_platform_syscall_msgrcv = 70,
	k_platform_syscall_msgctl = 71,
	k_platform_syscall_fcntl = 72,
	k_platform_syscall_flock = 73,
	k_platform_syscall_fsync = 74,
	k_platform_syscall_fdatasync = 75,
	k_platform_syscall_truncate = 76,
	k_platform_syscall_ftruncate = 77,
	k_platform_syscall_getdents = 78,
	k_platform_syscall_getcwd = 79,
	k_platform_syscall_chdir = 80,
	k_platform_syscall_fchdir = 81,
	k_platform_syscall_rename = 82,
	k_platform_syscall_mkdir = 83,
	k_platform_syscall_rmdir = 84,
	k_platform_syscall_creat = 85,
	k_platform_syscall_link = 86,
	k_platform_syscall_unlink = 87,
	k_platform_syscall_symlink = 88,
	k_platform_syscall_readlink = 89,
	k_platform_syscall_chmod = 90,
	k_platform_syscall_fchmod = 91,
	k_platform_syscall_chown = 92,
	k_platform_syscall_fchown = 93,
	k_platform_syscall_lchown = 94,
	k_platform_syscall_umask = 95,
	k_platform_syscall_gettimeofday = 96,
	k_platform_syscall_getrlimit = 97,
	k_platform_syscall_getrusage = 98,
	k_platform_syscall_sysinfo = 99,
	k_platform_syscall_times = 100,
	k_platform_syscall_getuid = 102,
	k_platform_syscall_syslog = 103,
	k_platform_syscall_getgid = 104,
	k_platform_syscall_setuid = 105,
	k_platform_syscall_setgid = 106,
	k_platform_syscall_geteuid = 107,
	k_platform_syscall_getegid = 108,
	k_platform_syscall_setpgid = 109,
	k_platform_syscall_getppid = 110,
	k_platform_syscall_getpgrp = 111,
	k_platform_syscall_setsid = 112,
	k_platform_syscall_setreuid = 113,
	k_platform_syscall_setregid = 114,
	k_platform_syscall_getgroups = 115,
	k_platform_syscall_setgroups = 116,
	k_platform_syscall_setresuid = 117,
	k_platform_syscall_getresuid = 118,
	k_platform_syscall_setresgid = 119,
	k_platform_syscall_getresgid = 120,
	k_platform_syscall_getpgid = 121,
	k_platform_syscall_setfsuid = 122,
	k_platform_syscall_setfsgid = 123,
	k_platform_syscall_getsid = 124,
	k_platform_syscall_capget = 125,
	k_platform_syscall_capset = 126,
	k_platform_syscall_rt_sigsuspend = 130,
	k_platform_syscall_utime = 132,
	k_platform_syscall_mknod = 133,
	k_platform_syscall_personality = 135,
	k_platform_syscall_ustat = 136,
	k_platform_syscall_statfs = 137,
	k_platform_syscall_fstatfs = 138,
	k_platform_syscall_sysfs = 139,
	k_platform_syscall_getpriority = 140,
	k_platform_syscall_setpriority = 141,
	k_platform_syscall_sched_setparam = 142,
	k_platform_syscall_sched_getparam = 143,
	k_platform_syscall_sched_setscheduler = 144,
	k_platform_syscall_sched_getscheduler = 145,
	k_platform_syscall_sched_get_priority_max = 146,
	k_platform_syscall_sched_get_priority_min = 147,
	k_platform_syscall_sched_rr_get_interval = 148,
	k_platform_syscall_mlock = 149,
	k_platform_syscall_munlock = 150,
	k_platform_syscall_mlockall = 151,
	k_platform_syscall_munlockall = 152,
	k_platform_syscall_vhangup = 153,
	k_platform_syscall_modify_ldt = 154,
	k_platform_syscall_pivot_root = 155,
	k_platform_syscall_prctl = 157,
	k_platform_syscall_arch_prctl = 158,
	k_platform_syscall_adjtimex = 159,
	k_platform_syscall_setrlimit = 160,
	k_platform_syscall_chroot = 161,
	k_platform_syscall_sync = 162,
	k_platform_syscall_acct = 163,
	k_platform_syscall_settimeofday = 164,
	k_platform_syscall_mount = 165,
	k_platform_syscall_umount2 = 166,
	k_platform_syscall_swapon = 167,
	k_platform_syscall_swapoff = 168,
	k_platform_syscall_reboot = 169,
	k_platform_syscall_sethostname = 170,
	k_platform_syscall_setdomainname = 171,
	k_platform_syscall_iopl = 172,
	k_platform_syscall_ioperm = 173,
	k_platform_syscall_init_module = 175,
	k_platform_syscall_delete_module = 176,
	k_platform_syscall_quotactl = 179,
	k_platform_syscall_getpmsg = 181,
	k_platform_syscall_putpmsg = 182,
	k_platform_syscall_afs_syscall = 183,
	k_platform_syscall_tuxcall = 184,
	k_platform_syscall_security = 185,
	k_platform_syscall_gettid = 186,
	k_platform_syscall_readahead = 187,
	k_platform_syscall_setxattr = 188,
	k_platform_syscall_lsetxattr = 189,
	k_platform_syscall_fsetxattr = 190,
	k_platform_syscall_getxattr = 191,
	k_platform_syscall_lgetxattr = 192,
	k_platform_syscall_fgetxattr = 193,
	k_platform_syscall_listxattr = 194,
	k_platform_syscall_llistxattr = 195,
	k_platform_syscall_flistxattr = 196,
	k_platform_syscall_removexattr = 197,
	k_platform_syscall_lremovexattr = 198,
	k_platform_syscall_fremovexattr = 199,
	k_platform_syscall_tkill = 200,
	k_platform_syscall_time = 201,
	k_platform_syscall_futex = 202,
	k_platform_syscall_sched_setaffinity = 203,
	k_platform_syscall_sched_getaffinity = 204,
	k_platform_syscall_io_destroy = 207,
	k_platform_syscall_io_getevents = 208,
	k_platform_syscall_io_cancel = 210,
	k_platform_syscall_lookup_dcookie = 212,
	k_platform_syscall_epoll_create = 213,
	k_platform_syscall_remap_file_pages = 216,
	k_platform_syscall_getdents64 = 217,
	k_platform_syscall_set_tid_address = 218,
	k_platform_syscall_restart_syscall = 219,
	k_platform_syscall_semtimedop = 220,
	k_platform_syscall_fadvise64 = 221,
	k_platform_syscall_timer_settime = 223,
	k_platform_syscall_timer_gettime = 224,
	k_platform_syscall_timer_getoverrun = 225,
	k_platform_syscall_timer_delete = 226,
	k_platform_syscall_clock_settime = 227,
	k_platform_syscall_clock_gettime = 228,
	k_platform_syscall_clock_getres = 229,
	k_platform_syscall_clock_nanosleep = 230,
	k_platform_syscall_exit_group = 231,
	k_platform_syscall_epoll_wait = 232,
	k_platform_syscall_epoll_ctl = 233,
	k_platform_syscall_tgkill = 234,
	k_platform_syscall_utimes = 235,
	k_platform_syscall_mbind = 237,
	k_platform_syscall_set_mempolicy = 238,
	k_platform_syscall_get_mempolicy = 239,
	k_platform_syscall_mq_open = 240,
	k_platform_syscall_mq_unlink = 241,
	k_platform_syscall_mq_timedsend = 242,
	k_platform_syscall_mq_timedreceive = 243,
	k_platform_syscall_mq_getsetattr = 245,
	k_platform_syscall_add_key = 248,
	k_platform_syscall_request_key = 249,
	k_platform_syscall_keyctl = 250,
	k_platform_syscall_ioprio_set = 251,
	k_platform_syscall_ioprio_get = 252,
	k_platform_syscall_inotify_init = 253,
	k_platform_syscall_inotify_add_watch = 254,
	k_platform_syscall_inotify_rm_watch = 255,
	k_platform_syscall_migrate_pages = 256,
	k_platform_syscall_openat = 257,
	k_platform_syscall_mkdirat = 258,
	k_platform_syscall_mknodat = 259,
	k_platform_syscall_fchownat = 260,
	k_platform_syscall_futimesat = 261,
	k_platform_syscall_newfstatat = 262,
	k_platform_syscall_unlinkat = 263,
	k_platform_syscall_renameat = 264,
	k_platform_syscall_linkat = 265,
	k_platform_syscall_symlinkat = 266,
	k_platform_syscall_readlinkat = 267,
	k_platform_syscall_fchmodat = 268,
	k_platform_syscall_faccessat = 269,
	k_platform_syscall_pselect6 = 270,
	k_platform_syscall_ppoll = 271,
	k_platform_syscall_unshare = 272,
	k_platform_syscall_splice = 275,
	k_platform_syscall_tee = 276,
	k_platform_syscall_sync_file_range = 277,
	k_platform_syscall_utimensat = 280,
	k_platform_syscall_epoll_pwait = 281,
	k_platform_syscall_signalfd = 282,
	k_platform_syscall_timerfd_create = 283,
	k_platform_syscall_eventfd = 284,
	k_platform_syscall_fallocate = 285,
	k_platform_syscall_timerfd_settime = 286,
	k_platform_syscall_timerfd_gettime = 287,
	k_platform_syscall_accept4 = 288,
	k_platform_syscall_signalfd4 = 289,
	k_platform_syscall_eventfd2 = 290,
	k_platform_syscall_epoll_create1 = 291,
	k_platform_syscall_dup3 = 292,
	k_platform_syscall_pipe2 = 293,
	k_platform_syscall_inotify_init1 = 294,
	k_platform_syscall_perf_event_open = 298,
	k_platform_syscall_fanotify_init = 300,
	k_platform_syscall_fanotify_mark = 301,
	k_platform_syscall_prlimit64 = 302,
	k_platform_syscall_name_to_handle_at = 303,
	k_platform_syscall_open_by_handle_at = 304,
	k_platform_syscall_clock_adjtime = 305,
	k_platform_syscall_syncfs = 306,
	k_platform_syscall_setns = 308,
	k_platform_syscall_getcpu = 309,
	k_platform_syscall_kcmp = 312,
	k_platform_syscall_finit_module = 313,
	k_platform_syscall_sched_setattr = 314,
	k_platform_syscall_sched_getattr = 315,
	k_platform_syscall_renameat2 = 316,
	k_platform_syscall_seccomp = 317,
	k_platform_syscall_getrandom = 318,
	k_platform_syscall_memfd_create = 319,
	k_platform_syscall_kexec_file_load = 320,
	k_platform_syscall_bpf = 321,
	k_platform_syscall_userfaultfd = 323,
	k_platform_syscall_membarrier = 324,
	k_platform_syscall_mlock2 = 325,
	k_platform_syscall_copy_file_range = 326,
	k_platform_syscall_pkey_mprotect = 329,
	k_platform_syscall_pkey_alloc = 330,
	k_platform_syscall_pkey_free = 331,
	k_platform_syscall_statx = 332,
	k_platform_syscall_io_pgetevents = 333,
	k_platform_syscall_rseq = 334,
	k_platform_syscall_pidfd_send_signal = 424,
	k_platform_syscall_io_uring_setup = 425,
	k_platform_syscall_io_uring_enter = 426,
	k_platform_syscall_io_uring_register = 427,
	k_platform_syscall_open_tree = 428,
	k_platform_syscall_move_mount = 429,
	k_platform_syscall_fsopen = 430,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_fsmount = 432,
	k_platform_syscall_fspick = 433,
	k_platform_syscall_pidfd_open = 434,
	k_platform_syscall_clone3 = 435,

};

#endif

<
<
<
<
<
<




<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<
|

|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
<
|
|
<
|
|
<
<
<
<
<
<
<
<
|
|
|
<
|
<
<

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<
<
|
<
|
<
<
<
|
|
<
|
|
|
|
<
|
|
<
<
<
|
|
|
|
|
|
|
<
|
|
<
<
<
|
|
|
|
|
<
<
<
<
|
|
|
|
|
<
|
|
|

<
|
|
<
|

|
|
<
|
|
|
|
|
|
<
<
|
|

|
|
|
|
|
|
|

<
<
|
|
|
|
|
<
<
<
|
|
<
<
<
|

<
|
<
<
|
<
|
<
|
<
<
<
<
|
<
|
|
|
|
<
<
<



<






1
2
3
4

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

122
123

124
125








126
127
128

129


130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151

152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170


171

172



173
174

175
176
177
178

179
180



181
182
183
184
185
186
187

188
189



190
191
192
193
194




195
196
197
198
199

200
201
202
203

204
205

206
207
208
209

210
211
212
213
214
215


216
217
218
219
220
221
222
223
224
225
226


227
228
229
230
231



232
233



234
235

236


237

238

239




240

241
242
243
244



245
246
247







#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {

	k_platform_syscall_fgetxattr = 193,
	k_platform_syscall_ioctl = 16,
	k_platform_syscall_getppid = 110,
	k_platform_syscall_tuxcall = 184,
	k_platform_syscall_getpgid = 121,
	k_platform_syscall_semctl = 66,
	k_platform_syscall_getpeername = 52,
	k_platform_syscall_symlink = 88,
	k_platform_syscall_clone = 56,
	k_platform_syscall_read = 0,
	k_platform_syscall_pipe = 22,
	k_platform_syscall_pause = 34,
	k_platform_syscall_semget = 64,
	k_platform_syscall_setrlimit = 160,
	k_platform_syscall_getdents64 = 217,
	k_platform_syscall_seccomp = 317,
	k_platform_syscall_sync = 162,
	k_platform_syscall_listen = 50,
	k_platform_syscall_setgid = 106,
	k_platform_syscall_nfsservctl = 180,
	k_platform_syscall_sysinfo = 99,
	k_platform_syscall_semop = 65,
	k_platform_syscall_mremap = 25,
	k_platform_syscall_mknodat = 259,
	k_platform_syscall_pipe2 = 293,
	k_platform_syscall_personality = 135,
	k_platform_syscall_llistxattr = 195,
	k_platform_syscall_setns = 308,
	k_platform_syscall_readahead = 187,
	k_platform_syscall_connect = 42,
	k_platform_syscall_setdomainname = 171,
	k_platform_syscall_msgsnd = 69,
	k_platform_syscall_fallocate = 285,

	k_platform_syscall_fsetxattr = 190,
	k_platform_syscall_sendfile = 40,
	k_platform_syscall_pselect6 = 270,
	k_platform_syscall_vserver = 236,
	k_platform_syscall_flistxattr = 196,
	k_platform_syscall_lchown = 94,
	k_platform_syscall_exit = 60,
	k_platform_syscall_setuid = 105,
	k_platform_syscall_eventfd = 284,
	k_platform_syscall_getsockname = 51,
	k_platform_syscall_sendto = 44,
	k_platform_syscall_unlinkat = 263,
	k_platform_syscall_ppoll = 271,
	k_platform_syscall_keyctl = 250,
	k_platform_syscall_preadv2 = 327,
	k_platform_syscall_ftruncate = 77,
	k_platform_syscall_getdents = 78,
	k_platform_syscall_lremovexattr = 198,
	k_platform_syscall_writev = 20,
	k_platform_syscall_chroot = 161,
	k_platform_syscall_getitimer = 36,
	k_platform_syscall_utimes = 235,
	k_platform_syscall_adjtimex = 159,
	k_platform_syscall_msgrcv = 70,
	k_platform_syscall_sysfs = 139,
	k_platform_syscall_stat = 4,
	k_platform_syscall_iopl = 172,
	k_platform_syscall_renameat2 = 316,
	k_platform_syscall_renameat = 264,
	k_platform_syscall_fsopen = 430,
	k_platform_syscall_getgroups = 115,
	k_platform_syscall_settimeofday = 164,
	k_platform_syscall_getcwd = 79,
	k_platform_syscall_capset = 126,
	k_platform_syscall_getsid = 124,
	k_platform_syscall_vfork = 58,
	k_platform_syscall_readlink = 89,
	k_platform_syscall_mbind = 237,
	k_platform_syscall_tgkill = 234,
	k_platform_syscall_futimesat = 261,
	k_platform_syscall_accept = 43,
	k_platform_syscall_poll = 7,
	k_platform_syscall_execve = 59,
	k_platform_syscall_listxattr = 194,
	k_platform_syscall_putpmsg = 182,
	k_platform_syscall_rseq = 334,
	k_platform_syscall_statx = 332,
	k_platform_syscall_readlinkat = 267,
	k_platform_syscall_creat = 85,
	k_platform_syscall_fremovexattr = 199,
	k_platform_syscall_ioperm = 173,
	k_platform_syscall_recvmmsg = 299,
	k_platform_syscall_uselib = 134,
	k_platform_syscall_shmctl = 31,
	k_platform_syscall_recvfrom = 45,
	k_platform_syscall_mount = 165,
	k_platform_syscall_getrlimit = 97,
	k_platform_syscall_fadvise64 = 221,
	k_platform_syscall_fchown = 93,
	k_platform_syscall_munmap = 11,
	k_platform_syscall_mprotect = 10,
	k_platform_syscall_mincore = 27,
	k_platform_syscall_getegid = 108,
	k_platform_syscall_ptrace = 101,
	k_platform_syscall_chown = 92,
	k_platform_syscall_accept4 = 288,
	k_platform_syscall_socketpair = 53,
	k_platform_syscall_wait4 = 61,
	k_platform_syscall_shmget = 29,
	k_platform_syscall_socket = 41,
	k_platform_syscall_mmap = 9,
	k_platform_syscall_shmat = 30,
	k_platform_syscall_semtimedop = 220,
	k_platform_syscall_sigaltstack = 131,
	k_platform_syscall_uname = 63,
	k_platform_syscall_pwritev2 = 328,
	k_platform_syscall_shutdown = 48,
	k_platform_syscall_pread64 = 17,
	k_platform_syscall_times = 100,
	k_platform_syscall_getrusage = 98,
	k_platform_syscall_security = 185,
	k_platform_syscall_preadv = 295,
	k_platform_syscall_utime = 132,
	k_platform_syscall_umount2 = 166,

	k_platform_syscall_fchmodat = 268,
	k_platform_syscall_lseek = 8,

	k_platform_syscall_setfsgid = 123,
	k_platform_syscall_geteuid = 107,








	k_platform_syscall_bpf = 321,
	k_platform_syscall_mkdir = 83,
	k_platform_syscall_getrandom = 318,

	k_platform_syscall_gettid = 186,


	k_platform_syscall_prctl = 157,
	k_platform_syscall_fspick = 433,
	k_platform_syscall_getxattr = 191,
	k_platform_syscall_setfsuid = 122,
	k_platform_syscall_setpgid = 109,
	k_platform_syscall_fcntl = 72,
	k_platform_syscall_mlockall = 151,
	k_platform_syscall_setresuid = 117,
	k_platform_syscall_link = 86,
	k_platform_syscall_msync = 26,
	k_platform_syscall_swapoff = 168,
	k_platform_syscall_brk = 12,
	k_platform_syscall_fchdir = 81,
	k_platform_syscall_mlock = 149,
	k_platform_syscall_sethostname = 170,
	k_platform_syscall_chdir = 80,
	k_platform_syscall_setresgid = 119,
	k_platform_syscall_kill = 62,
	k_platform_syscall_getpid = 39,
	k_platform_syscall_fchmod = 91,
	k_platform_syscall_getpmsg = 181,
	k_platform_syscall_readv = 19,

	k_platform_syscall_capget = 125,
	k_platform_syscall_tee = 276,
	k_platform_syscall_getgid = 104,
	k_platform_syscall_dup = 32,
	k_platform_syscall_chmod = 90,
	k_platform_syscall_nanosleep = 35,
	k_platform_syscall_linkat = 265,
	k_platform_syscall_write = 1,
	k_platform_syscall_select = 23,
	k_platform_syscall_vhangup = 153,
	k_platform_syscall_bind = 49,
	k_platform_syscall_setregid = 114,
	k_platform_syscall_setxattr = 188,
	k_platform_syscall_reboot = 169,
	k_platform_syscall_signalfd4 = 289,
	k_platform_syscall_close = 3,
	k_platform_syscall_fsmount = 432,
	k_platform_syscall_pwrite64 = 18,
	k_platform_syscall_mlock2 = 325,


	k_platform_syscall_setsockopt = 54,

	k_platform_syscall_madvise = 28,



	k_platform_syscall_membarrier = 324,
	k_platform_syscall_setsid = 112,

	k_platform_syscall_mkdirat = 258,
	k_platform_syscall_faccessat = 269,
	k_platform_syscall_getcpu = 309,
	k_platform_syscall_lstat = 6,

	k_platform_syscall_truncate = 76,
	k_platform_syscall_fsync = 74,



	k_platform_syscall_openat = 257,
	k_platform_syscall_gettimeofday = 96,
	k_platform_syscall_umask = 95,
	k_platform_syscall_getuid = 102,
	k_platform_syscall_fork = 57,
	k_platform_syscall_flock = 73,
	k_platform_syscall_setreuid = 113,

	k_platform_syscall_munlock = 150,
	k_platform_syscall_mknod = 133,



	k_platform_syscall_ustat = 136,
	k_platform_syscall_newfstatat = 262,
	k_platform_syscall_dup2 = 33,
	k_platform_syscall_signalfd = 282,
	k_platform_syscall_quotactl = 179,




	k_platform_syscall_splice = 275,
	k_platform_syscall_dup3 = 292,
	k_platform_syscall_statfs = 137,
	k_platform_syscall_setpriority = 141,
	k_platform_syscall_getsockopt = 55,

	k_platform_syscall_removexattr = 197,
	k_platform_syscall_getresgid = 120,
	k_platform_syscall_getpriority = 140,
	k_platform_syscall_symlinkat = 266,

	k_platform_syscall_vmsplice = 278,
	k_platform_syscall_fdatasync = 75,

	k_platform_syscall_msgctl = 71,
	k_platform_syscall_unshare = 272,
	k_platform_syscall_recvmsg = 47,
	k_platform_syscall_munlockall = 152,

	k_platform_syscall_rmdir = 84,
	k_platform_syscall_futex = 202,
	k_platform_syscall_lgetxattr = 192,
	k_platform_syscall_msgget = 68,
	k_platform_syscall_pwritev = 296,
	k_platform_syscall_getpgrp = 111,


	k_platform_syscall_kcmp = 312,
	k_platform_syscall_sendmmsg = 307,
	k_platform_syscall_eventfd2 = 290,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_access = 21,
	k_platform_syscall_getresuid = 118,
	k_platform_syscall_fstatfs = 138,
	k_platform_syscall_acct = 163,
	k_platform_syscall_fchownat = 260,
	k_platform_syscall_fstat = 5,
	k_platform_syscall_prlimit64 = 302,


	k_platform_syscall_unlink = 87,
	k_platform_syscall_utimensat = 280,
	k_platform_syscall_setitimer = 38,
	k_platform_syscall_execveat = 322,
	k_platform_syscall_time = 201,



	k_platform_syscall_rename = 82,
	k_platform_syscall_alarm = 37,



	k_platform_syscall_swapon = 167,
	k_platform_syscall_userfaultfd = 323,

	k_platform_syscall_open = 2,


	k_platform_syscall_setgroups = 116,

	k_platform_syscall_sendmsg = 46,

	k_platform_syscall_lsetxattr = 189,




	k_platform_syscall_syncfs = 306,

	k_platform_syscall_syslog = 103,
	k_platform_syscall_tkill = 200,
	k_platform_syscall_waitid = 247,
	k_platform_syscall_shmdt = 67,



};

#endif