<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/arch/microblaze/bits, branch master</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>update syscalls up to linux 6.19</title>
<updated>2026-03-11T03:06:02+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2026-03-01T14:28:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=5c901bb36041035575e2732b75a6759849bf4560'/>
<id>5c901bb36041035575e2732b75a6759849bf4560</id>
<content type='text'>
Add two missing syscalls from v5.14 and new syscalls from v6.4 .. v6.19

add __NR_quotactl_fd from linux v5.14 see

  linux commit 9dfa23c8de925041b7b45637a1a80a98a22f19dd
  quota: Add mountpath based quota support

  linux commit fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1
  quota: wire up quotactl_path

  linux commit 64c2c2c62f92339b176ea24403d8db16db36f9e6
  quota: Change quotactl_path() systcall to an fd-based one

add __NR_memfd_secret from linux v5.14 see

  linux commit 7bb7f2ac24a028b20fca466b9633847b289b156a
  arch, mm: wire up memfd_secret system call where relevant

  linux commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49
  mm: introduce memfd_secret system call to create "secret" memory areas

note: was already added on x86 and s390, now on aarch64 and riscv*.

add riscv __NR_riscv_hwprobe from linux v6.4 see

  linux commit ea3de9ce8aa280c5175c835bd3e94a3a9b814b74
  RISC-V: Add a syscall for HW probing

add x86_64 only map_shadow_stack syscall from linux v6.6 see

  linux commit c35559f94ebc3e3bc82e56e07161bb5986cd9761
  x86/shstk: Introduce map_shadow_stack syscall

add map_shadow_stack syscall from linux v6.7 see

  linux commit 2fd0ebad27bcd4c8fc61c61a98d4283c47054bcf
  arch: Reserve map_shadow_stack() syscall number for all architectures

add futex_* syscalls from linux v6.7 see

  linux commit 9f6c532f59b20580acf8ede9409c9b8dce6e74e1
  futex: Add sys_futex_wake()

  linux commit cb8c4312afca1b2dc64107e7e7cea81911055612
  futex: Add sys_futex_wait()

  linux commit 0f4b5f972216782a4acb1ae00dcb55173847c2ff
  futex: Add sys_futex_requeue()

add statmount, listmount syscalls from linux v6.8 see

  linux commit d8b0f5465012538cc4bb10ddc4affadbab73465b
  wire up syscalls for statmount/listmount

  linux commit b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d
  add listmount(2) syscall

  linux commit 46eae99ef73302f9fb3dddcd67c374b3dffe8fd6
  add statmount(2) syscall

add lsm_* syscalls from linux v6.8 see

  linux commit 5f42375904b08890f2e8e7cd955c5bf0c2c0d05a
  LSM: wireup Linux Security Module syscalls

  linux commit ad4aff9ec25f400608283c10d634cc4eeda83a02
  LSM: Create lsm_list_modules system call

  linux commit a04a1198088a1378d0389c250cc684f649bcc91e
  LSM: syscalls for current process attributes

add mseal syscall from linux v6.10 see

  linux commit ff388fe5c481d39cc0a5940d1ad46f7920f1d646
  mseal: wire up mseal syscall

on sh add sync_file_range2 from linux v6.10 see

  linux commit 30766f1105d6d2459c3b9fe34a3e52b637a72950
  sh: rework sync_file_range ABI

on x86 add uretprobe from linux v6.11 see

  linux commit 54233a4254036efca91b9bffbd398ecf39e90555
  uretprobe: change syscall number, again

add *xattrat syscalls from linux v6.13 see

  linux commit 6140be90ec70c39fa844741ca3cc807dd0866394
  fs/xattr: add *at family syscalls

add open_tree_attr from linux v6.15 see

  linux commit c4a16820d90199409c9bf01c4f794e1e9e8d8fd8
  fs: add open_tree_attr()

add file_{get,set}attr from linux v6.17 see

  linux commit be7efb2d20d67f334a7de2aef77ae6c69367e646
  fs: introduce file_getattr and file_setattr syscalls

on x86 add uprobe from linux v6.18 see

  linux commit 56101b69c9190667f473b9f93f8b6d8209aaa816
  uprobes/x86: Add uprobe syscall to speed up uprobe

add listns from linux v6.19 see

  linux commit b36d4b6aa88ef039647228b98c59a875e92f8c8e
  arch: hookup listns() system call
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add two missing syscalls from v5.14 and new syscalls from v6.4 .. v6.19

