Commit graph

5465 commits

Author SHA1 Message Date
bors f856aa6121 Auto merge of #2677 - devnexen:fbsd14_tcp_flags, r=Amanieu
freebsd 14 new tcp constants.
2022-02-12 18:22:40 +00:00
bors 14c9ec101d Auto merge of #2661 - devnexen:solarish_lgrp_api, r=Amanieu
solarish lgrp api subset
2022-02-12 17:12:19 +00:00
David Carlier c620c5577e solarish lgrp api subset 2022-02-12 14:58:40 +00:00
bors f0a06e2e6d Auto merge of #2679 - devnexen:fbsd_flopenapi, r=Amanieu
flopen from libutil on freebsd
2022-02-12 14:03:00 +00:00
David CARLIER 59da5c9247 flopen from libutil on freebsd 2022-02-12 13:09:49 +00:00
bors 3151997253 Auto merge of #2678 - devnexen:solarish_sysinfo, r=Amanieu
solarish systeminfo
2022-02-12 12:52:12 +00:00
David Carlier 65db99d465 solarish systeminfo 2022-02-11 22:03:59 +00:00
David CARLIER edead08035 freebsd 14 new tcp constants. 2022-02-11 19:14:47 +00:00
bors ec88c377ab Auto merge of #2676 - Amanieu:arm_mcontext, r=Amanieu
Add mcontext_t and ucontext_t for ARM Linux
2022-02-11 19:08:14 +00:00
Amanieu d'Antras 26665e70d5 Implement extra traits for ucontext_t 2022-02-11 19:02:27 +00:00
Amanieu d'Antras de8654b3a3 Add mcontext_t and ucontext_t for ARM Linux 2022-02-11 16:43:08 +00:00
bors b30ec401fc Auto merge of #2560 - jclulow:illumos-2021-11-22, r=Amanieu
several illumos fixes, and some additional termios constants

