toolchain/musl: add support for renameat2()
authorTony Ambardar <itugrok@yahoo.com>
Wed, 12 Jun 2024 05:30:48 +0000 (22:30 -0700)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 13 Jun 2024 12:16:32 +0000 (14:16 +0200)
commitcc6a1e2abcdf32fc829755026f4dcb56d6dcde4a
treea99ed46c5c1de8e0ddb3c76a48f8e70158b4de79
parent75a76355cb674209589f6a33f116b5424cac2cdc
toolchain/musl: add support for renameat2()

Backport an upstream patch to support the renameat2 syscall, added in Linux
3.15 and supported by glibc since 2.28. It is commonly used in filesystem
or security contexts, and needed building upstream kernel bpf selftests.

Link:
https://inbox.vuxu.org/musl/20240421153640.379015-1-Tony.Ambardar@gmail.com/

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15697
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
toolchain/musl/patches/610-add-renameat2-linux-syscall-wrapper.patch [new file with mode: 0644]