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

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

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

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

            1  +/* no special changes are needed from the 
            2  + * normal POSIX header. */
            3  +
            4  +#include <arch/posix.h>

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

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

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

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

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

     1         -#!/usr/bin/env bash
     2         -set -eu
     3         -
     4         -OUTDIR=$1
     5         -ABI=$2
     6         -
     7         -INC_DEF=/usr/src/linux
     8         -p_include="${LINUX_SRC:-$INC_DEF}"
     9         -p_uapi="$p_include/tools/include/uapi"
    10         -
    11         -cpp -D__"$ABI"__ -undef -dM -I"$p_uapi" "$p_uapi/asm/errno.h" | sort -nrk3 | awk -F' ' '{
    12         -if ($2 !~ "^_"){
    13         -	ids[$2] = $3;
    14         -	if ($3 ~ /^[0-9]+$/) val=$3;
    15         -	else val=ids[$3];
    16         -	print $2 " " val;
    17         -}}' | sort -nk2 > "$OUTDIR/error_table.tbl"

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

            1  +#!/usr/bin/env bash
            2  +set -eu
            3  +
            4  +OUTDIR=$1
            5  +ARCH=$2
            6  +ABI=$3
            7  +
            8  +# architecture-specific cppflags
            9  +declare -A AFLAGS
           10  +AFLAGS[arm]="-D__ARM_EABI__"
           11  +
           12  +AFLAGS[x32]="-D__ILP32__"
           13  +AFLAGS[x86_64]="-D__LP64__"
           14  +
           15  +AFLAGS[riscv64]="-D__LP64__"
           16  +
           17  +if ! [ -z ${AFLAGS[$ABI]+x} ]; then
           18  +	flags=${AFLAGS[$ABI]}
           19  +else
           20  +	flags=""
           21  +fi
           22  +
           23  +INC_DEF=/usr/src/linux
           24  +p_linux="${LINUX_SRC:-$INC_DEF}"
           25  +
           26  +TMP=$(mktemp -d)
           27  +make -C "$p_linux" ARCH="$ARCH" O="$TMP" headers_install
           28  +
           29  +# errors
           30  +cpp -D__"$ABI"__ -undef -dM "$TMP/usr/include/asm/errno.h" -I"$TMP/usr/include" | sort -nrk3 | awk '
           31  +BEGIN {
           32  +	FS=" "
           33  +	print "#ifndef KIplatform_error\n\
           34  +#define KIplatform_error\n\
           35  +\n\
           36  +enum k_platform_error {"
           37  +}
           38  +
           39  +{
           40  +	if ($2 !~ "^_"){
           41  +		ids[$2] = $3
           42  +		if ($3 ~ /^[0-9]+$/) val=$3
           43  +		else val=ids[$3]
           44  +		printf("\tk_platform_error_%s = %d,\n", $2, val)
           45  +	}
           46  +}
           47  +
           48  +END {
           49  +	print "};\n\
           50  +\n\
           51  +#endif"
           52  +}
           53  +' > "$OUTDIR/error_table.h"
           54  +
           55  +# syscalls
           56  +cpp -dM -undef "$TMP/usr/include/asm/unistd.h" -I"$TMP/usr/include" \
           57  +-D"${ABI^^}" -D"__${ABI}__" ${flags} | awk '
           58  +BEGIN {
           59  +	FS=" "
           60  +	print "#include <stdio.h>\n\
           61  +		#include <asm/unistd.h>\n\
           62  +		int main(void) {\
           63  +		puts(\"#ifndef KIplatform_syscall\");\
           64  +		puts(\"#define KIplatform_syscall\\n\");\
           65  +		puts(\"enum k_platform_syscall {\");"
           66  +}
           67  +
           68  +{
           69  +	if ($2 ~ "(^__NR_)" && $2 !~ "NR3264")
           70  +	{
           71  +		sub("^.*_", "", $2)
           72  +		calls[$2]++
           73  +	}
           74  +}
           75  +
           76  +END {
           77  +	for (call in calls) {
           78  +		printf("#ifdef __NR_%s\n", call)
           79  +		printf("printf(\"\\tk_platform_syscall_%s = %%d,\\n\", __NR_%s);\n", call, call)
           80  +		printf("#endif\n")
           81  +	}
           82  +	print "puts(\"};\\n\\n#endif\");\n\
           83  +	return 0;\n}"
           84  +}' | gcc -x c -U__LP64__ -U__ILP32__ -U__i386__ -D"${ABI^^}" \
           85  +-D"__${ABI}__" ${flags} -I"$TMP/usr/include" -o "$TMP/ls_calls" -
           86  +
           87  +"$TMP/ls_calls" > "$OUTDIR/system_calls.h"
           88  +
           89  +rm -rf "$TMP"

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

     1         -#!/usr/bin/env bash
     2         -set -eu
     3         -
     4         -OUTDIR=$1
     5         -ABI=$2
     6         -
     7         -INC_DEF=/usr/src/linux
     8         -p_include="${LINUX_SRC:-$INC_DEF}"
     9         -p_uapi="$p_include/tools/include/uapi"
    10         -
    11         -cpp -D__"$ABI"__ -undef -dM -I"$p_uapi" "$p_uapi/asm-generic/unistd.h" | sort -nrk3 | awk -F' ' '{
    12         -if ($2 ~ "__NR") {
    13         -	ids[$2]=$3;
    14         -	sub("^.*_", "", $2);
    15         -	if ($3 ~ /^[0-9]+$/) val=$3;
    16         -	else val=ids[$3];
    17         -	print val "\tcommon\t" $2}}' | sort -n > "$OUTDIR/system_calls.tbl"

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

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

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

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

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

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

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

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