Marcin Mielniczuk
0ef465a1a7
Fix double blank line
2017-08-01 10:05:20 +02:00
Marcin Mielniczuk
08fefb7b4e
Fix links
2017-08-01 10:00:55 +02:00
Marcin Mielniczuk
a1f0de0449
Remove the offending syscalls.
...
They have been added in musl 1.16 but updating musl is non-trivial.
2017-08-01 10:00:14 +02:00
Marcin Mielniczuk
bd9e6f4c09
Fix redefinitions
2017-07-25 17:59:16 +02:00
Marcin Mielniczuk
8a676cbe8b
Port #672 and #686 to musl.
2017-07-25 16:31:47 +02:00
bors
27a319e832
Auto merge of #698 - ndusart:in_addr_t, r=alexcrichton
...
change type of INADDR constants to in_addr_t
These should be `in_addr_t` (u32) instead of `c_int`
This is a breaking change but it is just breaking newlib platforms for now.
@alexcrichton Do you prefer that I split the definition in submodules, to keep `c_int` in newlib and update the others ?
2017-07-25 13:56:28 +00:00
Nicolas Dusart
ef1cb0763a
change type of INADDR constants to in_addr_t
2017-07-25 11:03:38 +02:00
bors
7442182764
Auto merge of #696 - mgeisler:patch-1, r=alexcrichton
...
Add CI badges
2017-07-24 23:39:57 +00:00
Martin Geisler
9f3d28d3ed
Add CI badges
2017-07-25 01:21:04 +02:00
bors
598469fc8d
Auto merge of #695 - ndusart:inaddrany, r=alexcrichton
...
define INADDR_* constants in unix platforms
2017-07-24 22:24:36 +00:00
bors
46863a35e5
Auto merge of #694 - dhduvall:master, r=alexcrichton
...
PTHREAD_PROCESS_PRIVATE needs to be a 16-bit type on Solaris
Compiles of libc on Solaris fail because we're trying to assign a 32-bit constant to a 16-bit struct member.
2017-07-24 21:36:42 +00:00
Nicolas Dusart
76bf82927f
define INADDR_* constants in unix platforms
2017-07-24 23:35:19 +02:00
Danek Duvall
0bc6e03b28
PTHREAD_PROCESS_PRIVATE needs to be a 16-bit type on Solaris
2017-07-24 13:26:50 -07:00
bors
6c660c9166
Auto merge of #693 - marmistrz:master, r=alexcrichton
...
Bump version to 0.2.28
This contains PR #686 .
2017-07-24 14:02:05 +00:00
Marcin Mielniczuk
4afbf4eca5
Bump version to 0.2.28
2017-07-24 09:22:30 +02:00
bors
0b7abd9bb3
Auto merge of #689 - lucab:ups/fexecve, r=alexcrichton
...
unix: add fexecve()
Add missing fexecve() - execute program specified via file descriptor.
Reference: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fexecve.html
2017-07-23 15:18:51 +00:00
bors
9bbfe4b0ee
Auto merge of #686 - marmistrz:regs, r=alexcrichton
...
Add offsets in user_regs_struct from sys/reg.h
2017-07-22 17:01:15 +00:00
Luca Bruno
858d47cd95
unix: add fexecve()
...
Add missing fexecve() - execute program specified via file descriptor.
Reference: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fexecve.html
2017-07-22 08:12:10 +00:00
Marcin Mielniczuk
2a5976727f
Define i686 when TARGET=i686*
2017-07-22 09:37:22 +02:00
bors
365b4297fb
Auto merge of #687 - GuillaumeGomez:up-version, r=alexcrichton
...
Update crate version
2017-07-21 23:28:02 +00:00
bors
ef792981f4
Auto merge of #688 - alexcrichton:revoke, r=alexcrichton
...
Disable revocation checking temporarily on AppVeyor
2017-07-21 23:08:55 +00:00
Marcin Mielniczuk
37b4e73a10
include sys/regs.h only on x86 and x86_64
2017-07-21 21:55:47 +02:00
Alex Crichton
b36211b3a5
Disable revocation checking temporarily
2017-07-21 08:16:46 -07:00
Marcin Mielniczuk
1535ee8703
Include sys/user.h in the automatic test
2017-07-21 17:11:30 +02:00
Guillaume Gomez
312e5cb5f7
Update crate version
2017-07-21 10:38:00 +02:00
Marcin Mielniczuk
db4273ea2c
Add offsets in user_regs_struct from sys/reg.h
2017-07-21 10:13:21 +02:00
bors
516df7f773
Auto merge of #671 - Susurrus:signalfd_android, r=alexcrichton
...
Add signalfd and related to android
2017-07-20 19:05:46 +00:00
Bryant Mairs
83ab9a341f
Add signalfd and related to android
2017-07-20 08:56:06 -07:00
bors
572dc6d914
Auto merge of #683 - ndusart:af_const, r=alexcrichton
...
Add missing flags to Linux and Android
2017-07-20 15:48:45 +00:00
Nicolas Dusart
a7ba0e8b60
add missing O_* flags
2017-07-20 16:20:47 +02:00
bors
57413b8b14
Auto merge of #673 - g2p:fallocate-flags, r=alexcrichton
...
Add all current fallocate flags
Also move them to the common Linux module, as they are not platform-specific.
See include/uapi/linux/falloc.h.
2017-07-20 14:05:21 +00:00
Nicolas Dusart
e22c95d520
Add SO_RCVBUFFORCE in Android
2017-07-20 10:04:15 +02:00
Gabriel
f60ff2db55
Ignore newer kernel constants if building with musl
2017-07-20 00:28:08 +02:00
bors
575c65a905
Auto merge of #679 - GuillaumeGomez:other-mac-structs, r=alexcrichton
...
Add mac structs
With this one, I'll have almost all the structs I need directly in libc. :)
2017-07-19 22:27:51 +00:00
Guillaume Gomez
100f3f29cf
Add mac structs
2017-07-19 20:54:24 +02:00
bors
1049cf082f
Auto merge of #680 - alexcrichton:c_long, r=alexcrichton
...
Restore SYS_* constants to the c_long type
cc https://github.com/rust-lang/libc/pull/672#issuecomment-316406664
2017-07-19 15:37:18 +00:00
Alex Crichton
f94b7ffab5
Switch to rustup hyper backend temporarily
2017-07-19 08:37:07 -07:00
Alex Crichton
f68d9a53b5
Restore SYS_* constants to the c_long type
2017-07-19 07:35:36 -07:00
Gabriel
75e3696eca
Include linux/falloc.h directly
...
glibc support is behind, as indicated by
https://github.com/karelzak/util-linux/blob/master/sys-utils/fallocate.c
2017-07-19 06:52:12 +02:00
Gabriel
071a69b5c4
Add all current fallocate flags
...
Also move them to the common Linux module, as they are not platform-specific.
See include/uapi/linux/falloc.h.
2017-07-19 06:52:12 +02:00
Gabriel
39a75af8ee
Use Ubuntu 17.10 as the base image
2017-07-19 06:52:06 +02:00
bors
ec1e5ab1ef
Auto merge of #672 - marmistrz:master, r=alexcrichton
...
Add syscall table for x86 and x86_64
I'm wondering if we should use `SYS_write` or `__NR_write`. Both are available to C programs.
2017-07-18 15:47:19 +00:00
Marcin Mielniczuk
c0aaf42b3d
Remove existing SYS_* entires
...
There were previous definitions of SYS_gettid and SYS_perf_event_open
2017-07-18 15:39:28 +02:00
bors
1445dbd405
Auto merge of #675 - asomers:preadv, r=alexcrichton
...
Enable preadv and pwritev on the BSDs
2017-07-18 13:33:31 +00:00
Marcin Mielniczuk
a4a1687361
Rename __NR_ to SYS_, move before extern fn
2017-07-18 11:33:54 +02:00
Alan Somers
3e5b0748fe
Enable preadv and pwritev on the BSDs
2017-07-17 21:40:18 -06:00
Alex Crichton
73873315c2
Merge pull request #674 from ids1024/off_t
...
Redox: Use c_long instead of usize for off_t
2017-07-17 21:54:07 -05:00
bors
12e22cf5a5
Auto merge of #669 - GuillaumeGomez:mac-consts, r=alexcrichton
...
Add missing constants for mac
I didn't find these constants on other systems than mac so only mac is updated...
2017-07-17 23:45:11 +00:00
Ian Douglas Scott
9a4bd72c17
Redox: Use c_long instead of usize for off_t
2017-07-17 16:15:54 -07:00
bors
c00686f3a2
Auto merge of #670 - Susurrus:execvpe, r=alexcrichton
...
Add execvpe for support *nix platforms
2017-07-17 14:09:34 +00:00