Commit graph

2170 commits

Author SHA1 Message Date
bors 8a85d662b9 Auto merge of #1014 - Susurrus:termios_sparc64, r=alexcrichton
Add some termios constants for sparc64
2018-06-01 22:29:29 +00:00
Bryant Mairs 2aa329751a Add some termios constants for sparc64 2018-06-01 15:24:37 -07:00
bors 575832db87 Auto merge of #1012 - redox-os:master, r=alexcrichton
Bump version to 0.2.42

Closes https://github.com/rust-lang/libc/issues/1011
2018-06-01 20:32:35 +00:00
bors a75938db01 Auto merge of #1010 - canndrew:make-size_of-const, r=alexcrichton
make dox::mem::size_of a const fn
2018-06-01 19:57:12 +00:00
bors 1fc4c57828 Auto merge of #1007 - canndrew:dox-traits, r=alexcrichton
add more built-in traits to dox.rs

Add/fix bitwise operation traits in dox.rs
2018-06-01 19:16:33 +00:00
bors c0817817ca Auto merge of #1005 - Susurrus:s390x_fix, r=alexcrichton
Fix sparc64 builds

Partially fixes #987.
2018-06-01 18:37:36 +00:00
bors 3783f1fbf4 Auto merge of #1001 - canndrew:add-rtentry, r=alexcrichton
add rtentry
2018-06-01 18:14:56 +00:00
Jeremy Soller a27fae96a0 Bump version to 0.2.42 2018-06-01 08:14:12 -06:00
bors 6acb091b5e Auto merge of #1008 - stratact:master, r=alexcrichton
Add `gethostname` support to Redox module

We need this for hostname support in Ion shell.
2018-06-01 13:53:40 +00:00
Andrew Cann 0198ea0d76 add const_fn feature 2018-06-01 17:31:11 +08:00
Andrew Cann c460b376c2 make dox::mem::size_of a const fn 2018-06-01 16:58:47 +08:00
stratact d650166116 Add gethostname support to Redox module 2018-06-01 01:01:20 -07:00
Andrew Cann 399c37d19d remove lone symbol 2018-06-01 15:39:37 +08:00
Andrew Cann 78dbddb4f1 move rtentry even further down heirarchy 2018-06-01 15:39:04 +08:00
Andrew Cann 29d944b71a move stuff into linux subdir 2018-06-01 15:37:57 +08:00
Andrew Cann 02d95f622b move some symbols down the heirarchy 2018-06-01 15:11:48 +08:00
Andrew Cann 0eaa305c71 add more built-in traits to dox.rs 2018-06-01 13:49:03 +08:00
Andrew Cann 1c00b9be5c fix type error 2018-06-01 13:38:25 +08:00
Andrew Cann 4b526c2524 move rtentry, add rest of net/route.h 2018-06-01 13:10:15 +08:00
Andrew Cann 651d6feafe add rtentry 2018-06-01 13:10:15 +08:00
Bryant Mairs 0f8a62bce6 Fail hard on sparc64 build failures 2018-05-31 19:27:03 -07:00
Bryant Mairs d41e62ac29 Correct path for sparc64 debian image 2018-05-31 19:24:53 -07:00
bors 6578c7c7d1 Auto merge of #1002 - canndrew:add-linux-ip-defs, r=alexcrichton
Add consts from netinet/ip.h
2018-05-31 14:20:47 +00:00
bors eb75e53f55 Auto merge of #1004 - canndrew:fix-size_of, r=alexcrichton
fix size_of function in dox.rs

I'm assuming this is meant to have the same signature as the one in core/std
2018-05-31 13:57:27 +00:00
Andrew Cann 020a68a1c4 fix size_of function in dox.rs 2018-05-31 16:47:19 +08:00
Andrew Cann 96c94839f1 make some symbols linux-specific 2018-05-31 14:21:46 +08:00
Andrew Cann e4a50811dd remove conflicting linux/ip.h header 2018-05-31 13:53:10 +08:00
Andrew Cann 8dd5125f1e add constants from linux/ip.h 2018-05-31 13:40:05 +08:00
bors 9f3681c35c Auto merge of #998 - canndrew:linux-socket-ioctls, r=alexcrichton
Add linux socket ioctl defs
2018-05-30 12:59:32 +00:00
Andrew Cann b02c6a328d Remove ioctl symbols for emscripten 2018-05-30 18:08:28 +08:00
Andrew Cann dfaa8f6055 correct some ioctl request values 2018-05-30 18:04:09 +08:00
Andrew Cann 93f9167bea Add linux socket ioctl defs 2018-05-30 17:27:18 +08:00
bors 4083c89d54 Auto merge of #994 - bkchr:android_fixes, r=alexcrichton
Moves `ifaddrs` and some functions to common Linux module

