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) {
448448 futex_wake = 454,
449449 futex_wait = 455,
450450 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,
451457};
452458
453459pub const X64 = enum(usize) {
......@@ -819,6 +825,12 @@ pub const X64 = enum(usize) {
819825 futex_wake = 454,
820826 futex_wait = 455,
821827 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,
822834};
823835
824836pub const Arm = enum(usize) {
......@@ -1233,6 +1245,12 @@ pub const Arm = enum(usize) {
12331245 futex_wake = 454,
12341246 futex_wait = 455,
12351247 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
12371255 breakpoint = arm_base + 1,
12381256 cacheflush = arm_base + 2,
......@@ -1668,6 +1686,12 @@ pub const Sparc = enum(usize) {
16681686 futex_wake = 454,
16691687 futex_wait = 455,
16701688 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,
16711695};
16721696
16731697pub const Sparc64 = enum(usize) {
......@@ -2059,6 +2083,12 @@ pub const Sparc64 = enum(usize) {
20592083 futex_wake = 454,
20602084 futex_wait = 455,
20612085 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,
20622092};
20632093
20642094pub const M68k = enum(usize) {
......@@ -2490,6 +2520,12 @@ pub const M68k = enum(usize) {
24902520 futex_wake = 454,
24912521 futex_wait = 455,
24922522 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,
24932529};
24942530
24952531pub const MipsO32 = enum(usize) {
......@@ -2917,6 +2953,12 @@ pub const MipsO32 = enum(usize) {
29172953 futex_wake = linux_base + 454,
29182954 futex_wait = linux_base + 455,
29192955 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,
29202962};
29212963
29222964pub const MipsN64 = enum(usize) {
......@@ -3280,6 +3322,12 @@ pub const MipsN64 = enum(usize) {
32803322 futex_wake = linux_base + 454,
32813323 futex_wait = linux_base + 455,
32823324 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,
32833331};
32843332
32853333pub const MipsN32 = enum(usize) {
......@@ -3667,6 +3715,12 @@ pub const MipsN32 = enum(usize) {
36673715 futex_wake = linux_base + 454,
36683716 futex_wait = linux_base + 455,
36693717 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,
36703724};
36713725
36723726pub const PowerPC = enum(usize) {
......@@ -4107,6 +4161,12 @@ pub const PowerPC = enum(usize) {
41074161 futex_wake = 454,
41084162 futex_wait = 455,
41094163 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,
41104170};
41114171
41124172pub const PowerPC64 = enum(usize) {
......@@ -4519,6 +4579,12 @@ pub const PowerPC64 = enum(usize) {
45194579 futex_wake = 454,
45204580 futex_wait = 455,
45214581 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,
45224588};
45234589
45244590pub const S390x = enum(usize) {
......@@ -4897,6 +4963,12 @@ pub const S390x = enum(usize) {
48974963 futex_wake = 454,
48984964 futex_wait = 455,
48994965 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,
49004972};
49014973
49024974pub const Xtensa = enum(usize) {
......@@ -5279,6 +5351,12 @@ pub const Xtensa = enum(usize) {
52795351 futex_wake = 454,
52805352 futex_wait = 455,
52815353 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,
52825360};
52835361
52845362pub const Arm64 = enum(usize) {
......@@ -5594,6 +5672,12 @@ pub const Arm64 = enum(usize) {
55945672 futex_wake = 454,
55955673 futex_wait = 455,
55965674 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,
55975681};
55985682
55995683pub const RiscV32 = enum(usize) {
......@@ -5898,6 +5982,12 @@ pub const RiscV32 = enum(usize) {
58985982 futex_wake = 454,
58995983 futex_wait = 455,
59005984 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,
59015991 riscv_flush_icache = (244 + 15),
59025992 riscv_hwprobe = (244 + 14),
59035993};
......@@ -6214,6 +6304,12 @@ pub const RiscV64 = enum(usize) {
62146304 futex_wake = 454,
62156305 futex_wait = 455,
62166306 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,
62176313 riscv_flush_icache = (244 + 15),
62186314 riscv_hwprobe = (244 + 14),
62196315};
......@@ -6525,6 +6621,12 @@ pub const LoongArch64 = enum(usize) {
65256621 futex_wake = 454,
65266622 futex_wait = 455,
65276623 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,
65286630};
65296631
65306632pub const Arc = enum(usize) {
......@@ -6859,6 +6961,12 @@ pub const Arc = enum(usize) {
68596961 futex_wake = 454,
68606962 futex_wait = 455,
68616963 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,
68626970 cacheflush = (244 + 0),
68636971 arc_settls = (244 + 1),
68646972 arc_gettls = (244 + 2),
......@@ -7197,6 +7305,12 @@ pub const CSky = enum(usize) {
71977305 futex_wake = 454,
71987306 futex_wait = 455,
71997307 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,
72007314 set_thread_area = (244 + 0),
72017315 cacheflush = (244 + 1),
72027316};
......@@ -7532,4 +7646,10 @@ pub const Hexagon = enum(usize) {
75327646 futex_wake = 454,
75337647 futex_wait = 455,
75347648 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,
75357655};