Commit graph

5766 commits

Author SHA1 Message Date
bors a2f7dac029 Auto merge of #2837 - devnexen:linux_ptr_auth_followup, r=JohnTitor
linux arm64 pointer, prctl  auth control follow-up.
2022-07-02 15:09:04 +00:00
David Carlier fbe15c6125 linux arm64 pointer, prctl auth control follow-up. 2022-06-29 06:31:37 +01:00
bors ce3d1a2b86 Auto merge of #2833 - devnexen:linux_prctl_update, r=JohnTitor
linux/glibc tagged ptr supports for arm64 control addition.
2022-06-26 09:35:46 +00:00
David Carlier a7df4defb3 linux/glibc tagged ptr supports for arm64 control addition. 2022-06-26 10:08:16 +01:00
bors cdfc35c553 Auto merge of #2834 - devnexen:task_set_info, r=JohnTitor
task_set_info addition, on macOs only.
2022-06-25 22:20:05 +00:00
David CARLIER 2962ad63ee task_set_info addition, on macOs only. 2022-06-24 19:17:57 +01:00
bors fc10a373c1 Auto merge of #2831 - JohnTitor:macos-12-ci, r=Amanieu
Upgrade macOS image to 12

macOS 12 on GHA is now GA: https://github.blog/changelog/2022-06-13-github-actions-macos-12-for-github-hosted-runners-is-now-generally-available/

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-22 12:12:47 +00:00
bors 061f3b07f5 Auto merge of #2830 - tiann:master, r=JohnTitor
Add rtnetlink.h, if_link.h, if_addr.h to Android

Here is the NDK header:

