Commit Graph

2423 Commits

Author SHA1 Message Date
bors
091669f144 Auto merge of #1117 - jakllsch:netbsd-extattr-signatures, r=gnzlbg
NetBSD: fix extattr_set_* return types
2018-10-31 16:08:51 +00:00
bors
b95fa26533 Auto merge of #1115 - asomers:libutil_overlinking, r=alexcrichton
On FreeBSD and Dragonfly, don't unnecessarily link to libutil

Also, alphabetize this section, since I'm merging two sections anyway.

Fixes #1113
2018-10-31 14:21:22 +00:00
bors
9525816b10 Auto merge of #1108 - jakllsch:netbsd-pthread-types, r=alexcrichton
NetBSD: fix pthread types on arm and powerpc
2018-10-31 13:32:31 +00:00
Jonathan A. Kollasch
21258da87e NetBSD: fix extattr_set_* return types 2018-10-31 13:27:02 +00:00
gnzlbg
87ea744b3a
Merge pull request #1116 from rust-lang/dependabot/cargo/ctest-0.2.6
Bump ctest from 0.2.4 to 0.2.6
2018-10-31 08:13:28 +01:00
dependabot[bot]
4f970bfd88
Bump ctest from 0.2.4 to 0.2.6
Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.4 to 0.2.6.
- [Release notes](https://github.com/alexcrichton/ctest/releases)
- [Commits](https://github.com/alexcrichton/ctest/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-31 05:49:22 +00:00
Alan Somers
e2b69a3fc3 On FreeBSD and Dragonfly, don't unnecessarily link to libutil
Also, alphabetize this section, since I'm merging two sections anyway.

Fixes #1113
2018-10-30 16:43:11 -06:00
Jonathan A. Kollasch
7cd5d11494 style: allow target_arch #[cfg()] statements 2018-10-30 22:10:53 +00:00
Jonathan A. Kollasch
2d807eebf4 wrap a long line 2018-10-30 22:09:13 +00:00
bors
8dde98ed58 Auto merge of #1114 - asomers:extattr, r=alexcrichton
Add extattr(2) and extattr(3) definitions for FreeBSD and NetBSD

DragonflyBSD does define 3 of these 14 functions.  But I elected not to
add it to the PR because I can't find any evidence that these syscalls
are used on Dragonfly, even in the base system.  And by themselves,
those three are insufficient for the xattr crate.
2018-10-30 21:40:23 +00:00
Alan Somers
74d5a9833f Disable the aarch64-unknown-linux-musl workaround for #856
This bug was never diagnosed.  Perhaps it's been resolved by a newer
compiler.
Fixes #856
2018-10-30 15:06:01 -06:00
Alan Somers
cd35cdaafa syntax fix 2018-10-30 14:04:04 -06:00
Alan Somers
a9c204ccbc Include <sys/extattr.h> during CI 2018-10-30 13:48:23 -06:00
Alan Somers
00b93727c5 Add extattr(2) and extattr(3) definitions for FreeBSD and NetBSD
DragonflyBSD does define 3 of these 14 functions.  But I elected not to
add it to the PR because I can't find any evidence that these syscalls
are used on Dragonfly, even in the base system.  And by themselves,
those three are insufficient for the xattr crate.
2018-10-30 13:34:52 -06:00
Jonathan A. Kollasch
7924fcc245 NetBSD: fix previous for targets other than aarch64 2018-10-30 17:49:31 +00:00
Jonathan A. Kollasch
5cca06280e NetBSD: rework recent pthread type corrections to avoid cfg_if! 2018-10-30 13:58:35 +00:00
Jonathan A. Kollasch
a81f45e374 whitespace fix for previous 2018-10-30 13:56:08 +00:00
bors
04a13d1b97 Auto merge of #1098 - andrewtj:atj-cmsg-macros, r=alexcrichton
Add CMSG macros for unix/bsd and unix/notbsd

This adds the ["Ancillary Data Object Macros" from RFC 2292](https://tools.ietf.org/html/rfc2292#section-4.3). My C's weak but I think I've translated them faithfully. Tested on macOS and Linux/glibc.
2018-10-29 23:12:06 +00:00
bors
4a8304d47e Auto merge of #1111 - gnzlbg:xcode10, r=alexcrichton
update osx builds to xcode10
2018-10-29 22:15:31 +00:00
Alex Crichton
1eb08ed1b4
Merge pull request #1112 from gnzlbg/ios_sim_kill
remove the iOS simulator targets from CI / update ctest
2018-10-29 10:42:33 -07:00
gnzlbg
4182efd167 update osx constants for xcode10 2018-10-29 17:31:00 +01:00
gnzlbg
4a60136aab remove the iOS simulator targets from CI 2018-10-29 17:13:48 +01:00
gnzlbg
a379fb3c48 update osx builds to xcode10 2018-10-29 15:28:19 +01:00
Jonathan A. Kollasch
6346e17f3f NetBSD: fix pthread types on arm and powerpc
Also while here: fix powerpc64, mips, and mips64 pthread types.  These
targets are not yet fully/correctly implemented in rust-libc however.
2018-10-28 17:35:15 +00:00
bors
17f7b559cb Auto merge of #1107 - ignatenkobrain:patch-1, r=alexcrichton
exclude CI files from crates.io
2018-10-27 21:42:59 +00:00
Igor Gnatenko
793eeacbe5
exclude CI files from crates.io 2018-10-26 22:48:12 +02:00
bors
72cdbf9095 Auto merge of #1106 - AdelieLinux:master, r=alexcrichton
Finish correcting ioctl(2) interfaces on musl/ppc64

Last commit fixed the function definition but not the constants.  Oops.
2018-10-26 07:49:50 +00:00
A. Wilcox
914eba137b
Finish correcting ioctl(2) interfaces on musl/ppc64
Last commit fixed the function definition but not the constants.  Oops.
2018-10-26 00:33:18 -05:00
bors
87f4acb237 Auto merge of #1099 - gnzlbg:update_ctest, r=alexcrichton
update ctest version
2018-10-20 12:54:43 +00:00
bors
0f2b5e7920 Auto merge of #1101 - koutheir:master, r=alexcrichton
Added dup3() support on FreeBSD, NetBSD, OpenBSD and Solaris

Added `dup3()` support on FreeBSD, NetBSD, OpenBSD and Solaris.

The `dup3()` API is present in:
- FreeBSD 10.0 an later.
- NetBSD 6.0 and later.
- OpenBSD 5.7 and later.
- Solaris 11.4 and later.
2018-10-20 01:28:37 +00:00
Koutheir Attouchi
8915f42c9d Added dup3() support on FreeBSD, NetBSD, OpenBSD and Solaris. 2018-10-20 01:45:08 +02:00
gnzlbg
83f301d7d5 update ctest version 2018-10-19 15:02:30 +02:00
bors
93a1995d92 Auto merge of #1097 - AdelieLinux:master, r=alexcrichton
Correct ioctl(2) interface definition for musl/ppc64
2018-10-19 09:40:33 +00:00
Andrew Tunnell-Jones
2701f620d2 Add CMSG macros for unix/bsd and unix/notbsd 2018-10-19 03:39:55 +00:00
bors
814ce1ee95 Auto merge of #1095 - xoac:rs485_support, r=alexcrichton
Add TIOCGRS485 and TIOCSRS485 for musl #1094

I need help with adding `TIOCSRS485` and `TIOCSRS485` constants to libc.
2018-10-18 23:36:38 +00:00
A. Wilcox
6d9c681f4e
Correct ioctl(2) interface definition for musl/ppc64 2018-10-18 14:36:47 -05:00
Sylwester Rąpała
88de1004a5 Try fix mips constants 2018-10-18 10:19:09 +02:00
Sylwester Rąpała
04c0073851 Remove mistake #endif 2018-10-17 19:39:57 +02:00
bors
c75ca6465a Auto merge of #1096 - jmmv:truncate, r=alexcrichton
Add truncate(2) to Unix platforms
2018-10-17 14:38:48 +00:00
Julio Merino
41ee5d0654 Add truncate(2) to Unix platforms 2018-10-16 21:52:06 -04:00
Sylwester Rąpała
c95efe63d4 Add TIOCGRS485 and TIOCSRS485 for musl #1094 2018-10-16 10:48:22 +02:00
bors
9c4f6c4f02 Auto merge of #1093 - jabedude:acct, r=alexcrichton
Add acct(2) to BSD module

The `acct` syscall is supported on BSD platforms, the PR aims to add it to the BSD module.
2018-10-15 15:05:15 +00:00
Josh Abraham
70c178dc12
Remove rumprun target from .travis.yml
This patch removes the x86_64-rumprun-netbsd triple from Travis CI.
2018-10-15 10:29:48 -04:00
Josh Abraham
c58d7abaad
Add acct(2) to BSD tree 2018-10-15 10:13:37 -04:00
Josh Abraham
da73827875 Add acct(2) to BSD tree 2018-10-14 17:54:25 -04:00
bors
41944d5c37 Auto merge of #1091 - xd009642:ptrace-arch-specific, r=alexcrichton
Arch specific ptrace commands for BSDs

This PR is to add architecture specific ptrace requests etc.

Don't merge this yet if it passes I want to go over the other BSDs and architectures to see if I've missed anything I'm just creating the PR to get that initial CI approval that it's right as I expect this bit to be more fiddly.
2018-10-08 19:31:35 +00:00
xd009642
f6e6be1986 Added PT_FIRSTMACH 2018-10-08 19:11:43 +01:00
xd009642
e6d8c8d5ea Added openbsdlike and fixed netbsd/x86_64.rs 2018-10-08 19:06:21 +01:00
xd009642
3a10e2380b Fixed import 2018-10-08 18:58:26 +01:00
xd009642
08e34d7c2a Arch specific ptrace commands for netbsd 2018-10-08 18:48:03 +01:00