add __NR_quotactl_fd from linux v5.14 see

  linux commit 9dfa23c8de925041b7b45637a1a80a98a22f19dd
  quota: Add mountpath based quota support

  linux commit fa8b90070a80bb1a3042b4b25af4b3ee2c4c27e1
  quota: wire up quotactl_path

  linux commit 64c2c2c62f92339b176ea24403d8db16db36f9e6
  quota: Change quotactl_path() systcall to an fd-based one

add __NR_memfd_secret from linux v5.14 see

  linux commit 7bb7f2ac24a028b20fca466b9633847b289b156a
  arch, mm: wire up memfd_secret system call where relevant

  linux commit 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49
  mm: introduce memfd_secret system call to create "secret" memory areas

note: was already added on x86 and s390, now on aarch64 and riscv*.

add riscv __NR_riscv_hwprobe from linux v6.4 see

  linux commit ea3de9ce8aa280c5175c835bd3e94a3a9b814b74
  RISC-V: Add a syscall for HW probing

add x86_64 only map_shadow_stack syscall from linux v6.6 see

  linux commit c35559f94ebc3e3bc82e56e07161bb5986cd9761
  x86/shstk: Introduce map_shadow_stack syscall

add map_shadow_stack syscall from linux v6.7 see

  linux commit 2fd0ebad27bcd4c8fc61c61a98d4283c47054bcf
  arch: Reserve map_shadow_stack() syscall number for all architectures

add futex_* syscalls from linux v6.7 see

  linux commit 9f6c532f59b20580acf8ede9409c9b8dce6e74e1
  futex: Add sys_futex_wake()

  linux commit cb8c4312afca1b2dc64107e7e7cea81911055612
  futex: Add sys_futex_wait()

  linux commit 0f4b5f972216782a4acb1ae00dcb55173847c2ff
  futex: Add sys_futex_requeue()

add statmount, listmount syscalls from linux v6.8 see

  linux commit d8b0f5465012538cc4bb10ddc4affadbab73465b
  wire up syscalls for statmount/listmount

  linux commit b4c2bea8ceaa50cd42a8f73667389d801a3ecf2d
  add listmount(2) syscall

  linux commit 46eae99ef73302f9fb3dddcd67c374b3dffe8fd6
  add statmount(2) syscall

add lsm_* syscalls from linux v6.8 see

  linux commit 5f42375904b08890f2e8e7cd955c5bf0c2c0d05a
  LSM: wireup Linux Security Module syscalls

  linux commit ad4aff9ec25f400608283c10d634cc4eeda83a02
  LSM: Create lsm_list_modules system call

  linux commit a04a1198088a1378d0389c250cc684f649bcc91e
  LSM: syscalls for current process attributes

add mseal syscall from linux v6.10 see

  linux commit ff388fe5c481d39cc0a5940d1ad46f7920f1d646
  mseal: wire up mseal syscall

on sh add sync_file_range2 from linux v6.10 see

  linux commit 30766f1105d6d2459c3b9fe34a3e52b637a72950
  sh: rework sync_file_range ABI

on x86 add uretprobe from linux v6.11 see

  linux commit 54233a4254036efca91b9bffbd398ecf39e90555
  uretprobe: change syscall number, again

add *xattrat syscalls from linux v6.13 see

  linux commit 6140be90ec70c39fa844741ca3cc807dd0866394
  fs/xattr: add *at family syscalls

add open_tree_attr from linux v6.15 see

  linux commit c4a16820d90199409c9bf01c4f794e1e9e8d8fd8
  fs: add open_tree_attr()

add file_{get,set}attr from linux v6.17 see

  linux commit be7efb2d20d67f334a7de2aef77ae6c69367e646
  fs: introduce file_getattr and file_setattr syscalls

on x86 add uprobe from linux v6.18 see

  linux commit 56101b69c9190667f473b9f93f8b6d8209aaa816
  uprobes/x86: Add uprobe syscall to speed up uprobe

add listns from linux v6.19 see

  linux commit b36d4b6aa88ef039647228b98c59a875e92f8c8e
  arch: hookup listns() system call