[rtnetlink.h](https://android.googlesource.com/platform/prebuilts/ndk/+/dev/platform/sysroot/usr/include/linux/rtnetlink.h)
[if_link.h](https://android.googlesource.com/platform/prebuilts/ndk/+/dev/platform/sysroot/usr/include/linux/if_link.h)
[if_addr.h](https://android.googlesource.com/platform/prebuilts/ndk/+/dev/platform/sysroot/usr/include/linux/if_addr.h)

It is the same with Linux header, so i copied it from:https://github.com/rust-lang/libc/blob/master/src/unix/linux_like/linux/mod.rs
2022-06-22 09:09:17 +00:00
tiann f5b47404c3
Add rtnetlink.h, if_addr.h, if_link.h header to Android 2022-06-22 16:48:47 +08:00
bors 9dc2b725e2 Auto merge of #2823 - brunowonka:fuchsia, r=JohnTitor
Add IPv6 CMSG options to Fuchsia
2022-06-21 22:39:12 +00:00
Bruno Dal Bo f2b3a45a08 Automatically derive traits for in6_pktinfo 2022-06-21 11:10:49 -07:00
tiann 8630d92039
Add rtnetlink.h, if_link.h header to Android 2022-06-22 00:58:44 +08:00
Yuki Okushi 1bb4ab3acf
Remove a workaround for older macOS
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-21 23:34:30 +09:00
Yuki Okushi 3655f46581
Upgrade macOS image to 12
macOS 12 on GHA is now GA: https://github.blog/changelog/2022-06-13-github-actions-macos-12-for-github-hosted-runners-is-now-generally-available/

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-21 23:17:59 +09:00
bors f292633ab2 Auto merge of #2829 - devnexen:fbsd_mfd_upd, r=Amanieu
memfd_create additional flags for FreeBSD.
2022-06-20 01:37:49 +00:00
David CARLIER 25f21514ad memfd_create additional flags for FreeBSD. 2022-06-19 23:28:45 +01:00
bors 956ea0e50a Auto merge of #2828 - JohnTitor:remove-rumprun-support, r=Amanieu
Drop support for Rumprun

Closes #2091

Also, document "Supported target policy" on the contributing.md. I'm not sure what we should say other than "Rust removes it, we also may remove it", so put only that for now. Any suggestion is appreciated.

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-19 10:06:41 +00:00
Yuki Okushi a0d4f2d78e
Remove rumprun-related code
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-19 11:37:41 +09:00
Yuki Okushi 7889f955d8
Document "Supported target policy"
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-19 11:36:17 +09:00
bors a318a94adf Auto merge of #2827 - devnexen:task_api_macos_upd, r=Amanieu
task_threads addition for macOs
2022-06-18 15:35:38 +00:00
David CARLIER 3a328b761d task_threads addition for macOs 2022-06-17 13:50:37 +01:00
bors 6b6a6a7818 Auto merge of #2826 - devnexen:apple_task_api, r=JohnTitor
apple add task_create/task_terminate
2022-06-14 22:55:22 +00:00
David CARLIER b6676b7eee apple add task_create/task_terminate 2022-06-14 19:56:27 +01:00
bors eecb6488ef Auto merge of #2824 - JohnTitor:style-check-fix, r=Amanieu
Don't check typedefs in impls in style checker

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-13 16:28:08 +00:00
Bruno Dal Bo e0558a931b in6_pktinfo.ipi6_ifindex is unsigned 2022-06-13 08:15:30 -07:00
bors 81c333f0ec Auto merge of #2825 - devnexen:haiku_sigaltstack, r=JohnTitor
haiku sigaltstack api completion.
2022-06-13 10:49:32 +00:00
David Carlier 18d8131e52 haiku sigaltstack api completion. 2022-06-12 16:50:05 +00:00
bors 6b07546e09 Auto merge of #2822 - GuillaumeGomez:__error-alias, r=JohnTitor
Add doc aliases on __error() function

We recommend using `__errno_location` everywhere except on apple and freebsd targets, which is a bit confusing.

I can instead reexport it as `__errno_location` if you prefer?
2022-06-12 10:40:36 +00:00
Guillaume Gomez b5499def1b Add doc aliases on __error() function 2022-06-12 12:12:33 +02:00
Yuki Okushi ba9676c069
Format style checker
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-12 15:26:49 +09:00
Yuki Okushi 9a193b0935
Don't check typedefs in impls in style checker
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-12 15:26:42 +09:00
Bruno Dal Bo 7bab394927 Add IPv6 CMSG options to Fuchsia 2022-06-10 16:10:22 -07:00
bors 4042ce2ee1 Auto merge of #2820 - JohnTitor:1-62-const-extern-fn, r=Amanieu
Enable `libc_const_extern_fn` implicitly from Rust 1.62

const_extern_fn for "C" has been stabilized since 1.62: https://github.com/rust-lang/rust/pull/95346
This enables the const-extern-fn feature implicitly from 1.62, but leaves the crate feature as-is for compatibility and old nightlies.
Closes #2785
2022-06-09 11:23:53 +00:00
Yuki Okushi 4a84f34879
Correctly handle some consts declaration on macOS 2022-06-09 19:26:15 +09:00
bors bbf43e88b3 Auto merge of #2821 - JohnTitor:update-semverver-0.1.50, r=Amanieu
Update semverver to 0.1.50
2022-06-08 23:29:03 +00:00
Yuki Okushi efdd7b8400
Update semverver to 0.1.50 2022-06-08 21:01:57 +09:00
Yuki Okushi 576f77814c
Enable libc_const_extern_fn implicitly from Rust 1.62 2022-06-08 17:42:05 +09:00
bors e534fd88e3 Auto merge of #2817 - devnexen:macos_arm64_context_upd, r=JohnTitor
ucontext usage update on macos 64 bits.

closes #2812
2022-06-07 14:15:52 +00:00
David CARLIER 2d11246bb7 ucontext usage update on macos 64 bits.
closes #2812
2022-06-07 11:46:17 +01:00
bors 6fed506081 Auto merge of #2814 - lattice0:feature-android-sys-prctl.h, r=JohnTitor
adds android sys/prctl.h

adds some sys/prctl.h symbols to Android, checked against the NDK .h file for validity of numbers.

These are needed for making [firecracker](6b4a4b1c04/src/seccompiler/src/backend.rs (L943)) work on Android hosts
2022-06-05 04:39:31 +00:00
Lattice 0 afad5584e4 adds some android symbols 2022-06-02 20:03:02 -03:00
bors 99756b1a97 Auto merge of #2811 - devnexen:linux_clone_args, r=JohnTitor
linux 64 bits gnu/musl add clone_args for clone3 syscall.
2022-05-31 11:14:03 +00:00
David Carlier ff11bdc0c9 linux 64 bits gnu/musl add clone_args for clone3 syscall. 2022-05-31 11:39:43 +01:00
bors 37da201dba Auto merge of #2810 - devnexen:haiku_somaxconn, r=JohnTitor
haiku SOMAXCONN constant
2022-05-31 04:33:07 +00:00
bors 7ecea9ac6d Auto merge of #2808 - devnexen:linux_somaxconn_rework, r=Amanieu
linux SOMAXCONN rework proposal.

glibc had increased to 4096 since couple of years already.
2022-05-31 03:30:43 +00:00
bors f70d55b9f5 Auto merge of #2806 - JohnTitor:windows-2022, r=Amanieu
Upgrade Windows runners to windows-2022
2022-05-31 02:25:34 +00:00
bors a516031c2e Auto merge of #2805 - JohnTitor:fix-ordering-setreuid, r=Amanieu
Order `setre{g,u}id` alphabetically

Pointed out in https://github.com/rust-lang/libc/pull/2803#discussion_r884083836
2022-05-31 01:23:09 +00:00
bors 4a18571177 Auto merge of #2804 - JohnTitor:cleanup-freebsd-test, r=Amanieu
Remove workarounds for old FreeBSDs on libc-test

Fixes #2546

This doesn't remove cfgs for old FreeBSDs as [it caused a regression in the past](https://github.com/rust-lang/libc/pull/2585).
2022-05-31 00:20:49 +00:00
bors 23fbf1c6b4 Auto merge of #2807 - devnexen:solaris_somaxconn, r=JohnTitor
solarish systems SOMAXCONN constant
2022-05-30 23:10:16 +00:00
David Carlier 87835a94c7 haiku SOMAXCONN constant 2022-05-30 18:05:53 +01:00