Commit graph

2468 commits

Author SHA1 Message Date
Jon Magnuson bbed4d4d05 Move SOL_BLUETOOTH to notbsd module 2018-12-08 00:24:42 -06:00
bors 74aeca262e Auto merge of #1168 - asomers:byebye_buildbot, r=alexcrichton
Don't submit build status to buildbot.rust-lang.org

That service no longer exists.
2018-12-07 20:33:38 +00:00
Alan Somers 311722c7c5 Don't submit build status to buildbot.rust-lang.org
That service no longer exists.
2018-12-07 13:24:52 -07:00
bors f5fa41603d Auto merge of #1158 - strake:TIMER_ABSTIME, r=gnzlbg
define `TIMER_ABSTIME` on BSD
2018-12-07 08:31:53 +00:00
bors 7ada017b53 Auto merge of #1164 - AdelieLinux:musl-endianness, r=alexcrichton
musl: 64-bit: Ensure proper (c)msghdr layout on big-endian

Discovered while debugging: djg/audioipc-2#52
2018-12-06 23:25:32 +00:00
bors 9a8908c0f5 Auto merge of #1165 - xd009642:gid-funcs, r=gnzlbg
Added setegid function

Adding the `setegid` function to libc. I had a look and this is in Apple, Linux and Fuchsia so I'm hoping it works for all the BSDs etc. But if anything fails in CI I'll change it accordingly.
2018-12-06 16:59:50 +00:00
bors 8b207fc467 Auto merge of #1166 - jakllsch:netbsd-tcp-opts-fixes, r=alexcrichton
NetBSD: unbreak tests; neither TCP_NOPUSH or TCP_NOOPT yet exist here
2018-12-06 14:35:26 +00:00
M Farkas-Dyck 7d65de6b61 not define TIMER_ABSTIME on Apple 2018-12-05 16:04:01 -08:00
Jonathan A. Kollasch b668e77983 NetBSD: unbreak tests; neither TCP_NOPUSH or TCP_NOOPT yet exist here 2018-12-05 19:09:06 +00:00
xd009642 1604cf5802 Added setegid function 2018-12-05 17:46:50 +00:00
A. Wilcox 06bf363e13
musl: 64-bit: Ensure proper (c)msghdr layout on big-endian
Discovered while debugging: djg/audioipc-2#52
2018-12-05 11:38:05 -06:00
bors f478089b09 Auto merge of #1161 - tklauser:xdp-consts, r=gnzlbg
Add AF_XDP, PF_XDP and SOL_XDP consts for linux

These are needed to work with `AF_XDP` sockets, see https://www.kernel.org/doc/html/v4.19/networking/af_xdp.html
2018-12-05 09:02:10 +00:00
Tobias Klauser cc22997fd2 Add AF_XDP, PF_XDP and SOL_XDP consts for linux 2018-12-04 21:04:13 +01:00
bors 89faefe20b Auto merge of #1160 - levex:dfly-add-missing-errnos, r=alexcrichton
DragonflyBSD: add ENOMEDIUM and EASYNC

These errno's are defined in <sys/errno.h> on DragonFlyBSD.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-12-03 11:09:38 +00:00
Levente Kurusa 5a3374a9ed
DragonflyBSD: add ENOMEDIUM and EASYNC
These errno's are defined in <sys/errno.h> on DragonFlyBSD.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-12-02 19:24:52 +01:00
M Farkas-Dyck 92d502628c define TIMER_ABSTIME on BSD 2018-12-01 16:39:34 -08:00
bors 31e8b7528d Auto merge of #1157 - Susurrus:sparc64, r=alexcrichton
Add SO_PASSCRED for sparc64