</pre>
</div>
</content>
</entry>
<entry>
<title>stdint.h: derive limits from __LONG_MAX, use common fast16 types</title>
<updated>2024-05-07T13:17:51+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2024-05-07T13:17:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=2c124e13bd7941fe0b885eecdc5de6f09aacf06a'/>
<id>2c124e13bd7941fe0b885eecdc5de6f09aacf06a</id>
<content type='text'>
the bits file is retained, but as a single generic version, to allow
for the unlikely future possibility of letting a new arch define
something differently.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the bits file is retained, but as a single generic version, to allow
for the unlikely future possibility of letting a new arch define
something differently.
</pre>
</div>
</content>
</entry>
<entry>
<title>sys/reg.h: derive __WORDSIZE from __LONG_MAX</title>
<updated>2024-05-07T13:08:31+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2024-05-07T13:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e709a6f07ade208ba513f9225222336f30c304b0'/>
<id>e709a6f07ade208ba513f9225222336f30c304b0</id>
<content type='text'>
this removes an otherwise-unnecessary bits header from most archs,
replacing it with an empty generic version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this removes an otherwise-unnecessary bits header from most archs,
replacing it with an empty generic version.
</pre>
</div>
</content>
</entry>
<entry>
<title>unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits</title>
<updated>2024-05-07T13:01:47+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2024-05-07T13:01:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=29b216b2f22d3341c4c00608d7ad554a6aed26f7'/>
<id>29b216b2f22d3341c4c00608d7ad554a6aed26f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bits/syscall.h: add __NR_fchmodat2 from linux v6.6</title>
<updated>2024-02-23T00:24:18+00:00</updated>
<author>
<name>Gaël PORTAY</name>
<email>gael.portay@rtone.fr</email>
</author>
<published>2024-02-18T02:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358'/>
<id>3d5c9fe39ff6ceb0730d44122fd2c4cd58b4e358</id>
<content type='text'>
the linux fchmodat syscall lacks a flag argument that is necessary to
implement the posix api, see

  linux commit 09da082b07bbae1c11d9560c8502800039aebcea
  fs: Add fchmodat2()

  linux commit 78252deb023cf0879256fcfbafe37022c390762b
  arch: Register fchmodat2, usually as syscall 452
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the linux fchmodat syscall lacks a flag argument that is necessary to
implement the posix api, see

  linux commit 09da082b07bbae1c11d9560c8502800039aebcea
  fs: Add fchmodat2()

  linux commit 78252deb023cf0879256fcfbafe37022c390762b
  arch: Register fchmodat2, usually as syscall 452
</pre>
</div>
</content>
</entry>
<entry>
<title>bits/syscall.h: add cachestat from linux v6.4</title>
<updated>2024-02-23T00:23:47+00:00</updated>
<author>
<name>Gaël PORTAY</name>
<email>gael.portay@rtone.fr</email>
</author>
<published>2024-02-18T02:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=dd690c490951443ce5b96594c9c44cb6177daac1'/>
<id>dd690c490951443ce5b96594c9c44cb6177daac1</id>
<content type='text'>
see

    linux commit cf264e1329fb0307e044f7675849f9f38b44c11a
    cachestat: implement cachestat syscall

    linux commit 946e697c69ffeeefdd84dad90eac307284df46be
    cachestat: wire up cachestat for other architectures
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
see

    linux commit cf264e1329fb0307e044f7675849f9f38b44c11a
    cachestat: implement cachestat syscall

    linux commit 946e697c69ffeeefdd84dad90eac307284df46be
    cachestat: wire up cachestat for other architectures
</pre>
</div>
</content>
</entry>
<entry>
<title>bits/syscall.h: add set_mempolicy_home_node from linux v5.17</title>
<updated>2024-02-23T00:23:37+00:00</updated>
<author>
<name>Gaël PORTAY</name>
<email>gael.portay@rtone.fr</email>
</author>
<published>2024-02-18T02:26:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=33e8c469a9ebd1ffa2eab415d39bb586dc73454c'/>
<id>33e8c469a9ebd1ffa2eab415d39bb586dc73454c</id>
<content type='text'>
see

    linux commit c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0
    mm/mempolicy: add set_mempolicy_home_node syscall

    linux commit 21b084fdf2a49ca1634e8e360e9ab6f9ff0dee11
    mm/mempolicy: wire up syscall set_mempolicy_home_node
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
see

    linux commit c6018b4b254971863bd0ad36bb5e7d0fa0f0ddb0
    mm/mempolicy: add set_mempolicy_home_node syscall

    linux commit 21b084fdf2a49ca1634e8e360e9ab6f9ff0dee11
    mm/mempolicy: wire up syscall set_mempolicy_home_node
