Marcin Mielniczuk
381a4456fb
Remove duplicate SYS_gettid
2017-08-02 09:56:38 +02:00
Marcin Mielniczuk
b9166f42ff
Include sys/reg.h on Android.
2017-08-01 16:20:13 +02:00
Marcin Mielniczuk
20591a37b9
Port #672 and #686 to Android.
...
I'd rather avoid the duplication, this is discussed in #707 .
2017-08-01 14:05:07 +02:00
bors
1fbd19714f
Auto merge of #705 - wezm:release-0.2.29, r=alexcrichton
...
Bump to version 0.2.29
Rationale for release: My changes in https://github.com/nix-rust/nix/pull/688 are blocked on getting a libc release out with the missing constant present.
2017-07-31 23:58:23 +00:00
bors
60064cbc7b
Auto merge of #706 - cactorium:master, r=alexcrichton
...
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP to uclibc
Hello! Just some minor fixes so that net2 compiles correctly on uclibc
2017-07-31 21:14:39 +00:00
Kelvin Ly
db54adac84
Merge branch 'master' of https://github.com/rust-lang/libc
2017-07-31 16:25:21 -04:00
Kelvin Ly
5b55e05b60
Add IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP to uclibc
2017-07-31 16:17:39 -04:00
Wesley Moore
beb582e120
Bump to version 0.2.29
2017-07-31 21:12:05 +10:00
bors
560e73f357
Auto merge of #703 - mneumann:dragonfly-add-evfilt-except, r=alexcrichton
...
Add EVFILT_EXCEPT constant
2017-07-30 17:42:43 +00:00
Michael Neumann
31d55bcee4
Add EVFILT_EXCEPT constant
2017-07-30 16:01:35 +02:00
bors
5b519f6a2e
Auto merge of #701 - ndusart:rcvbufforce, r=alexcrichton
...
add SO_RCVBUFFORCE for s390x
2017-07-27 14:01:47 +00:00
Nicolas Dusart
2560cda37e
add SO_RCVBUFFORCE for s390x
2017-07-27 10:03:45 +02:00
bors
f9119d51c3
Auto merge of #697 - wezm:openbsd-so_timestamp, r=alexcrichton
...
Add missing SO_TIMESTAMP constant for OpenBSD like OSes
Added to mod.rs as both [OpenBSD](e35050970e/sys/sys/socket.h (L97)
) and [Bitrig](a15267d824/sys/sys/socket.h (L100)
) have it.
Required for https://github.com/nix-rust/nix/pull/688
2017-07-25 14:24:04 +00: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
Wesley Moore
a586a85d16
Add SO_TIMESTAMP for OpenBSD like OSes
2017-07-25 17:46:48 +10: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