Bryant Mairs
e397134e35
Add more fcntl constants for android
2017-08-22 08:32:11 -07:00
Alex Crichton
b7902df689
Add ios flags to ios invocations
2017-08-22 07:02:32 -07:00
Alex Crichton
d424022005
Update Android images/runners
2017-08-21 22:52:06 -07:00
Alex Crichton
bcbfa85651
Leverage Cargo's target runner support to execute tests
2017-08-21 21:41:37 -07:00
Alex Crichton
ce276177f2
Remove warnings in libc-test
2017-08-21 21:41:26 -07:00
Alex Crichton
476b9821dc
Update lock file
2017-08-21 21:41:26 -07:00
Bryant Mairs
2f06a79e23
Run CI tests using cargo
...
This works by specifying a "runner" for actually executing the binary.
This doesn't apply to the Android or NetBSD runs because there
isn't a simple binary that just runs the executable.
2017-08-21 21:10:28 -07:00
Bryant Mairs
362134d8d6
Simplify iOS builds by using Cargo's RUSTFLAGS support
2017-08-21 10:46:26 -07:00
Bryant Mairs
2e11d9e14c
Add more fcntl and seal constants for Android/Linux
...
We now create an additional binary `linux_fcntl` for testing this
since there are header conflicts when including all necessary headers.
This binary is run on all platforms even though it's empty on all non-
Android/non-Linux platforms.
Testing has been switched from a custom binary to using a runner-less
test (or pair of tests). This means that for local development a simple
`cd libc-test && cargo test` will run all the tests. CI has also been
updated here to reflect that.
2017-08-20 20:52:43 -07:00
bors
13478d0929
Auto merge of #729 - Susurrus:ptrace_request, r=alexcrichton
...
Fix spelling of ptrace's request argument
Couldn't handle seeing this anymore after working on a ptrace API for `nix`!
2017-08-20 12:34:08 +00:00
bors
60e5745a51
Auto merge of #734 - humenda:l4re-improvements, r=alexcrichton
...
L4Re improvements
This commit improves the x86_64 uClibc port and splits of L4Re-specific structs into a separate submodule. It defines additional constants and fixes some unfinished structs.
2017-08-19 01:40:42 +00:00
bors
fc28288541
Auto merge of #735 - alexcrichton:remove-openbsd, r=alexcrichton
...
Remove OpenBSD CI
It's now broken due to changes in the `gcc` crate and having a too-old compiler,
and in general it's unfortunately architecturally so different from the other
test frameworks that it's difficult to maintain over time.
2017-08-18 17:37:57 +00:00
Alex Crichton
201d539465
Remove OpenBSD CI
...
It's now broken due to changes in the `gcc` crate and having a too-old compiler,
and in general it's unfortunately architecturally so different from the other
test frameworks that it's difficult to maintain over time.
2017-08-18 09:34:08 -07:00
Sebastian Humenda
cc5883410e
Make more clear why no libraries are linked to L4Re
2017-08-18 11:57:48 +02:00
Sebastian Humenda
dc0a182669
adjust value for minimal thread stack size
2017-08-17 12:58:46 +02:00
Sebastian Humenda
3a1c83cf3c
Remove superflouos doc comments
2017-08-17 09:20:03 +02:00
Sebastian Humenda
9b4edb0b83
Merge branch 'master' into test
2017-08-17 09:13:45 +02:00
bors
7fd1f9d39b
Auto merge of #733 - Susurrus:fexecve, r=alexcrichton
...
Remove fexecvpe from Haiku and MacOS/IOS where it's not implemented
I was going to remove the skip-check from `build.rs` to see if we might be able to enable the function check on at least some platforms, but I'll assume it doesn't work on any as has been suggested.
Closes #732 .
2017-08-17 06:19:24 +00:00
Bryant Mairs
e41975a2b2
Remove fexecve() from Haiku and MacOS/iOS.
...
It's not supported on those platforms
2017-08-16 23:18:37 -07:00
Sebastian Humenda
ba6690b4ec
Merge ../libc
2017-08-16 16:42:26 +02:00
Sebastian Humenda
abfd80c50c
Improve x86_64/uclibc stat/signal struct definitions
...
* correct sigaction
* correct stat, alias stat64
* remove doubled statvfs definition
2017-08-16 16:41:06 +02:00
Jose Narvaez
a6a2a5ee88
Changed Redox 'mode_t' constants to Hexadecimal.
2017-08-16 16:41:06 +02:00
Jose Narvaez
203f705e89
Add some permission and misc (mostly 'mode_t' related) constants to Redox.
2017-08-16 16:41:06 +02:00
Bryant Mairs
800dbfde95
Fix spelling of ptrace's request argument
2017-08-13 08:39:49 -07:00
bors
24155b1890
Auto merge of #728 - semarie:openbsd-kqueue, r=alexcrichton
...
Openbsd kqueue
The PR supersede #613 to add exception on the testsuite.
2017-08-13 14:39:19 +00:00
Sébastien Marie
7e349c0be6
Add exception in testsuite: the constants are new
...
they will be released with OpenBSD 6.2
2017-08-13 13:54:04 +02:00
Jan S
c51e91b9b4
OpenBSD kqueue EV_RECEIPT and EV_DISPATCH
...
OpenBSDs kqueue now has EV_RECEIPT and EV_DISPATCH.
I wrote a patch and the devs merged it into current:
https://marc.info/?l=openbsd-tech&m=149621427511219&w=2
This change extends the rust libc crate to provide the feature.
2017-08-13 13:52:29 +02:00
bors
d6317b6a97
Auto merge of #727 - semarie:openbsd-si_addr, r=alexcrichton
...
skip siginfo_t.si_addr type check on OpenBSD
the type changed from *c_char to *c_void in 6.1
2017-08-13 11:05:07 +00:00
Sébastien Marie
56701a7f70
skip siginfo_t.si_addr type check on OpenBSD
...
the type changed from *c_char to *c_void in 6.1
2017-08-13 12:29:45 +02:00
bors
aa2b54f858
Auto merge of #726 - JayH5:init-get-groups, r=alexcrichton
...
Add getgrouplist(), add initgroups() to BSD platforms
2017-08-12 22:01:16 +00:00
Jamie Hewland
d5326a10d4
Add getgrouplist()
2017-08-12 22:17:15 +02:00
Jamie Hewland
2d22c18acf
Add initgroups to BSD targets
2017-08-12 21:46:31 +02:00
bors
09d920989c
Auto merge of #725 - Susurrus:mman_constants, r=alexcrichton
...
Add MAP_ANONYMOUS to DragonFlyBSD and FreeBSD
2017-08-11 15:30:27 +00:00
bors
56700d5359
Auto merge of #724 - JayH5:more-pgs, r=alexcrichton
...
pwd/grp: Add reentrant getgr functions and consolidate getpw functions
Commit messages sum it up.
2017-08-11 15:10:21 +00:00
Bryant Mairs
e1d88cb53a
Add MAP_ANONYMOUS to DragonFlyBSD and FreeBSD
2017-08-11 08:01:24 -07:00
bors
68463056e5
Auto merge of #722 - Susurrus:mman_constants, r=alexcrichton
...
Add some more missing pieces
* some constants for mman
* `WIFCONTINUED()` for NetBSD & OpenBSD
2017-08-11 06:05:06 +00:00
Bryant Mairs
70975a231a
Add MAP_32BIT to 64-bit FreeBSD platforms
2017-08-10 22:18:17 -07:00
bors
65dac157c1
Auto merge of #723 - ncaracci:master, r=alexcrichton
...
Add SEEK_DATA and SEEK_HOLE constants to FreeBSD and DragonFlyBSD
They can be found [here](725edadf86/sys/sys/unistd.h (L126)
) for DragonFlyBSD and [here](f5d95e1f8d/sys/sys/unistd.h
) for FreeBSD.
2017-08-11 04:31:32 +00:00
Nicolás Caracci
bb504fd519
Add SEEK_DATA and SEEK_HOLE constants to FreeBSD and DragonFlyBSD
2017-08-10 23:55:48 -04:00
Bryant Mairs
558c288125
Add WIFCONTINUED for NetBSD and OpenBSD
2017-08-10 19:21:28 -07:00
Bryant Mairs
748e872a8b
Add MADV_*DUMP on Android
2017-08-10 19:21:28 -07:00
Bryant Mairs
c9e6f55f1c
Add MADV_FREE and MADV_SOFT_OFFLINE for Android/Linux
2017-08-10 19:21:22 -07:00
Jamie Hewland
48311b0c39
Unix: add getgrnam_r and getgrgid_r
2017-08-10 22:04:25 +02:00
Jamie Hewland
b186b72b75
Move endpwent out of the base Unix module
...
* Doesn't do much without getpwent/setpwent
* Not supported on Android before Android O
2017-08-10 20:28:27 +02:00
Jamie Hewland
f1d2011401
Try move getpwuid_r/getpwnam_r to base Unix module
2017-08-10 20:01:16 +02:00
bors
916b82d6f2
Auto merge of #717 - Susurrus:sock_nonblock, r=alexcrichton
...
Add more socket flags for Android and the BSDs
2017-08-10 05:28:40 +00:00
Bryant Mairs
75913469d0
Add more socket flags for Android and the BSDs
2017-08-09 21:44:04 -07:00
Sebastian Humenda
85f181c953
Do not link libraries on l4re by default
...
L4Re builds don't have default libraries. The L4Re build system controls
compilation and passes linker flags using -Z itself.
2017-08-09 14:18:32 +02:00
Sebastian Humenda
e412497d3e
Move L4Re-specific code into separate module.
2017-08-08 15:47:43 +02:00
Sebastian Humenda
86cb2a2c2b
add more uclibc constants
2017-08-08 12:27:47 +02:00