bors
d64716407e
Auto merge of #742 - alexcrichton:wasm, r=alexcrichton
...
Add asmjs/wasm32 to CI
Rebase of #610 and also move emscripten up much higher in the hierarchy to
ensure that it doesn't have too much of a ripple effect on other platforms.
This involved moving down a good number of definitions, but hopefully was done
with care to not break anything!
2017-08-27 17:00:24 +00:00
Alex Crichton
4c90a7350e
Add emscripten/wasm to dox builds
2017-08-27 08:36:18 -07:00
Alex Crichton
1ee80568ef
Fix style
2017-08-27 08:33:58 -07:00
Bryant Mairs
deb30e5b39
Add syscall constants to more Android/Linux targets
2017-08-27 01:12:39 -07:00
Alex Crichton
22b98dedfe
Add asmjs/wasm32 to CI
...
Rebase of #610 and also move emscripten up much higher in the hierarchy to
ensure that it doesn't have too much of a ripple effect on other platforms.
This involved moving down a good number of definitions, but hopefully was done
with care to not break anything!
2017-08-26 22:15:29 -07:00
bors
2f4ca8788b
Auto merge of #741 - kallisti5:haiku-sigfix, r=alexcrichton
...
haiku: Add missing signals
* Now a complete signal list on Haiku minus reserved.
* Fixes build failure due to missing SIGUSR1
2017-08-26 01:57:41 +00:00
Alexander von Gluck IV
177d5e6fba
haiku: Add missing signals
...
* Now a complete signal list on Haiku minus reserved.
* Fixes build failure due to missing SIGUSR1
2017-08-25 20:28:03 -05:00
bors
e7ce47a6bb
Auto merge of #740 - alexcrichton:more64, r=alexcrichton
...
Add {,f}stat{,v}fs64 API bindings
Closes https://github.com/rust-lang/libc/issues/738
2017-08-26 01:26:56 +00:00
Alex Crichton
a36da11fb9
Add {,f}stat{,v}fs64 API bindings
2017-08-25 18:26:38 -07:00
Alexander von Gluck IV
c9b276f1ce
haiku: Correct typo
2017-08-25 16:13:01 -05:00
bors
2a322c716c
Auto merge of #720 - Susurrus:fcntl, r=alexcrichton
...
Add more fcntl and seal constants for Android/Linux
2017-08-25 00:33:20 +00:00
Bryant Mairs
e397134e35
Add more fcntl constants for android
2017-08-22 08:32:11 -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
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
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
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
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
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
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
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
Jose Narvaez
dcb0f86f7a
Changed Redox 'mode_t' constants to Hexadecimal.
2017-08-07 19:25:23 +01:00
Jose Narvaez
246f4be5e9
Add some permission and misc (mostly 'mode_t' related) constants to Redox.
2017-08-07 18:45:50 +01:00
Sebastian Humenda
bd50e599b6
Improve types for uclibc/x86_64
...
* fix dirent, dirent64
* port pthread_attr_t
* add l4re-specific pthread code
2017-08-07 19:15:21 +02:00
Danek Duvall
1375070196
struct addrinfo needs padding on Solaris/SPARC
...
64-bit Solaris/SPARC has a 4-byte pad before ai_addrlen for historical
reasons (ai_addrlen used to be defined as a size_t, which is 4 bytes in
ILP32 and 8 in LP64, but was converted to a 4-byte socklen_t in Solaris
10, which necessitated padding for (more or less) binary compatibility).
2017-08-06 20:04:35 -07:00
Marcin Mielniczuk
81eb0947ee
Bring back SYS_gettid on Android/ARM which was accidentally removed by #710 .
2017-08-04 15:33:55 +02:00
bors
db27ee22ce
Auto merge of #702 - berkowski:bsd_poll_flags, r=alexcrichton
...
A few missing *BSD poll flags
Added a few missing BSD poll flags for completeness.
2017-08-04 03:00:44 +00:00
bors
ecd468e6e9
Auto merge of #710 - marmistrz:android, r=alexcrichton
...
Port #672 and #686 to Android.
I'd rather avoid the duplication, but this is discussed in #707 .
2017-08-04 01:50:04 +00:00
Marcin Mielniczuk
21eb1c5c0b
Comment out PTRACE_EVENT_STOP.
...
It has been added to glibc in version 2.26.
2017-08-03 15:39:31 +02:00