Commit Graph

297 Commits

Author SHA1 Message Date
Alex Zepeda
5a3a0c2a95 Remove sys/ioctl_compat.h from DragonFlyBSD tests.
Per the mailing list[1], sys/ioctl_compat.h has been removed.

1: http://lists.dragonflybsd.org/pipermail/commits/2018-April/672079.html
2019-01-03 21:09:15 -08:00
Mackenzie Clark
af19934f29 normalize to common name sighandler_t 2018-12-17 19:31:31 -08:00
Mackenzie Clark
4c32b9f4b9 move everything back into window mod with the type alias for msvc 2018-12-17 17:57:37 -08:00
Mackenzie Clark
2f25aaa235 add edge case for mingw 2018-12-17 17:24:37 -08:00
Mackenzie Clark
313483ba2e add signal and raise bindings
separate for gnu and msvc


scope resolve c_int

these types are not allowed, and more scope resolution


use size_t
2018-12-16 16:23:53 -08:00
Tobias Klauser
df277e295b Add MFD_HUGETLB const for linux
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2018-12-13 13:27:00 +01:00
Craig M. Brandenburg
6d22f54440 Add support for SysV semaphores on Apple platform 2018-12-08 06:50:19 -07:00
Tobias Klauser
cc22997fd2 Add AF_XDP, PF_XDP and SOL_XDP consts for linux 2018-12-04 21:04:13 +01: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
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
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
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
75071fe11f Merge branch 'master' into strcase-various 2018-11-23 22:35:16 +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
Gerd Zellweger
2f83a7a511 Added missing net_tstamp.h header to tests.
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
2018-11-21 17:03:34 -08:00
Tom Parker-Shemilt
d931cd27ea Merge branch 'master' into strcase-various 2018-11-21 23:55:01 +00:00
Alex Crichton
91bd079e23 Prepare for being included via crates.io into std
This commit prepares the `libc` crate to be included directly into the
standard library via crates.io. More details about this can be found on
rust-lang/rust#56092, but the main idea is that this crate now depends
on core/compiler-builtins explicitly (but off-by-default).

The main caveat here is that this activates `no_core` when building as
part of libstd, which means that it needs to explicitly have an `iter`
and `option` module for the expansion of `for` loops to work.
2018-11-21 15:27:56 -08:00
gnzlbg
5c1a6b8a6d splice the common libc functions and ctypes throughout the library 2018-11-21 20:58:02 +01:00
Tom Parker-Shemilt
9c6714e54d Define _WITH_GETLINE for FreeBSD so we can move getline into general Unix 2018-11-20 23:50:37 +00:00
gnzlbg
aca32d997c re-format 2018-11-19 15:24:41 +01:00
Stephen Barber
60ab3041a1 Add support for SIGSYS in signalfd
Linux 4.18 added support for SIGSYS info in signalfd. Add the new
fields to signalfd_siginfo.

While the kernel has support for these new fields now, no libc has
shipped a release with the new signalfd fields.
2018-11-06 16:51:20 -08: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
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
gnzlbg
83f301d7d5 update ctest version 2018-10-19 15:02:30 +02:00
bors
878e6aea1f Auto merge of #1075 - tbu-:pr_test_statics, r=alexcrichton
Theoretically test statics

There are none of them in `libc` except for `__progname` on Android, but
that one cannot be tested because it's not present in any header files.
2018-09-13 15:45:32 +00:00
Tobias Bucher
eb6bdf35dd Revert accidentally committed test ignores 2018-09-13 07:24:47 +02:00
Tobias Bucher
45f191d192 Update to non-yanked version of ctest 2018-09-12 23:27:28 +02:00
Johannes Lundberg
f80b024850 Add SO_REUSEPORT_LB to whitelist for build tests 2018-09-10 20:35:07 +01:00
Steven Fackler
0f461200d4 Add a couple more ELF types 2018-09-08 10:03:33 -07:00
Tobias Bucher
8b1d846444 Theoretically test statics
There are none of them in `libc` except for `__progname` on Android, but
that one cannot be tested because it's not present in any header files.
2018-09-05 09:48:49 +02:00
Steven Fackler
063c721c96 Add some more elf types 2018-09-02 22:08:44 -07:00
Alex Crichton
e72f187cd4 Update ctest to 0.2 2018-08-13 16:58:13 -07:00
Alex Crichton
83f78df8c6 Fix OSX builders on CI
Looks like Travis has moved on from our old images, so we're forced to
update.
2018-08-01 07:49:22 -07:00
Linus Färnstrand
5f38367da3 Add testing with align feature 2018-07-29 18:54:45 +02:00
Pascal Bach
ebe0feb55d Add linux/module.h to test build 2018-07-17 18:41:48 +02:00
bors
5ac35c85fe Auto merge of #1039 - alesharik:master, r=alexcrichton
Implement statfs for dragonfly, freebsd and openbsd
2018-07-17 13:47:45 +00:00
alesharik
5ec8699bcb Implement statfs for dragonfly, freebsd and openbsd 2018-07-17 00:17:55 +03:00
Sébastien Marie
fec9baf0a3 remove ignore for published OpenBSD versions 2018-07-14 06:58:37 +02:00
Mateusz Mikuła
27043ec8df Add ENOATTR for Android 2018-07-04 20:35:31 +02:00
Andrew Cann
1cc2f1e9b2 add net/if_arp.h definitions 2018-06-04 11:06:57 +08:00
Andrew Cann
651d6feafe add rtentry 2018-06-01 13:10:15 +08:00
Andrew Cann
b02c6a328d Remove ioctl symbols for emscripten 2018-05-30 18:08:28 +08:00
Andrew Cann
93f9167bea Add linux socket ioctl defs 2018-05-30 17:27:18 +08:00
Bastian Köcher
6a6dc86fb2 Fixes test for android getifaddrs 2018-05-26 10:48:02 +02:00
Andrew Morrow
96ee7bf81c Add new sendfile flags for FreeBSD 2018-05-17 08:54:53 -06:00
Jake McGinty
0e3cf4737b add pktinfo consts and structs for linux and apple 2018-04-22 21:24:33 -07:00
gnzlbg
dfee17f1ff fix this for stdbuild only 2018-04-15 14:50:00 +02:00
gnzlbg
dc1956e2ef fix undefined behavior due to incorrect packing on macosx 2018-04-15 14:45:26 +02:00