authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 23:41:47+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-09 00:34:52+02:00
log3a1d4dd19e369cd61a1e6a00e8c213270571ac43
treeddf1ddd490dae5695b2c3b66f4f85bb4de1dcea6
parentc62a2ad2ecf59da73ef4e8c64c2df9fac340647b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Update Linux syscalls to 6.10.


1 files changed, 120 insertions(+), 0 deletions(-)

lib/std/os/linux/syscalls.zig+120
...@@ -448,6 +448,12 @@ pub const X86 = enum(usize) {...@@ -448,6 +448,12 @@ pub const X86 = enum(usize) {
448 futex_wake = 454,448 futex_wake = 454,
449 futex_wait = 455,449 futex_wait = 455,
450 futex_requeue = 456,450 futex_requeue = 456,
451 statmount = 457,
452 listmount = 458,
453 lsm_get_self_attr = 459,
454 lsm_set_self_attr = 460,
455 lsm_list_modules = 461,
456 mseal = 462,
451};457};
452458
453pub const X64 = enum(usize) {459pub const X64 = enum(usize) {
...@@ -819,6 +825,12 @@ pub const X64 = enum(usize) {...@@ -819,6 +825,12 @@ pub const X64 = enum(usize) {
819 futex_wake = 454,825 futex_wake = 454,
820 futex_wait = 455,826 futex_wait = 455,
821 futex_requeue = 456,827 futex_requeue = 456,
828 statmount = 457,
829 listmount = 458,
830 lsm_get_self_attr = 459,
831 lsm_set_self_attr = 460,
832 lsm_list_modules = 461,
833 mseal = 462,
822};834};
823835
824pub const Arm = enum(usize) {836pub const Arm = enum(usize) {
...@@ -1233,6 +1245,12 @@ pub const Arm = enum(usize) {...@@ -1233,6 +1245,12 @@ pub const Arm = enum(usize) {
1233 futex_wake = 454,1245 futex_wake = 454,
1234 futex_wait = 455,1246 futex_wait = 455,
1235 futex_requeue = 456,1247 futex_requeue = 456,
1248 statmount = 457,
1249 listmount = 458,
1250 lsm_get_self_attr = 459,
1251 lsm_set_self_attr = 460,
1252 lsm_list_modules = 461,
1253 mseal = 462,
12361254
1237 breakpoint = arm_base + 1,1255 breakpoint = arm_base + 1,
1238 cacheflush = arm_base + 2,1256 cacheflush = arm_base + 2,
...@@ -1668,6 +1686,12 @@ pub const Sparc = enum(usize) {...@@ -1668,6 +1686,12 @@ pub const Sparc = enum(usize) {
1668 futex_wake = 454,1686 futex_wake = 454,
1669 futex_wait = 455,1687 futex_wait = 455,
1670 futex_requeue = 456,1688 futex_requeue = 456,
1689 statmount = 457,
1690 listmount = 458,
1691 lsm_get_self_attr = 459,
1692 lsm_set_self_attr = 460,
1693 lsm_list_modules = 461,
1694 mseal = 462,
1671};1695};
16721696
1673pub const Sparc64 = enum(usize) {1697pub const Sparc64 = enum(usize) {
...@@ -2059,6 +2083,12 @@ pub const Sparc64 = enum(usize) {...@@ -2059,6 +2083,12 @@ pub const Sparc64 = enum(usize) {
2059 futex_wake = 454,2083 futex_wake = 454,
2060 futex_wait = 455,2084 futex_wait = 455,
2061 futex_requeue = 456,2085 futex_requeue = 456,
2086 statmount = 457,
2087 listmount = 458,
2088 lsm_get_self_attr = 459,
2089 lsm_set_self_attr = 460,
2090 lsm_list_modules = 461,
2091 mseal = 462,
2062};2092};
20632093
2064pub const M68k = enum(usize) {2094pub const M68k = enum(usize) {
...@@ -2490,6 +2520,12 @@ pub const M68k = enum(usize) {...@@ -2490,6 +2520,12 @@ pub const M68k = enum(usize) {
2490 futex_wake = 454,2520 futex_wake = 454,
2491 futex_wait = 455,2521 futex_wait = 455,
2492 futex_requeue = 456,2522 futex_requeue = 456,
2523 statmount = 457,
2524 listmount = 458,
2525 lsm_get_self_attr = 459,
2526 lsm_set_self_attr = 460,
2527 lsm_list_modules = 461,
2528 mseal = 462,
2493};2529};
24942530
2495pub const MipsO32 = enum(usize) {2531pub const MipsO32 = enum(usize) {
...@@ -2917,6 +2953,12 @@ pub const MipsO32 = enum(usize) {...@@ -2917,6 +2953,12 @@ pub const MipsO32 = enum(usize) {
2917 futex_wake = linux_base + 454,2953 futex_wake = linux_base + 454,
2918 futex_wait = linux_base + 455,2954 futex_wait = linux_base + 455,
2919 futex_requeue = linux_base + 456,2955 futex_requeue = linux_base + 456,
2956 statmount = linux_base + 457,
2957 listmount = linux_base + 458,
2958 lsm_get_self_attr = linux_base + 459,
2959 lsm_set_self_attr = linux_base + 460,
2960 lsm_list_modules = linux_base + 461,
2961 mseal = linux_base + 462,
2920};2962};
29212963
2922pub const MipsN64 = enum(usize) {2964pub const MipsN64 = enum(usize) {
...@@ -3280,6 +3322,12 @@ pub const MipsN64 = enum(usize) {...@@ -3280,6 +3322,12 @@ pub const MipsN64 = enum(usize) {
3280 futex_wake = linux_base + 454,3322 futex_wake = linux_base + 454,
3281 futex_wait = linux_base + 455,3323 futex_wait = linux_base + 455,
3282 futex_requeue = linux_base + 456,3324 futex_requeue = linux_base + 456,
3325 statmount = linux_base + 457,
3326 listmount = linux_base + 458,
3327 lsm_get_self_attr = linux_base + 459,
3328 lsm_set_self_attr = linux_base + 460,
3329 lsm_list_modules = linux_base + 461,
3330 mseal = linux_base + 462,
3283};3331};
32843332
3285pub const MipsN32 = enum(usize) {3333pub const MipsN32 = enum(usize) {
...@@ -3667,6 +3715,12 @@ pub const MipsN32 = enum(usize) {...@@ -3667,6 +3715,12 @@ pub const MipsN32 = enum(usize) {
3667 futex_wake = linux_base + 454,3715 futex_wake = linux_base + 454,
3668 futex_wait = linux_base + 455,3716 futex_wait = linux_base + 455,
3669 futex_requeue = linux_base + 456,3717 futex_requeue = linux_base + 456,
3718 statmount = linux_base + 457,
3719 listmount = linux_base + 458,
3720 lsm_get_self_attr = linux_base + 459,
3721 lsm_set_self_attr = linux_base + 460,
3722 lsm_list_modules = linux_base + 461,
3723 mseal = linux_base + 462,
3670};3724};
36713725
3672pub const PowerPC = enum(usize) {3726pub const PowerPC = enum(usize) {
...@@ -4107,6 +4161,12 @@ pub const PowerPC = enum(usize) {...@@ -4107,6 +4161,12 @@ pub const PowerPC = enum(usize) {
4107 futex_wake = 454,4161 futex_wake = 454,
4108 futex_wait = 455,4162 futex_wait = 455,
4109 futex_requeue = 456,4163 futex_requeue = 456,
4164 statmount = 457,
4165 listmount = 458,
4166 lsm_get_self_attr = 459,
4167 lsm_set_self_attr = 460,
4168 lsm_list_modules = 461,
4169 mseal = 462,
4110};4170};
41114171
4112pub const PowerPC64 = enum(usize) {4172pub const PowerPC64 = enum(usize) {
...@@ -4519,6 +4579,12 @@ pub const PowerPC64 = enum(usize) {...@@ -4519,6 +4579,12 @@ pub const PowerPC64 = enum(usize) {
4519 futex_wake = 454,4579 futex_wake = 454,
4520 futex_wait = 455,4580 futex_wait = 455,
4521 futex_requeue = 456,4581 futex_requeue = 456,
4582 statmount = 457,
4583 listmount = 458,
4584 lsm_get_self_attr = 459,
4585 lsm_set_self_attr = 460,
4586 lsm_list_modules = 461,
4587 mseal = 462,
4522};4588};
45234589
4524pub const S390x = enum(usize) {4590pub const S390x = enum(usize) {
...@@ -4897,6 +4963,12 @@ pub const S390x = enum(usize) {...@@ -4897,6 +4963,12 @@ pub const S390x = enum(usize) {
4897 futex_wake = 454,4963 futex_wake = 454,
4898 futex_wait = 455,4964 futex_wait = 455,
4899 futex_requeue = 456,4965 futex_requeue = 456,
4966 statmount = 457,
4967 listmount = 458,
4968 lsm_get_self_attr = 459,
4969 lsm_set_self_attr = 460,
4970 lsm_list_modules = 461,
4971 mseal = 462,
4900};4972};
49014973
4902pub const Xtensa = enum(usize) {4974pub const Xtensa = enum(usize) {
...@@ -5279,6 +5351,12 @@ pub const Xtensa = enum(usize) {...@@ -5279,6 +5351,12 @@ pub const Xtensa = enum(usize) {
5279 futex_wake = 454,5351 futex_wake = 454,
5280 futex_wait = 455,5352 futex_wait = 455,
5281 futex_requeue = 456,5353 futex_requeue = 456,
5354 statmount = 457,
5355 listmount = 458,
5356 lsm_get_self_attr = 459,
5357 lsm_set_self_attr = 460,
5358 lsm_list_modules = 461,
5359 mseal = 462,
5282};5360};
52835361
5284pub const Arm64 = enum(usize) {5362pub const Arm64 = enum(usize) {
...@@ -5594,6 +5672,12 @@ pub const Arm64 = enum(usize) {...@@ -5594,6 +5672,12 @@ pub const Arm64 = enum(usize) {
5594 futex_wake = 454,5672 futex_wake = 454,
5595 futex_wait = 455,5673 futex_wait = 455,
5596 futex_requeue = 456,5674 futex_requeue = 456,
5675 statmount = 457,
5676 listmount = 458,
5677 lsm_get_self_attr = 459,
5678 lsm_set_self_attr = 460,
5679 lsm_list_modules = 461,
5680 mseal = 462,
5597};5681};
55985682
5599pub const RiscV32 = enum(usize) {5683pub const RiscV32 = enum(usize) {
...@@ -5898,6 +5982,12 @@ pub const RiscV32 = enum(usize) {...@@ -5898,6 +5982,12 @@ pub const RiscV32 = enum(usize) {
5898 futex_wake = 454,5982 futex_wake = 454,
5899 futex_wait = 455,5983 futex_wait = 455,
5900 futex_requeue = 456,5984 futex_requeue = 456,
5985 statmount = 457,
5986 listmount = 458,
5987 lsm_get_self_attr = 459,
5988 lsm_set_self_attr = 460,
5989 lsm_list_modules = 461,
5990 mseal = 462,
5901 riscv_flush_icache = (244 + 15),5991 riscv_flush_icache = (244 + 15),
5902 riscv_hwprobe = (244 + 14),5992 riscv_hwprobe = (244 + 14),
5903};5993};
...@@ -6214,6 +6304,12 @@ pub const RiscV64 = enum(usize) {...@@ -6214,6 +6304,12 @@ pub const RiscV64 = enum(usize) {
6214 futex_wake = 454,6304 futex_wake = 454,
6215 futex_wait = 455,6305 futex_wait = 455,
6216 futex_requeue = 456,6306 futex_requeue = 456,
6307 statmount = 457,
6308 listmount = 458,
6309 lsm_get_self_attr = 459,
6310 lsm_set_self_attr = 460,
6311 lsm_list_modules = 461,
6312 mseal = 462,
6217 riscv_flush_icache = (244 + 15),6313 riscv_flush_icache = (244 + 15),
6218 riscv_hwprobe = (244 + 14),6314 riscv_hwprobe = (244 + 14),
6219};6315};
...@@ -6525,6 +6621,12 @@ pub const LoongArch64 = enum(usize) {...@@ -6525,6 +6621,12 @@ pub const LoongArch64 = enum(usize) {
6525 futex_wake = 454,6621 futex_wake = 454,
6526 futex_wait = 455,6622 futex_wait = 455,
6527 futex_requeue = 456,6623 futex_requeue = 456,
6624 statmount = 457,
6625 listmount = 458,
6626 lsm_get_self_attr = 459,
6627 lsm_set_self_attr = 460,
6628 lsm_list_modules = 461,
6629 mseal = 462,
6528};6630};
65296631
6530pub const Arc = enum(usize) {6632pub const Arc = enum(usize) {
...@@ -6859,6 +6961,12 @@ pub const Arc = enum(usize) {...@@ -6859,6 +6961,12 @@ pub const Arc = enum(usize) {
6859 futex_wake = 454,6961 futex_wake = 454,
6860 futex_wait = 455,6962 futex_wait = 455,
6861 futex_requeue = 456,6963 futex_requeue = 456,
6964 statmount = 457,
6965 listmount = 458,
6966 lsm_get_self_attr = 459,
6967 lsm_set_self_attr = 460,
6968 lsm_list_modules = 461,
6969 mseal = 462,
6862 cacheflush = (244 + 0),6970 cacheflush = (244 + 0),
6863 arc_settls = (244 + 1),6971 arc_settls = (244 + 1),
6864 arc_gettls = (244 + 2),6972 arc_gettls = (244 + 2),
...@@ -7197,6 +7305,12 @@ pub const CSky = enum(usize) {...@@ -7197,6 +7305,12 @@ pub const CSky = enum(usize) {
7197 futex_wake = 454,7305 futex_wake = 454,
7198 futex_wait = 455,7306 futex_wait = 455,
7199 futex_requeue = 456,7307 futex_requeue = 456,
7308 statmount = 457,
7309 listmount = 458,
7310 lsm_get_self_attr = 459,
7311 lsm_set_self_attr = 460,
7312 lsm_list_modules = 461,
7313 mseal = 462,
7200 set_thread_area = (244 + 0),7314 set_thread_area = (244 + 0),
7201 cacheflush = (244 + 1),7315 cacheflush = (244 + 1),
7202};7316};
...@@ -7532,4 +7646,10 @@ pub const Hexagon = enum(usize) {...@@ -7532,4 +7646,10 @@ pub const Hexagon = enum(usize) {
7532 futex_wake = 454,7646 futex_wake = 454,
7533 futex_wait = 455,7647 futex_wait = 455,
7534 futex_requeue = 456,7648 futex_requeue = 456,
7649 statmount = 457,
7650 listmount = 458,
7651 lsm_get_self_attr = 459,
7652 lsm_set_self_attr = 460,
7653 lsm_list_modules = 461,
7654 mseal = 462,
7535};7655};