The `ifaddrs` interface is available since api version 24 in android.
The function signatures are now equal to the standard Linux function
signatures.
2018-05-26 19:45:44 +00:00
Bastian Köcher 6a6dc86fb2 Fixes test for android getifaddrs 2018-05-26 10:48:02 +02:00
Bastian Köcher 0280db396d Moves ifaddrs and some functions to common Linux module
The `ifaddrs` interface is available since api version 24 in android.
The function signatures are now equal to the standard Linux function
signatures.
2018-05-26 10:47:57 +02:00
bors a0edf29e28 Auto merge of #993 - redox-os:master, r=alexcrichton
Add SIG* on redox
2018-05-25 15:00:40 +00:00
jD91mZM2 786495f5f6
c_int over usize, whoops 2018-05-25 14:44:48 +02:00
jD91mZM2 030e503f81
Add SIG* on redox 2018-05-25 08:49:53 +02:00
bors ad4d49261d Auto merge of #992 - redox-os:master, r=alexcrichton
Add Redox definitions for net functions

Adds the following function definitions for Redox:

- getpeername
- sendto
- send
- recvfrom
- recv

If it is possible to do a release after merging this, that would be great! These function definitions are required for porting mio and tokio to Redox
2018-05-25 02:02:33 +00:00
jD91mZM2 24cf502f59
Add a bunch of functions on redox and hope for the best 2018-05-24 16:05:25 +02:00
bors 7d64d5a545 Auto merge of #990 - lucab:ups/android-sysconf, r=alexcrichton
android: add POSIX sysconf constants

Ref: 1c19194c9d%5E%21/libc/include/sys/sysconf.h
2018-05-22 15:00:46 +00:00
Luca Bruno 725608c9d2
android: add POSIX sysconf constants
Ref: 1c19194c9d%5E%21/libc/include/sys/sysconf.h
2018-05-22 12:21:24 +00:00
bors c5fb6dbe81 Auto merge of #989 - faern:release-0-2-41, r=alexcrichton
Bump to 0.2.41

I mainly need the change that makes the fields of `nlmsghdr` public (c8e9232f3d).
2018-05-21 14:32:07 +00:00
Linus Färnstrand 6bbe4412c4 Bump to 0.2.41 2018-05-21 13:30:14 +02:00
bors 5e025d65d4 Auto merge of #988 - morrowa:new_freebsd_sf_flags, r=alexcrichton
Add new sendfile flags for FreeBSD

Two new constants for FreeBSD:
* `SF_USER_READAHEAD` introduced in FreeBSD 12 [in this commit](b739d60344 (diff-b3f45d20f63d013e46f59f3f88a84d3d)) (omitted from tests until FreeBSD 12 is stable)
* `SF_NOCACHE` introduced in FreeBSD 11 [in this commit](aaa09777e1 (diff-b3f45d20f63d013e46f59f3f88a84d3d))
2018-05-17 17:31:29 +00:00
Andrew Morrow 96ee7bf81c Add new sendfile flags for FreeBSD 2018-05-17 08:54:53 -06:00
bors d0a5726599 Auto merge of #985 - longshorej:sem_getvalue, r=alexcrichton
Add sem_getvalue to unix

Adds `sem_getvalue` for supported platforms.

Reference: https://www.gnu.org/software/libc/manual/html_node/Semaphores.html
2018-05-10 23:35:10 +00:00
Jason Longshore b58c25de76 Temporarily disable s390x 2018-05-10 15:30:51 -05:00
Jason Longshore 802bd7de05 Temporarily disable sparc64 2018-05-10 12:21:50 -05:00
Jason Longshore 18ff68357d Add sem_getvalue to unix 2018-05-10 11:04:14 -05:00