Needed to get `nix` up and running on `sparc64-unknown-linux-gnu`
2018-12-01 19:16:46 +00:00
Bryant Mairs 832828fc4d Add SO_PASSCRED for sparc64 2018-12-01 08:20:02 -08:00
bors 1e8fdcb296 Auto merge of #1156 - rust-lang:dependabot/cargo/ctest-0.2.8, r=gnzlbg
Bump ctest from 0.2.7 to 0.2.8

Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.7 to 0.2.8.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/alexcrichton/ctest/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ctest&package-manager=cargo&previous-version=0.2.7&new-version=0.2.8)](https://dependabot.com/compatibility-score.html?dependency-name=ctest&package-manager=cargo&previous-version=0.2.7&new-version=0.2.8)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
2018-11-28 09:32:20 +00:00
dependabot[bot] 406877e891
Bump ctest from 0.2.7 to 0.2.8
Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/alexcrichton/ctest/releases)
- [Commits](https://github.com/alexcrichton/ctest/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-28 07:00:26 +00:00
bors af6e4fd2d2 Auto merge of #1155 - semarie:openbsd-unbreak, r=gnzlbg
Openbsd unbreak

- unbreak openbsd after #1128
- unbreak openbsd after #1151
- while here, add `KERN_CPUSTATS` and increment `KERN_MAXID` for openbsd
2018-11-27 21:15:10 +00:00
bors 8bd330a70f Auto merge of #1153 - gnzlbg:fuchsia2, r=alexcrichton
Remove unreachable fuchsia branches

cc @cramertj

So this should be a non-functional change because these branches are unreachable, but please try to build fuchsia with this change to make sure this doesn't break anything.
2018-11-27 20:35:18 +00:00
bors 4113bf258d Auto merge of #1150 - rust-lang:dependabot/cargo/ctest-0.2.7, r=alexcrichton
Bump ctest from 0.2.6 to 0.2.7

Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.6 to 0.2.7.
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/alexcrichton/ctest/commits/0.2.7)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ctest&package-manager=cargo&previous-version=0.2.6&new-version=0.2.7)](https://dependabot.com/compatibility-score.html?dependency-name=ctest&package-manager=cargo&previous-version=0.2.6&new-version=0.2.7)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
2018-11-27 18:53:47 +00:00
Sébastien Marie a1fb747270 openbsd: add KERN_CPUSTATS and increment KERN_MAXID 2018-11-27 19:23:11 +01:00
Sébastien Marie 969b650d1b openbsd: unbreak: TCP_* flags 2018-11-27 19:20:07 +01:00
bors 596ba58eea Auto merge of #1146 - mwanner:musl-pthread-affinity, r=alexcrichton
Add a couple pthread function definitions and get_sched for musl.

I missed `pthread_setaffinity_np` for the musl variant, so I added a few missing function declarations for musl.
2018-11-27 18:05:57 +00:00
Sébastien Marie 81a0e2cdf0 openbsd: unbreak: chflags family 2018-11-27 18:03:21 +01:00
bors 914e50a607 Auto merge of #1151 - Fensteer:Add-TCP-constants, r=gnzlbg
Add some TCP constants

Add some TCP constants according to the sources : https://github.com/freebsd/freebsd/blob/master/sys/netinet/tcp.h#L164
2018-11-27 15:25:08 +00:00
Fensteer 32a7d173c6 Add some TCP constants 2018-11-27 14:22:05 +01:00
gnzlbg 9acd5ea4cc Remove unreachable fuchsia branches 2018-11-27 11:02:56 +01:00
bors 50719a33bd Auto merge of #1105 - gz:fix-timestamping, r=gnzlbg
Added SOF_TIMESTAMPING, fix too narrow scoping for SO_TIMESTAMPING.

Fixes issues raised in #1104 and #1103.
2018-11-27 09:55:53 +00:00
Gerd Zellweger 01feb166a2 Update sparc64 value for SO_TIMESTAMPING.
Signed-off-by: Gerd Zellweger <gzellweger@vmware.com>
2018-11-26 18:27:13 -08:00
bors aee584c3c0 Auto merge of #1130 - palfrey:strcase-various, r=alexcrichton
Add various strcase* functions and getline

Adds
* `strcasestr`
* `strcasecmp`
* `strncasecmp`
*  `getline`

I *think* they're semi-universal, but shall see what CI pops up...
2018-11-27 01:51:49 +00:00
bors d4b45f51ea Auto merge of #1152 - palfrey:retry-curl, r=alexcrichton
Retry all curl operations

As the docker pulls from #1148 appear mostly fixed, but we're seeing occasional curl timeouts still (e.g. https://travis-ci.org/rust-lang/libc/jobs/459715534, https://travis-ci.org/rust-lang/libc/jobs/459611627), so this should improve things at least a bit.
2018-11-26 22:20:01 +00:00
Tom Parker-Shemilt b46b6e2e72 Retry all curl operations 2018-11-26 21:34:43 +00:00
bors 5058225922 Auto merge of #1149 - palfrey:travis-xenial, r=alexcrichton
Upgrade Travis to using Xenial environment

One part "lets use the latest things", to several parts "might this fix #1148"
2018-11-26 20:49:45 +00:00
Markus Wanner 268a282bef Add a couple pthread function definitions and get_sched for musl. 2018-11-26 16:08:58 +01:00
gnzlbg 223bdca546 Use crates.io keywords and categories
Closes #651 .
2018-11-26 16:08:58 +01:00
Tom Parker-Shemilt 0942070c31 Remove hacky Travis workaround 2018-11-26 12:07:34 +00:00
dependabot[bot] 157bb12a92
Bump ctest from 0.2.6 to 0.2.7
Bumps [ctest](https://github.com/alexcrichton/ctest) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/alexcrichton/ctest/releases)
- [Commits](https://github.com/alexcrichton/ctest/commits/0.2.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 06:20:46 +00:00
Tom Parker-Shemilt e73f064a9b Upgrade Travis to using Xenial environment 2018-11-24 19:53:40 +00:00
Tom Parker-Shemilt 9a04c39566 Remove non-POSIX loop construct 2018-11-24 19:27:22 +00:00
Tom Parker-Shemilt b05e05819d Download Docker images first as that seems to work better at least locally 2018-11-24 19:18:51 +00:00
Tom Parker-Shemilt 75071fe11f Merge branch 'master' into strcase-various 2018-11-23 22:35:16 +00:00
Tom Parker-Shemilt cd6b95db83 Split out windows strcase* work into gnu/msvc files 2018-11-23 22:33:20 +00:00
Tom Parker-Shemilt d75fc9c34a strcase*: add redox support 2018-11-23 21:26:02 +00:00
Tom Parker-Shemilt b75803751f strcase*: Add cloudabi support 2018-11-23 21:26:02 +00:00
Tom Parker-Shemilt 46f08b52a9 Pull cfg_if! outside the extern 2018-11-23 21:13:58 +00:00
bors 530f31f6c1 Auto merge of #1141 - gnzlbg:cats, r=gnzlbg
Use crates.io keywords and categories

Closes #651 .
2018-11-23 11:26:18 +00:00
bors b43f9868bf Auto merge of #1139 - gnzlbg:map_anon, r=gnzlbg
Add alias for MAP_ANONYMOUS to Apple targets.

Closes #1060 .
2018-11-22 19:16:34 +00:00