</pre>
</div>
</content>
</entry>
<entry>
<title>bits/syscall.h: add futex_waitv from linux v5.16</title>
<updated>2024-02-23T00:23:13+00:00</updated>
<author>
<name>Gaël PORTAY</name>
<email>gael.portay@rtone.fr</email>
</author>
<published>2024-02-18T02:26:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=b2c4c3d590a338b574bbbb691963995e6541ae75'/>
<id>b2c4c3d590a338b574bbbb691963995e6541ae75</id>
<content type='text'>
see

    linux commit 039c0ec9bb77446d7ada7f55f90af9299b28ca49
    futex,x86: Wire up sys_futex_waitv()

    linux commit ea7c45fde5aa3e761aaddb7902a31a95cb120e7b
    futex,arm: Wire up sys_futex_waitv()

    linux commit b3ff2881ba18b852f79f5476d7631940071f1adb
    MIPS: syscalls: Wire up futex_waitv syscall

    linux commit 6c122360cf2f4c5a856fcbd79b4485b7baec942a
    s390: wire up sys_futex_waitv system call

    linux commit a0eb2da92b715d0c97b96b09979689ea09faefe6
    futex: Wireup futex_waitv syscall
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
see

    linux commit 039c0ec9bb77446d7ada7f55f90af9299b28ca49
    futex,x86: Wire up sys_futex_waitv()

    linux commit ea7c45fde5aa3e761aaddb7902a31a95cb120e7b
    futex,arm: Wire up sys_futex_waitv()

    linux commit b3ff2881ba18b852f79f5476d7631940071f1adb
    MIPS: syscalls: Wire up futex_waitv syscall

    linux commit 6c122360cf2f4c5a856fcbd79b4485b7baec942a
    s390: wire up sys_futex_waitv system call

    linux commit a0eb2da92b715d0c97b96b09979689ea09faefe6
    futex: Wireup futex_waitv syscall
</pre>
</div>
</content>
</entry>
<entry>
<title>bits/syscall.h: add process_mrelease from linux v5.15</title>
<updated>2024-02-23T00:23:05+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2024-02-23T00:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e9751279479edc63af2c15b54a85cbe0374ca8b7'/>
<id>e9751279479edc63af2c15b54a85cbe0374ca8b7</id>
<content type='text'>
see

    linux commit 884a7e5964e06ed93c7771c0d7cf19c09a8946f1
    mm: introduce process_mrelease system call

    linux commit dce49103962840dd61423d7627748d6c558d58c5
    mm: wire up syscall process_mrelease
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
see

    linux commit 884a7e5964e06ed93c7771c0d7cf19c09a8946f1
    mm: introduce process_mrelease system call

    linux commit dce49103962840dd61423d7627748d6c558d58c5
    mm: wire up syscall process_mrelease
</pre>
</div>
</content>
</entry>
<entry>
<title>fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64</title>
<updated>2023-02-09T17:33:35+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2023-02-09T16:52:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=269d193820342dc109f39909d78fb30f4c978f76'/>
<id>269d193820342dc109f39909d78fb30f4c978f76</id>
<content type='text'>
we wrongly defined a dummy SA_RESTORER flag on these archs, despite
the kernel interface not actually having such a feature. on archs
which lack SA_RESTORER, the kernel sigaction structure also lacks the
restorer function pointer member, which means the signal mask appears
at a different offset. the kernel was thereby interpreting the bits of
the code address as part of the signal set to be masked while handling
the signal.

this patch removes the erroneous SA_RESTORER definitions from archs
which do not have it, makes access to the member conditional on
whether SA_RESTORER is defined for the arch, and removes the
now-unused asm for the affected archs.

because there are reportedly versions of qemu-user which also use the
wrong ABI here, the old ksigaction struct size is preserved with an
unused member at the end. this is harmless and mitigates the risk of
such a bug turning into a buffer overflow onto the sigaction
function's stack.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we wrongly defined a dummy SA_RESTORER flag on these archs, despite
the kernel interface not actually having such a feature. on archs
which lack SA_RESTORER, the kernel sigaction structure also lacks the
restorer function pointer member, which means the signal mask appears
at a different offset. the kernel was thereby interpreting the bits of
the code address as part of the signal set to be masked while handling
the signal.

this patch removes the erroneous SA_RESTORER definitions from archs
which do not have it, makes access to the member conditional on
whether SA_RESTORER is defined for the arch, and removes the
now-unused asm for the affected archs.

because there are reportedly versions of qemu-user which also use the
wrong ABI here, the old ksigaction struct size is preserved with an
unused member at the end. this is harmless and mitigates the risk of
such a bug turning into a buffer overflow onto the sigaction
function's stack.
</pre>
</div>
</content>
</entry>
</feed>
