Commit graph

1089 commits

Author SHA1 Message Date
bors bc9ea0bb6a Auto merge of #2706 - abalmos:add-j1939, r=Amanieu
Add SocketCan J1939 constants and structs

Add SocketCan J1939 constants and structs.

Blocking a PR to `nix` to wrap SocketCan's j1939 module.
2022-03-11 17:43:13 +00:00
Andrew Balmos 06a74e0308
Move typedefs into skip_types and clean up
Signed-off-by: Andrew Balmos <andrew@balmos.org>
2022-03-08 11:25:46 -05:00
bors 1708299c6b Auto merge of #2711 - devnexen:haiku_build_fix, r=Amanieu
haiku build fixes
2022-03-07 23:45:11 +00:00
David Carlier 8a729d59f3 haiku build fixes 2022-03-07 21:00:45 +00:00
Andrew Balmos 6991bfa691
Don't test J1939 on musl.
Kernel headers too old.

Signed-off-by: Andrew Balmos <andrew@balmos.org>
2022-03-07 12:43:06 -05:00
David Carlier 365ffa80e8 openbsd hash search api 2022-03-05 08:12:51 +00:00
Andrew Balmos 99045cdc69
Re-add exceptions that are needed by old targets
Signed-off-by: Andrew Balmos <andrew@balmos.org>
2022-03-03 17:17:58 -05:00
Andrew Balmos d590b80766
Exempt J1939 constants and remove old exceptions
Signed-off-by: Andrew Balmos <Andrew Balmos>
2022-03-03 14:17:10 -05:00
Andrew Balmos a5470ce96f
Add SocketCan J1939 constants and structs
Signed-off-by: Andrew Balmos <andrew@balmos.org>
2022-03-03 13:50:33 -05:00
David Carlier 13eda020dc openbsd add lsearch/lfind fn. 2022-03-03 08:17:18 +00:00
David CARLIER 921130a93f adding getlocalbase to freebsd 13 2022-03-02 22:07:20 +00:00
Stefan Hajnoczi 496c9ccf4e Add Linux BLKIOMIN and BLKIOOPT ioctl constants
These ioctl constants are used to fetch the minimum and optimal I/O
sizes for block devices.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2022-03-01 17:12:53 +00:00
David Carlier 3044f1bc84 linux glibc add getentropy. 2022-02-26 14:34:44 +00:00
bors 3f035c0d5e Auto merge of #2693 - devnexen:solarish_getisax, r=Amanieu
solarish getisax/auxiliary vector constants
2022-02-19 17:40:19 +00:00
David Carlier de71d927aa solarish getisax/auxiliary vector constants 2022-02-19 16:52:03 +00:00
bors 7fa08a441e Auto merge of #2692 - devnexen:mempolicy_update2, r=Amanieu
linux/android mempolicy options update
2022-02-19 15:28:37 +00:00
David Carlier dc6b377e34 linux/android mempolicy options update 2022-02-19 14:23:56 +00:00
lyinch 57858f7387 Bump version to 0.2.119 2022-02-18 23:31:26 +01:00
lyinch 4655f14858 Bump version to 0.2.119 2022-02-18 23:30:25 +01:00
lyinch 2b9472b5ab Add CLOCK_UPTIME_RAW symbol for macos aarch64 2022-02-17 17:01:31 +01:00
Amanieu d'Antras 10d456601b Bump version to 0.2.118 2022-02-15 10:21:18 +00:00
bors ea701b26b2 Auto merge of #2665 - devnexen:solarish_dl_phdr_api2, r=Amanieu
solarish systems dl_iterate_phdr support
2022-02-14 23:50:42 +00:00
David Carlier 848a12cb9c solarish systems dl_iterate_phdr support 2022-02-14 23:01:54 +00:00
David Carlier 0a0158947b BSD add deterministic rand api 2022-02-14 20:23:23 +00:00
bors acd773d4a4 Auto merge of #2684 - Amanieu:fix-android-ci, r=Amanieu
Fix multiple symbol definitions on Android CI

The breakage was caused by https://github.com/rust-lang/rust/pull/83822 which removed `-Wl,--allow-multiple-definition` from the Android target linker flags.
2022-02-14 14:57:29 +00:00
Amanieu d'Antras 95c0d08166 Fix multiple symbol definitions on Android CI 2022-02-14 14:57:14 +00:00
bors 7cd6a6f629 Auto merge of #2681 - rtzoeller:dfly_more_errors, r=Amanieu
Define ENOTRECOVERABLE and EOWNERDEAD on DragonFly

Corresponds to DragonFly commit [c907b81a9d9aa73a2c8f1b41387347bc0eb66ba5](c907b81a9d)
2022-02-12 20:53:12 +00:00
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
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
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
Ryan Zoeller dcc8b778fa Define ENOTRECOVERABLE and EOWNERDEAD on DragonFly
Corresponds to DragonFly commit c907b81a9d9aa73a2c8f1b41387347bc0eb66ba5
2022-02-10 17:39:51 -06:00
David CARLIER b4bcbaa965 freebsd tcp.h data update 2022-02-10 16:46:08 +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 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
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 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