bors
53d0961663
Auto merge of #425 - alexcrichton:appveyor-target, r=alexcrichton
...
pass --target on appveyor
2016-10-10 23:13:53 -07:00
Alex Crichton
dbc65bc463
pass --target on appveyor
2016-10-10 16:41:23 -07:00
bors
56b270454f
Auto merge of #424 - mmatyas:android_afnetlink, r=alexcrichton
...
Make the AF_NETLINK constant available for Android
Currently the `AF_NETLINK` constant is not available for Android, but [it has the same value as on Linux](https://android.googlesource.com/kernel/common/+/android-4.4.y/include/linux/socket.h#177 ). To fix it, this patch moves the definition to the common `notbsd/mod.rs`.
(this fixes an [issue we found in Servo](https://github.com/servo/servo/issues/13154#issuecomment-251325701 ))
2016-10-10 07:39:26 -07:00
Mátyás Mustoha
c52458c38c
Make the AF_NETLINK constant available for Android
2016-10-10 14:14:07 +02:00
bors
f3acbba633
Auto merge of #422 - alexcrichton:workspaces, r=alexcrichton
...
Use workspaces in this repo
Also cache on appveyor to speed up builds.
2016-10-08 17:41:37 -07:00
Alex Crichton
739edbc468
Use workspaces in this repo
...
Also cache on appveyor to speed up builds.
2016-10-08 17:26:56 -07:00
bors
c90d379866
Auto merge of #420 - kallisti5:master, r=alexcrichton
...
Haiku: Add missing EAI_SYSTEM const
2016-10-08 12:39:58 -07:00
bors
5a17b4a733
Auto merge of #421 - kali:master, r=alexcrichton
...
define more MSG_NOSIGNAL
follow-up on rust-lang/rust#36824
2016-10-08 11:01:21 -07:00
Mathieu Poumeyrol
a59d299645
define more MSG_NOSIGNAL
2016-10-08 12:51:53 +02:00
Alexander von Gluck IV
ecfb968100
Haiku: Add missing EAI_SYSTEM const
2016-10-07 09:18:44 -05:00
bors
9497f192e7
Auto merge of #419 - vojtechkral:patch-1, r=alexcrichton
...
Typo in unix/solaris/mod.rs
2016-10-06 08:47:29 -07:00
Vojtech Kral
7e5a2e52fe
Typo in unix/solaris/mod.rs
2016-10-06 16:50:56 +02:00
bors
a6ada0035f
Auto merge of #413 - zenhack:CLONE_NEWCGROUP, r=alexcrichton
...
Define CLONE_NEWCGROUP
Should be fairly self explanatory.
2016-10-05 16:08:44 -07:00
Ian Denhardt
cd03b14093
Fix musl-i686 CI failures.
...
* Override the compiler via CC; ./configure can't seem to detect it.
* Unset CROSS_COMPILE when running make. Per the comment, we otherwise
end up invoking commands like i686-ar.
2016-10-05 18:53:52 -04:00
Ian Denhardt
0ecafc3197
Consolidate and fix musl-specific definitions.
...
Musl 1.1.14 defined these incorrectly, and we followed suit. They're
fixed in 1.1.15, so we fix them here as well.
Since these are kernel ABIs, the correct values match other libc
implementations, so we move them up to the topmost module possible.
2016-10-05 18:53:52 -04:00
Ian Denhardt
8ff1c4172e
Test against newer c libraries
...
Specifically:
* Update the base docker images to ubuntu 16.10
* Update musl to version 1.1.15
This is necessary since the versions we were previously using do not
define CLONE_NEWCGROUP, so adding the symbol to the libc crate causes
test failures.
2016-10-05 18:53:51 -04:00
Ian Denhardt
2faafb3815
Define CLONE_NEWCGROUP
...
Currently restricted to non-Android Linux. In theory this should work on
Android as well (since it's a function of the kernel ABI), but the
released version of the NDK doesn't export it, so putting it in
`notbsd/mod.rs` makes Travis very unhappy.
2016-10-05 18:51:21 -04:00
bors
7c493967d9
Auto merge of #417 - valarauca:master, r=alexcrichton
...
Added all additional ptrace options.
Added additional PTrace Flags.
All the `PTRACE_O` are flags options values that are passed with `PTRACE_OPTION`.
The `PTRACE_PEEKSIGINFO_SHARED` is used for setting/fetching signal masks when interacting with thread groups not individual threads.
`SYSEMU` stuff I pulled from the kernel sources. As far as I can tell these flags haven't been added to `<sys/ptrace.h>`, which is weird because the two `SYSEMU` calls have been live on x64 since 2011. I'm starting a thread on kernel-newies about it.
2016-10-04 22:51:39 -07:00
William Laeder
12e1cd1896
Forgot the x86 changes
2016-10-05 02:58:58 +00:00
William Laeder
a114e91ba7
Removed SYSEMU flags until I get the stuff sorted out with sys mainters.
2016-10-05 02:55:45 +00:00
William Laeder
acaea91e8f
Added all additional ptrace options.
2016-10-05 01:54:51 +00:00
bors
4577f089b4
Auto merge of #416 - kallisti5:master, r=alexcrichton
...
Haiku: More build fixes
2016-10-04 16:19:26 -07:00
Alexander von Gluck IV
573c5fe94d
Haiku: Add in final missing pthread pubs
2016-10-04 17:47:19 -05:00
Alexander von Gluck IV
9f0696e1e8
Haiku: Add missing sem/thread structs. Fix non-pub ULONG
2016-10-04 15:19:38 -05:00
bors
68abfade9f
Auto merge of #415 - kallisti5:master, r=alexcrichton
...
Haiku: Add in missing build-time types, fix module usage
Working through the few final remaining build issues for the Haiku target.
2016-10-04 10:00:05 -07:00
Alexander von Gluck IV
e8155ba221
Haiku: Add missing nl_item type
2016-10-03 10:17:58 -05:00
Alexander von Gluck IV
c5660180a5
Haiku: Fix missing use merge of pointer module
2016-10-03 10:04:11 -05:00
bors
ed16fe6d87
Auto merge of #411 - apasel422:pthread_mutex_timedlock, r=alexcrichton
...
Add `pthread_mutex_timedlock`
2016-10-02 23:31:43 -07:00
Andrew Paseltiner
45179c97da
Add pthread_mutex_timedlock
2016-10-01 08:01:47 -04:00
bors
858092c822
Auto merge of #410 - kallisti5:master, r=alexcrichton
...
Add support for Haiku x86 and x86_64
* Rework of original patches from Niels Sascha Reedijk
that include style and build fixes for libc master
2016-09-30 11:30:27 -07:00
bors
fd06ed7361
Auto merge of #409 - jakllsch:netbsdlike-long-fixes, r=alexcrichton
...
Use correct type for c_ulong and c_long on 32-bit netbsdlike
2016-09-30 10:36:43 -07:00
bors
0e0ab04abe
Auto merge of #391 - japaric:mips-musl, r=alexcrichton
...
add CI for mips-musl
and fix the statvfs struct for this target
r? @alexcrichton
I didn't really test the CI part but this target now passes libc-test under QEMU
2016-09-30 09:31:35 -07:00
bors
84fbc431f2
Auto merge of #412 - alexcrichton:checksums, r=alexcrichton
...
Add checksums to cargo lock files
2016-09-30 08:59:55 -07:00
Alex Crichton
10142aa24a
Add checksums to cargo lock files
2016-09-29 19:20:58 -07:00
Jorge Aparicio
c0fd46fa36
handle mips-musl in ci/run.sh
2016-09-29 21:12:54 -05:00
Niels Sascha Reedijk
a3ff95554e
Add support for Haiku x86 and x86_64
...
* Rework of original patches from Niels Sascha Reedijk
that include style and build fixes for libc master
2016-09-29 14:00:57 -05:00
Jonathan A. Kollasch
07a0190be9
Recognize 32-bit NetBSD
2016-09-29 11:31:02 -05:00
Jonathan A. Kollasch
09ba9f7399
Move 64-bit-specific NetBSD stuff around
2016-09-29 11:24:07 -05:00
Jonathan A. Kollasch
c6799c5b96
Move c_long and c_ulong for netbsdlike
2016-09-29 11:21:55 -05:00
Jonathan A. Kollasch
d75ebdc288
Move NetBSD into its own directory
2016-09-29 11:21:51 -05:00
bors
b474785561
Auto merge of #408 - kali:master, r=alexcrichton
...
add MSG_NOSIGNAL (linux, android)
see rust-lang/rust#36426
2016-09-28 09:06:37 -07:00
Mathieu Poumeyrol
6d940f6653
add MSG_NOSIGNAL (linux, android)
2016-09-28 10:26:53 +02:00
bors
2b8ea0911e
Auto merge of #406 - philippkeller:shadowpw, r=alexcrichton
...
Add shadow password bindings
Add shadow password bindings: setspent, endspent, getspent, getspnam plus spwd, the corresponding struct.
[Example code](https://github.com/philippkeller/apue-rust/blob/master/src/bin/e06-01-shadow-pw.rs ) (tested on Linux 4.4.0-21-generic)
2016-09-26 22:48:24 -07:00
Philipp Keller
04d0b71d2c
Add missing header shadow.h
2016-09-27 07:19:17 +02:00
Philipp Keller
7e0274b021
Merge remote-tracking branch 'upstream/master' into shadowpw
2016-09-26 22:03:24 +02:00
Philipp Keller
26f3eb9401
Add shadow password bindings: setspent, endspent, getspent, getspnam plus spwd, the corresponding struct
2016-09-26 22:00:29 +02:00
bors
ae70d3d464
Auto merge of #405 - mmun:patch-1, r=alexcrichton
...
Add getchar_unlocked and putchar_unlocked
Adds [getchar_unlocked](http://pubs.opengroup.org/onlinepubs/9699919799/functions/getchar_unlocked.html ) and [putchar_unlocked](http://pubs.opengroup.org/onlinepubs/9699919799/functions/putchar_unlocked.html ).
2016-09-26 10:13:19 -07:00
bors
eb708c0208
Auto merge of #402 - tmiasko:getaddrinfo-error-codes, r=alexcrichton
...
Add EAI_SYSTEM getaddrinfo error code.
This is useful to decide if value returned from getaddrinfo is actual
error or you should look at errno instead.
2016-09-26 09:22:56 -07:00
Tomasz Miąsko
f514d46f49
Add EAI_SYSTEM getaddrinfo error code.
...
This is useful to decide if value returned from getaddrinfo is actual
error or you should look at errno instead.
2016-09-26 09:10:07 +02:00
bors
4548dc66da
Auto merge of #401 - alexander255:master, r=alexcrichton
...
Add System V message queue bindings for Linux (glibc/musl)
2016-09-25 17:20:41 -07:00