Commit graph

5559 commits

Author SHA1 Message Date
David Carlier 57314125bb linux/android add ptracec_peeksiginfo_args struct. 2021-12-29 18:35:02 +00:00
bors 4281f02b4f Auto merge of #2417 - devnexen:user_regs_struct_arm64, r=Amanieu
linux/android aarch64 add user_regs_struct and user_fpsimd_struct
2021-12-29 11:33:57 +00:00
bors c0cbbbe0ed Auto merge of #2605 - solid-rs:fix-solid-wchar, r=Amanieu
kmc-solid: `wchar_t` is `u32`

This PR fixes the definition of `wchar_t` for the [`*-kmc-solid_*`](https://doc.rust-lang.org/nightly/rustc/platform-support/kmc-solid.html) targets.
2021-12-28 18:40:05 +00:00
Tomoaki Kawada c70ddd4b88 kmc-solid: wchar_t is u32 2021-12-27 13:32:53 +09:00
David Carlier 2e5cb86f0c solarish couple of strings fn. 2021-12-24 05:57:39 +00:00
bors 5e95cbb983 Auto merge of #2602 - devnexen:apple_fcntl_update, r=JohnTitor
apple fcntl fn update.
2021-12-24 02:07:00 +00:00
David CARLIER 7e06980217 apple fcntl fn update. 2021-12-23 18:18:17 +00:00
bors 6eff28d95d Auto merge of #2600 - devnexen:solarish_meminfo, r=JohnTitor
solarish add meminfo
2021-12-23 10:11:08 +00:00
bors 57f86484bb Auto merge of #2601 - devnexen:bsd_fcntl_fgetpath, r=JohnTitor
fcntl updates for DragonFlyBSD and NetBSD
2021-12-23 07:14:59 +00:00
David Carlier f95befa733 fcntl updates for DragonFlyBSD and NetBSD 2021-12-21 22:34:25 +00:00
David Carlier 0c83e9fbdc solarish add meminfo 2021-12-21 19:42:01 +00:00
bors e7517e840a Auto merge of #2599 - devnexen:solaris_extensions, r=Amanieu
solarish systems couple of fn extensions.
2021-12-20 21:44:43 +00:00
bors 008f1f05bb Auto merge of #2573 - devnexen:linux_seccomp_ext, r=Amanieu
linux seccomp extension for glibc
2021-12-20 20:40:01 +00:00
David Carlier 848c119c21 solarish systems couple of fn extensions. 2021-12-20 17:33:19 +00:00
David Carlier 621a3c2a54 linux seccomp extension for glibc 2021-12-20 14:05:05 +00:00
bors 172ebd09f2 Auto merge of #2583 - devnexen:fbsd14_fctnl_update, r=Amanieu
add new fcntl operation for freebsd 14.
2021-12-19 20:26:13 +00:00
David CARLIER ed010bfd38 add new fcntl operation for freebsd 14. 2021-12-19 19:13:21 +00:00
bors 1c67e33e8c Auto merge of #2598 - devnexen:linux_bpf_upd, r=Amanieu
linux BPF filters operands
2021-12-19 15:34:42 +00:00
David Carlier 75b6904875 linux BPF filters operands 2021-12-19 04:52:53 +00:00
bors e81e0685bc Auto merge of #2597 - devnexen:sched_setaffinity_upd_fbsd, r=Amanieu
freebsd sched_setaffinity signature had been fixed upstream.
2021-12-18 23:50:54 +00:00
bors c8751d2b95 Auto merge of #2596 - semarie:openbsd-ev_sysflags, r=Amanieu
EV_SYSFLAGS changed value on upcoming OpenBSD 7.1

Mark `EV_SYSFLAGS` deprecated and ignore it on tests.

The value changed on upcoming OpenBSD 7.1.

Note I don't find [any real usage](https://codesearch.debian.net/search?q=EV_SYSFLAGS&literal=1) of the value in code (outside libc copying/redefinition in Rust, Go or Python code).
2021-12-18 22:38:27 +00:00
David CARLIER a9f83e86f3 freebsd sched_setaffinity signature had been fixed upstream. 2021-12-17 17:44:25 +00:00
Sébastien Marie ef1787aa4b EV_SYSFLAGS changed value on upcoming 7.1 2021-12-17 08:57:34 +00:00
bors 4b8841a383 Auto merge of #2595 - Itus-Shield:master, r=Amanieu
mips64: add missing ENOTSUP const

ENOTSUP was added to Mips but not Mips64.

Signed-off-by: Donald Hoskins <grommish@gmail.com>

Reference Issue https://github.com/rust-lang/rust/issues/91976
2021-12-16 13:15:07 +00:00
Donald Hoskins ba8ad25e46 mips64: add missing ENOTSUP const
ENOTSUP was added to Mips but not Mips64.

Signed-off-by: Donald Hoskins <grommish@gmail.com>
2021-12-16 07:13:18 -05:00
bors f7ecd5d87a Auto merge of #2594 - devnexen:dfbsd_so_passcreds, r=Amanieu
dragonflybsd add SO_PASSCRED const.
2021-12-15 22:16:23 +00:00
David CARLIER 608c3c09ae dragonflybsd add SO_PASSCRED const. 2021-12-15 05:58:03 +00:00
bors a5b609cbd3 Auto merge of #2592 - skrap:uclibc-fix-extproc-type, r=Amanieu
uclibc: fix type of EXTPROC.

All of the other related constants are of type `tcflag_t`, but this one was wrong.  This change will fix the build of `nix`.

(Ref https://github.com/nix-rust/nix/pull/1603)
2021-12-15 02:42:45 +00:00
bors 1bb5275fd0 Auto merge of #2593 - skrap:uclibc-does-not-have-mlock2, r=Amanieu
uclibc does not have mlock2

This fixes the build for the uclibc targets, for example `armv7-unknown-linux-uclibceabihf`.
2021-12-15 01:34:07 +00:00
Jonah Petri 6fd16d6293 uclibc does not have mlock2 2021-12-13 21:06:58 -05:00
Jonah Petri 2ed4fbfcf0 uclibc: fix type of EXTPROC. 2021-12-13 20:57:13 -05:00
bors 55c44a250d Auto merge of #2590 - GuillaumeGomez:private-fields, r=Amanieu
Make some freebsd private struct fields public and upgrade crate version to 0.2.112

Otherwise we can't use the structs at all...
2021-12-13 17:39:49 +00:00
bors a11e45e880 Auto merge of #2591 - semarie:openbsd-archs, r=Amanieu
add more archs definition for openbsd

it adds libc definitions for more archs for openbsd: arm, mips64, powerpc, powerpc64, and riscv64.

it is a first iteration on adding support for at least some of them in rustc. I manually created them from OpenBSD source code and from clang crosscompilation output to determine type size and constants values.
2021-12-13 16:32:59 +00:00
Sébastien Marie 56234f6527 correct arm c_long size 2021-12-13 09:01:00 +00:00
Sébastien Marie f328dd771b add more archs definition for openbsd: arm, mips64, powerpc, powerpc64, riscv64 2021-12-13 08:46:04 +00:00
Guillaume Gomez 62e20fd4c3 Upgrade crate version to 0.2.112 2021-12-12 23:33:25 +01:00
Guillaume Gomez 4b0433d295 Make some private struct fields public 2021-12-12 23:33:25 +01:00
bors 18bfd17b15 Auto merge of #2589 - devnexen:sockcred2_fbsd_fix_proposal, r=Amanieu
freebsd proposal to move sockcred2 usage in the root mod while ignori…

…ng it for FreeBSD 12.
2021-12-12 18:02:59 +00:00
David CARLIER da089ce64f freebsd proposal to move sockcred2 usage in the root mod while ignoring it for FreeBSD 12. 2021-12-12 10:36:07 +00:00
bors f42fe9a349 Auto merge of #2588 - GuillaumeGomez:upgrade, r=Amanieu
Upgrade crate version to 0.2.111

r? `@Amanieu`
2021-12-11 18:33:57 +00:00
bors 9b054d8779 Auto merge of #2587 - rtzoeller:dfly_fallocate_fadvise, r=Amanieu
DragonFly supports posix_fallocate, stubs posix_fadvise

- https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/lib/libc/sys/posix_fallocate.2
- https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/lib/libc/stdlib/posix_fadvise.3
2021-12-11 17:28:08 +00:00
Guillaume Gomez 3608e31264 Upgrade crate version to 0.2.111 2021-12-11 15:04:40 +01:00
Ryan Zoeller 78ac7f0644 DragonFly supports posix_fallocate, stubs posix_fadvise 2021-12-11 04:12:26 -06:00
bors 720652a95b Auto merge of #2586 - GuillaumeGomez:getmntinfo, r=Amanieu
Add missing link_name for getmntinfo

r? `@Amanieu`
2021-12-10 21:48:47 +00:00
Guillaume Gomez 6192def039 Add missing link_name for getmntinfo 2021-12-10 21:47:52 +01:00
bors c9c88722bb Auto merge of #2585 - asomers:revert-pr2581, r=Amanieu
Revert "Fix invalid freebsd version selection"

This reverts commit 53e79b886b.

PR #2581 unintentionally changed libc's bindings from the FreeBSD 11 ABI
to the native ABI of the build host.  This is causing breakage for many
downstream crates.
2021-12-10 17:29:18 +00:00
Alan Somers 727d37a016 Revert "Fix invalid freebsd version selection"
This reverts commit 53e79b886b.

PR #2581 unintentionally changed libc's bindings from the FreeBSD 11 ABI
to the native ABI of the build host.  This is causing breakage for many
downstream crates.
2021-12-10 09:05:37 -07:00
bors 6b9d5099d1 Auto merge of #2584 - GuillaumeGomez:upgrade, r=Amanieu
Upgrade crate version to 0.2.110
2021-12-09 21:02:24 +00:00
bors ba77f2627f Auto merge of #2579 - devnexen:sd14_linux_sched_compat, r=Amanieu
freebsd 14 adding linux sched api compatibility fn.
2021-12-09 19:01:14 +00:00
bors 1725ca0cbb Auto merge of #2580 - devnexen:netbsd_few_more_ptrace_queries, r=Amanieu
netbsd adding few more ptrace queries types.
2021-12-09 17:53:30 +00:00