- Jan 16, 2019
-
-
Alan Somers authored
PR #1098 added the CMSG_DATA(3) family of functions into libc. Because they're defined as macros in C, they had to be rewritten as Rust functions for libc. Also, they can't be tested in CI for the same reason. But that PR erroneously used the same definitions in BSD as in Linux. This commit corrects the definitions for OSX, FreeBSD, DragonflyBSD, OpenBSD, and NetBSD. I renamed a few variables and collapsed a few macros in order to combine the definitions where possible. Fixes #1210
-
- Jan 14, 2019
-
-
bors authored
Bump version to 0.2.47 This will release changes to the Redox module
-
bors authored
mincore has been removed from upcoming OpenBSD 6.5 remove test from CI on OpenBSD for "mincore" function. it has been removed from upcoming 6.5: - https://marc.info/?l=openbsd-cvs&m=154723400730318 - https://github.com/openbsd/src/commit/54e4f6b9a1dc183e1dc7c4a722c2646aa309246a I am only removing the test from CI, not touching exported function from Rust libc to avoid a breaking change.
-
Jeremy Soller authored
-
bors authored
Redox module update This adds poll, mmap, and stat support
-
- Jan 13, 2019
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
bors authored
Comment FIOSEEK* until they're in a NetBSD release Accidentally included two constants that aren't in the current release of NetBSD. While this doesn't impact libc-consumers, failing the testsuite on latest NetBSD isn't ideal. I've commented them out; they can be reintroduced when the next NetBSD ships with them included.
-
Sébastien Marie authored
-
alecmocatta authored
-
- Jan 12, 2019
-
- Jan 11, 2019
-
-
bors authored
glibc x86: add the register offset constants for mcontext_t.gregs Constants calculated from the [glibc source](https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/x86/sys/ucontext.h;h=3d883c2bf1220ef50cedc6b1491d699c0727c508;hb=HEAD). These are needed when using `mcontext_t`. Thanks!
-
bors authored
add FIO* for FreeBSD and NetBSD Calculated [here](https://repl.it/repls/PaltryTroubledMonitors) from FreeBSD [source](https://github.com/freebsd/freebsd/blob/9867e6d8fe1cac34121e5f2df9357363f5659617/sys/sys/filio.h). Calculated [here](https://repl.it/repls/ProfitableImpracticalComputeranimation) from NetBSD [source](https://github.com/NetBSD/src/blob/64b8a48e1288eb3902ed73113d157af50b2ec596/sys/sys/filio.h). Some of these are likely identical across all BSDs – if this can be confirmed they could be elevated to `unix/bsd/mod.rs` alongside `FIOCLEX` and `FIONBIO`.
-
bors authored
Remove sys/ioctl_compat.h from DragonFlyBSD tests. Per the mailing list[1], sys/ioctl_compat.h has been removed. This should fix #1198. 1: http://lists.dragonflybsd.org/pipermail/commits/2018-April/672079.html
-
- Jan 09, 2019
-
-
Adam C. Foltzer authored
-
Adam C. Foltzer authored
-
- Jan 08, 2019
-
-
alecmocatta authored
-
alecmocatta authored
-
- Jan 04, 2019
-
-
Alex Zepeda authored
Per the mailing list[1], sys/ioctl_compat.h has been removed. 1: http://lists.dragonflybsd.org/pipermail/commits/2018-April/672079.html
-
- Jan 03, 2019
-
-
bors authored
Fix uname on FreeBSD On FreeBSD, uname is an inline function. The uname that is present in libc.so is for FreeBSD 1.0 compatibility. It expects a buffer of a different size. Fixes #1190 Reported-by: Alex Zepeda
-
Alan Somers authored
On FreeBSD, uname is an inline function. The uname that is present in libc.so is for FreeBSD 1.0 compatibility. It expects a buffer of a different size. Fixes #1190 Reported-by: Alex Zepeda
-
bors authored
Bump version to 0.2.46 New release required for https://github.com/rust-lang/rust/pull/57121
-
- Jan 02, 2019
-
-
John Paul Adrian Glaubitz authored
-
bors authored
Test out new bors integration See if it works with Cirrus CI!
-
Alex Crichton authored
See if it works with Cirrus CI!
-
Alex Crichton authored
[skip ci] Add a Cirrus-ci.com build badge
-
bors authored
Add IP_RECVDSTADDR on netbsd. Accidentally left out IP_RECVDSTADDR on NetBSD in #1184
-
Alan Somers authored
Reported-by: Alex Zepeda
-
- Dec 28, 2018
-
-
Tom Pusateri authored
-
bors authored
Add IP_RECVIF to BSD and IP_RECVDSTADDR to apple. FreeBSD/OpenBSD do not support IP_PKTINFO for IPv4 but use IP_RECVIF for interface index and IP_RECVDSTADDR for destination address. NetBSD and macOS also support IP_RECVIF and IP_RECVDSTADDR in addition to IP_PKTINFO. (For IPv6, all use IPV6_PKTINFO)
-
- Dec 27, 2018
-
-
Tom Pusateri authored
-
- Dec 26, 2018
-
-
bors authored
Define missing F_RDLCK, F_WRLCK and F_UNLCK constants on linux-mips -and s390x These are defined in the fcntl.h glibc header on MIPS and s390x systems on Linux but missing in the libc crate, so add them as they are required for the file locking API in rustc.
-
- Dec 25, 2018
-
-
John Paul Adrian Glaubitz authored
These are defined in the fcntl.h glibc header on s390x systems on Linux but missing in the libc crate, so add them as they are required for the file locking API in rustc.
-
John Paul Adrian Glaubitz authored
These are defined in the fcntl.h glibc header on MIPS systems on Linux but missing in the libc crate, so add them as they are required for the file locking API in rustc.
-
- Dec 24, 2018
-
-
bors authored
make tm struct members public This PR makes the members of `struct tm` public. I see no reason why these fields should not be public fields. They are public in the other targets. I did a blame and it seems that they have been private since added a couple years ago. https://github.com/rust-lang/libc/commit/53e0d387f8765e9faa1ea921450167bb7f0b31ff
-
bors authored
add some socket functions and a SOCKET type for windows This PR adds a few of the socket functions for windows. Some targets use the `stdcall` calling convention for these functions, so I put them in an `extern "system"` block ([see the nomicon](https://doc.rust-lang.org/nomicon/ffi.html#foreign-calling-conventions)).
-
bors authored
Expose unix ECN-related constants I'm not certain of the correctness of the BSD definition, but I assume that's what CI's for.
-
Alex Crichton authored
-
- Dec 23, 2018
-
-
Mackenzie Clark authored
-