I wanted to add some of the new baud rate constants that [we added recently](https://www.illumos.org/issues/13975).  On the way there, I had to make a variety of fixes to get the tests to pass on illumos systems.
2022-02-11 12:09:31 +00:00
Joshua M. Clulow 60213e169f illumos: higher baud rates, more termios constants
We added baud rate constants that are source compatible with Linux
systems when used with the cfsetspeed() family, in:

    https://www.illumos.org/issues/13975
2022-02-10 15:54:25 -08:00
Patrick Mooney 0c417e8504 solarish: Fix tests for subsequent additions 2022-02-10 15:54:25 -08:00
Joshua M. Clulow aee5ce5e0a illumos: fixes to get tests to pass
Various small fixes to the tests to include all the required headers,
and to add some constants that are now part of the "unix" semver list,
and to drop "sethostid()" which is not something we have on our
platform, etc.
2022-02-10 15:54:25 -08:00
Joshua M. Clulow 0c2ae734d9 illumos: fixes for mcontext_t and related types
Some of the type information in the machine context types, with
particular focus on the padding unions, was not quite right.  It seems
we have used the somewhat baroque "long double" in the system headers,
and Rust does not have a type that matches that data layout.  I have
adjusted the structs to omit that member, but to be explicitly aligned
to match the C version.

I also gagged a test for the "fp_reg_set" member which is of an
anonymous union type.

Portions contributed by: Patrick Mooney <pmooney@pfmooney.com>
2022-02-10 15:54:25 -08:00
Joshua M. Clulow 96e2e3aeb4 illumos does not yet have SO_REUSEPORT
The semver regression checks in #2109 included the "SO_REUSEPORT"
constant, which we do not yet have on illumos systems.  Move it out to
platform-specific files.
2022-02-10 15:54:24 -08:00
Joshua M. Clulow 4249c68028 illumos: sendfile(3EXT) is in libsendfile, not libc
As per https://illumos.org/man/3EXT/sendfile a separate header and
library are required to access sendfile() and sendfilev() on illumos
systems.
2022-02-10 15:54:24 -08:00
Joshua M. Clulow c14a884c57 illumos: wrong values for F_OFD_*
The test suite flagged that incorrect values for some fcntl(2) constants
were added in #2083.  I have fixed the values so that they are correct
for 64-bit programs, which Rust programs always are on illumos.
2022-02-10 15:54:24 -08:00
bors 9c7a326a2c Auto merge of #2674 - devnexen:fbsd_tcp_function, r=Amanieu
freebsd tcp.h data update
2022-02-10 17:39:20 +00:00
David CARLIER b4bcbaa965 freebsd tcp.h data update 2022-02-10 16:46:08 +00:00
bors a1286b96b6 Auto merge of #2675 - qwandor:seal, r=Amanieu
Android: Add F_SEAL_FUTURE_WRITE constant.
2022-02-10 16:34:27 +00:00
Andrew Walbran 3fabad8295 Android: Add F_SEAL_FUTURE_WRITE constant. 2022-02-10 15:22:39 +00:00
bors c55c52d35f Auto merge of #2673 - devnexen:linux_mempolicies_flags, r=Amanieu
linux glibc/android memory policies flags
2022-02-08 15:21:39 +00:00
David Carlier 510c45896a linux glibc/android memory policies flags 2022-02-08 15:18:56 +00:00
bors c8ca99b26b Auto merge of #2671 - devnexen:haiku_ppoll, r=Amanieu
haiku ppoll fn addition
2022-02-06 19:20:12 +00:00
bors 8b05ed7ebb Auto merge of #2670 - devnexen:fbsd_dfbsd_sched_upd, r=Amanieu
bsd sched api update
2022-02-06 18:08:59 +00:00
bors d5f6f7aa66 Auto merge of #2668 - CoelacanthusHex:feat/riscv64/const/PTRACE, r=Amanieu
feat(riscv64,gnu): add some const PTRACE_*

* PTRACE_GETFPREGS
* PTRACE_SETFPREGS
* PTRACE_GETFPXREGS
* PTRACE_SETFPXREGS
* PTRACE_GETREGS
* PTRACE_SETREGS

get from sys/ptrace.h of riscv64 glibc

Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
2022-02-06 17:02:15 +00:00
bors ebc145f06f Auto merge of #2667 - devnexen:fcopyfile_mac, r=Amanieu
(f)copyfile fn for apple
2022-02-06 15:58:42 +00:00
bors 6449ebca20 Auto merge of #2414 - glaubitz:m68k-linux, r=Amanieu
Add initial support for m68k-unknown-linux-gnu

This adds initial support for m68k-unknown-linux-gnu to libc.

CC `@ricky26` `@jrtc27`
2022-02-06 14:54:54 +00:00
John Paul Adrian Glaubitz 7a027d34c2 Add initial support for m68k-unknown-linux-gnu 2022-02-06 15:34:57 +01:00
bors 6e8254872d Auto merge of #2657 - devnexen:fbsd14_ptrace_regset_upd, r=Amanieu
freebsd 14 add new PT_GETREGSET/PT_SETREGSET flag
2022-02-06 13:49:55 +00:00
Coelacanthus a08edb469f
feat(riscv64,gnu): add some const PTRACE_*
* PTRACE_GETFPREGS
* PTRACE_SETFPREGS
* PTRACE_GETFPXREGS
* PTRACE_SETFPXREGS
* PTRACE_GETREGS
* PTRACE_SETREGS

get from sys/ptrace.h of riscv64 glibc

Signed-off-by: Coelacanthus <coelacanthus@outlook.com>
2022-02-06 21:42:45 +08:00
David Carlier 8b0e198a39 haiku ppoll fn addition 2022-02-05 07:47:26 +00:00
David CARLIER b1b4745c19 bsd sched api update 2022-02-05 06:17:51 +00:00
David CARLIER 4bebc22a1c freebsd 14 add new PT_GETREGSET/PT_SETREGSET flag 2022-02-03 16:12:15 +00:00
David CARLIER 4dfb4de87d (f)copyfile fn for apple 2022-02-03 08:52:40 +00:00
bors 34a9889173 Auto merge of #2666 - rschulman:master, r=Amanieu
Bump version number to prep for publish

Making a new release so I can build std for riscv64gc-unknown-linux-musl. Thanks!
2022-02-02 16:53:57 +00:00
Ross Schulman e01f46c57b Bump version number to prep for publish 2022-02-01 16:26:31 -05:00
bors dca3daecfa Auto merge of #2664 - rschulman:master, r=joshtriplett
Add 400-series syscalls to musl riscv64 definitions

This PR adds 19 missing syscalls to the riscv64 musl definitions. The missing calls were copied directly from the riscv64 GNU definitions. The missing definitions (in particular `SYS_clone3`) are preventing compiling `std` for `riscv64gc-unknown-linux-musl`.
2022-02-01 17:14:32 +00:00
Ross Schulman 7b3bc1de0c
Add 400-series syscalls to musl riscv64 definitions 2022-02-01 09:13:16 -05:00
bors f2592e73fb Auto merge of #2662 - michaelgrigoryan25:master, r=Amanieu
Removed Apache License appendix

Related issues: #2660; https://github.com/rust-lang/rust/pull/67734
2022-01-31 23:17:05 +00:00
bors 7a7138d087 Auto merge of #2663 - mkpowers:mkpowers/update-android-if-constants, r=Amanieu
Add IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO constants to Android
2022-01-31 21:02:16 +00:00
Mackenzie Powers f6e0a37551 Add IFF_LOWER_UP, IFF_DORMANT, IFF_ECHO constants to Android 2022-01-31 09:29:32 -08:00
Michael Grigoryan 0aaa193103
Removed Apache License appendix 2022-01-31 18:17:33 +04:00
bors 2dc7cfe3f5 Auto merge of #2659 - tmandry:fix-freebsd-std, r=Amanieu
Gate PartialEq and Eq on freebsd objects behind extra_traits

This fixes the failure in https://github.com/rust-lang/rust/pull/93351#issuecomment-1024049582.

These derives were recently added in #2565. Other PartialEq/Eq derives in the project (and this file) are all behind the `extra_traits` gate.
2022-01-28 18:17:43 +00:00
Tyler Mandry e5f0e5fcfe Bump version to 0.2.116 2022-01-28 17:30:10 +00:00
Tyler Mandry f1f325edd7 Gate PartialEq and Eq on freebsd objects behind extra_traits 2022-01-28 17:26:02 +00:00
bors ba81130767 Auto merge of #2480 - Meziu:master, r=Amanieu
ARMv6K Horizon OS support

Added support for the Horizon OS Nintendo 3DS system `Newlib` declarations.

Edit: after some changes, networking is now stable with standardized API.
2022-01-28 10:02:10 +00:00
bors 9ed71fa716 Auto merge of #2656 - kraj:rv64-musl-defines, r=Amanieu
riscv64/mod.rs: Add missing error codes

These are flagged by apps e.g. python3-pyruvate

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-28 07:44:33 +00:00