bors
82f0201f4a
Auto merge of #2809 - AlekseiNikiforovIBM:musl-s390x-support, r=JohnTitor
...
Musl s390x: add ENOTSUP alias for EOPNOTSUPP
2022-05-30 15:35:25 +00:00
Aleksei Nikiforov
c94c198442
Musl s390x: add ENOTSUP alias for EOPNOTSUPP
2022-05-30 15:15:08 +02:00
David Carlier
847d4ebf04
solarish systems SOMAXCONN constant
2022-05-28 16:46:01 +01:00
David Carlier
cdd7181b45
linux SOMAXCONN rework proposal.
...
glibc had increased to 4096 since couple of years already.
2022-05-28 15:59:39 +01:00
bors
51d07d5675
Auto merge of #2607 - devnexen:user_fpsimd_struct_arm64, r=Amanieu
...
linux glibc add user_fpsimd_struct struct
2022-05-28 07:54:42 +00:00
Yuki Okushi
f94e9477db
Upgrade Windows runners to windows-2022
2022-05-28 16:24:57 +09:00
Yuki Okushi
0e8078b444
Order setre{g,u}id
alphabetically
2022-05-28 16:10:10 +09:00
bors
178efa9ca9
Auto merge of #2803 - edigaryev:unix-setreuid-setregid, r=JohnTitor
...
unix: setreuid/setregid
This adds [`setreuid()`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/setreuid.html ) and [`setregid()`](https://pubs.opengroup.org/onlinepubs/9699919799/functions/setregid.html ) on `unix`.
2022-05-28 05:56:30 +00:00
Yuki Okushi
446c6fb164
Remove workarounds for old FreeBSDs on libc-test
2022-05-28 14:11:52 +09:00
bors
0b6779ab70
Auto merge of #2801 - devnexen:macos_ipv6_bound_if, r=JohnTitor
...
apple adding `IPV6_BOUND_IF` socket constant.
closes #2793
2022-05-28 04:55:13 +00:00
bors
187091bae1
Auto merge of #2802 - Minoru:bugfix/user_fpregs_struct-impls, r=JohnTitor
...
Add `swd` field to impls for user_fpregs_struct
Addresses https://github.com/rust-lang/libc/pull/2748#discussion_r880853330
2022-05-28 03:51:35 +00:00
Nikolay Edigaryev
fe8575f553
unix: setreuid/setregid
2022-05-27 22:23:14 +03:00
Alexander Batischev
5e77aa0793
Add swd
field to impls for user_fpregs_struct
...
Addresses https://github.com/rust-lang/libc/pull/2748#discussion_r880853330
2022-05-26 21:54:00 +03:00
David CARLIER
bca896be1d
apple adding IPV6_BOUND_IF
socket constant.
...
closes #2793
2022-05-26 18:16:58 +01:00
bors
13afe8ac53
Auto merge of #2798 - devnexen:dfbsd_kvm_update2, r=Amanieu
...
dragonflybsd adding vmspace data.
2022-05-24 17:28:24 +00:00
David Carlier
72b64be671
dragonflybsd adding vmspace data.
2022-05-24 19:13:17 +01:00
bors
474d87e2ae
Auto merge of #2792 - Freaky:netbsd_kinfo_proc2, r=Amanieu
...
Add NetBSD ki_sigset_t, kinfo_proc2, and kinfo_lwp structs
2022-05-24 12:49:56 +00:00
bors
7c67179682
Auto merge of #2791 - openqrnch:macos-rawsock, r=Amanieu
...
Macos rawsock
Add some types needed for raw socket access on macos.
2022-05-24 11:46:44 +00:00
bors
91e6aa5cdd
Auto merge of #2796 - devnexen:dfbsd_kvm_update, r=Amanieu
...
dragonflybsd adding subset of kvm api
2022-05-24 10:22:34 +00:00
bors
ce9aa3c44d
Auto merge of #2797 - Amanieu:unused_macro2, r=Amanieu
...
Clean up lints around unused macros
2022-05-23 17:31:18 +00:00
Amanieu d'Antras
d55d5930d9
Clean up lints around unused macros
2022-05-23 17:40:44 +01:00
David Carlier
fce832a033
dragonflybsd adding subset of kvm api
2022-05-22 10:13:23 +01:00
Thomas Hurst
22cf59ffb8
Add NetBSD ki_sigset_t, kinfo_proc2, and kinfo_lwp structs
2022-05-17 16:40:36 +00:00
Jan Danielsson
adb6cae853
Add missing headers for tests on macos.
2022-05-17 13:01:30 +02:00
Jan Danielsson
9cf52cfe9b
Add NDRV address/protocol family.
2022-05-17 01:46:01 +02:00
Jan Danielsson
608ee98556
Add sockaddr_ndrv type for raw sockets on macos.
2022-05-17 01:20:32 +02:00
bors
5add164cd9
Auto merge of #2789 - s1341:bump_version_to_0_2_126, r=Amanieu
...
Bump version to 0.2.126
2022-05-16 22:36:18 +00:00
bors
affe51f4fb
Auto merge of #2790 - Amanieu:fix-macro-rules-lint, r=Amanieu
...
Allow unused macro rules
2022-05-16 21:34:42 +00:00
Amanieu d'Antras
b3b81a7a6c
Allow unused macro rules
2022-05-16 23:22:57 +02:00
s1341
cf1ccd8045
Bump version to 0.2.126
2022-05-15 09:50:53 +03:00
bors
cd99f68118
Auto merge of #2768 - colincross:pthread_setname_np, r=Amanieu
...
Promote pthread_getname_np and pthread_setname_np from glibc to linux
musl libc added pthread_setname_np in 1.1.16 and pthread_getname_np
in 1.2.3, and uClibc has had them since v1.0.20.
2022-05-11 03:11:58 +00:00
bors
454fb0ef68
Auto merge of #2748 - s1341:add_android_x86_64_user_struct, r=Amanieu
...
Add android x86_64 user struct
This PR adds the `user`, `user_regs_struct` and `user_fpregs_struct` structures to android x86_64
2022-05-11 02:04:56 +00:00
bors
c3e4df1b3d
Auto merge of #2786 - Freaky:openbsd_kinfo_proc, r=Amanieu
...
Add OpenBSD kinfo_proc struct
2022-05-11 01:02:33 +00:00
Colin Cross
af887f0dec
Promote pthread_getname_np and pthread_setname_np from glibc to linux
...
musl libc added pthread_setname_np in 1.1.16 and pthread_getname_np
in 1.2.3, and uClibc has had them since v1.0.20.
2022-05-10 18:01:30 -07:00
Thomas Hurst
ae7a8f8b7a
Add OpenBSD kinfo_proc struct
2022-05-10 17:02:11 +00:00
s1341
b484a8d963
Move user struct into x86_64
2022-05-09 09:35:13 +03:00
bors
a72d300fd0
Auto merge of #2783 - Freaky:dfbsd_kinfo_proc, r=Amanieu
...
Add DragonFlyBSD kinfo_proc and kinfo_lwp structs
This adds the aforementioned structs and a few supporting enums and constants.
I added the structs to semvar - contribution guidelines also say to add constants (and presumably enums) but I don't see this done for similar values to the ones I added so I'm unclear if there's some subtlety to this I'm missing.
One field is also expected to be rounded up to the nearest sizeof(long). Rather than worry about cfg() or whether I can use const size_of, I just assumed 8 bytes, as DragonFly's last 32-bit release was nearly 8 years ago.
2022-05-09 02:28:18 +00:00
bors
4d72a19206
Auto merge of #2782 - asomers:kevent-data, r=Amanieu
...
Fix definition of kevent.data on 32-bit FreeBSD 12+
FreeBSD 12 changed this field from intptr_t to __int64_t
2022-05-09 01:25:02 +00:00
bors
bdf2f4c380
Auto merge of #2780 - asomers:LIO_READV, r=Amanieu
...
Add LIO_READV and LIO_WRITEV on FreeBSD
They are used along with lio_listio for non-POSIX vectored operations.
2022-05-09 00:15:56 +00:00
bors
4f88b8d4ce
Auto merge of #2784 - nmeum:riscv64-enotsup, r=Amanieu
...
Add ENOTSUP constant for riscv64 musl
Previously:
* https://github.com/rust-lang/libc/pull/2595
* https://github.com/rust-lang/libc/pull/1971
* https://github.com/rust-lang/libc/pull/448
but not of these added the constant for riscv64 musl and rustc itself seems to use it nowadays.
2022-05-08 22:52:03 +00:00
Sören Tempel
1c5bc66f7b
Add ENOTSUP constant for riscv64 musl
2022-05-08 17:34:02 +02:00
Thomas Hurst
dbe3c5a426
Add DragonFlyBSD kinfo_proc and kinfo_lwp structs
2022-05-07 23:10:33 +00:00
Alan Somers
57683914e7
Add LIO_READV and LIO_WRITEV on FreeBSD
...
They are used along with lio_listio for non-POSIX vectored operations.
2022-05-07 08:21:34 -06:00
Alan Somers
3608a81b9a
Fix definition of kevent.data on FreeBSD 12+
...
FreeBSD 12 changed this field from intptr_t to __int64_t
2022-05-07 08:00:33 -06:00
bors
78d6835374
Auto merge of #2777 - jjl:musl-malloc_usable_size, r=Amanieu
...
add malloc_usable_size for musl
2022-05-05 21:37:14 +00:00
bors
7b5afd251f
Auto merge of #2776 - cww0614:socks_txtime_mips_musl, r=Amanieu
...
Enable sock_txtime on mips musl target
The struct and related constants were originally added in #2415 . But they weren't enabled for mips musl target because the kernel version of the build image was old and they couldn't pass the build. Now the kernel version of the build image is already updated and I think we could enable them for mips musl target
2022-05-05 20:35:37 +00:00
bors
e53cf4fcbd
Auto merge of #2775 - asomers:aio_writev2, r=Amanieu
...
Enable aio_{read,write}v on FreeBSD
When I originally added these symbols, I put them in the freebsd13
module. But I needn't have, since they didn't change any existing
symbols. Instead, as totally new symbols, they should've gone into the
freebsd module. This way they can actually be used.
2022-05-05 19:33:04 +00:00
bors
9a6c13a328
Auto merge of #2773 - semarie:openbsd-const, r=Amanieu
...
openbsd: constantify some arguments of openpty() and forkpty()
OpenBSD recently made `termp` and `winp` arguments of `openpty()` and `forkpty()` const.
to match the prototypes in glibc and musl libc.
It was done in [following commit](78fa49ead5
), which will be part of OpenBSD 7.2 .
2022-05-05 18:26:40 +00:00
bors
01d1fcfe05
Auto merge of #2772 - devnexen:haiku_build_fix2, r=Amanieu
...
haiku build fix
2022-05-05 17:20:30 +00:00
bors
dcd0a6962e
Auto merge of #2743 - zx2c4-forks:grnd_insecure, r=Amanieu
...
linux: add GRND_INSECURE constant
This is available on kernels ≥5.6.
2022-05-05 15:09:57 +00:00