bors
782794985c
Auto merge of #902 - gnzlbg:missing_linux_intrinsics, r=malbarbo
...
Missing linux intrinsics
2018-02-01 15:41:35 +00:00
gnzlbg
ea58a8cb59
remove memfd_create
2018-02-01 14:42:49 +01:00
bors
c9e67b8f15
Auto merge of #911 - faern:add-netfilter, r=alexcrichton
...
Add netfilter constants to Linux
Constants and enums from [`netfilter.h`] and [`nf_tables.h`].
I was not really sure what to do with the enums, for example `nf_tables_msg_types`. But since I could not find a C enum mapped into a Rust enum in this crate I assumed you wanted them as constants instead.
I also wanted to get the `nf_inet_addr` union in here. But I did not find any unions in this crate so I was not sure how you would prefer it represented.
There are of course a billion more netfilter constants and types to map. But this is a good start.
[`netfilter.h`]: ead751507d/include/uapi/linux/netfilter.h
[`nf_tables.h`]: ead751507d/include/uapi/linux/netfilter/nf_tables.h
2018-01-31 06:28:39 +00:00
Linus Färnstrand
4d5ed47efd
Add netfilter constants to Linux and Android
2018-01-30 23:08:00 +01:00
bors
11cabded2b
Auto merge of #909 - alexcrichton:posix-spawn, r=alexcrichton
...
Add posix_spawn bindings
2018-01-26 01:34:54 +00:00
Alex Crichton
4621a34864
Add posix_spawn bindings
2018-01-25 17:12:24 -08:00
bors
56444a4545
Auto merge of #908 - malbarbo:musl-mips-static, r=alexcrichton
...
Do not assume dynamic linking in musl/mips targets
2018-01-24 02:38:22 +00:00
bors
9613051cd9
Auto merge of #887 - myfreeweb:freebsd-procdesc, r=alexcrichton
...
Add missing FreeBSD APIs
Process descriptors, realtime process priority, a couple missing kqueue event filters.
2018-01-23 15:56:00 +00:00
Greg V
c13302d87e
Add rtprio (realtime priority) API for FreeBSD and DragonFly
2018-01-23 13:13:48 +03:00
bors
e228797140
Auto merge of #907 - malbarbo:musl-ppc64-syscall, r=alexcrichton
...
Add syscall table for musl/powerpc64
2018-01-22 22:18:48 +00:00
Marco A L Barbosa
6a7dd87aab
Add syscall table for musl/powerpc64
2018-01-22 15:55:52 -02:00
Marco A L Barbosa
042b7070bc
Do not assume dynamic linking in musl mips
2018-01-22 15:38:05 -02:00
Greg V
2aeb382bb8
Ignore new FreeBSD constants in tests
...
CI still runs version 10
2018-01-22 18:15:36 +03:00
Greg V
6725fd6aef
Add FreeBSD process descriptors API
...
Available since FreeBSD 9.0, this API allows using local descriptors
instead of global PIDs. It works in Capsicum sandboxes.
2018-01-22 18:15:36 +03:00
Greg V
ecea23aa53
Add missing kqueue event filters on FreeBSD
2018-01-22 18:15:36 +03:00
bors
6fa612fc67
Auto merge of #905 - wfraser:dt_unknown, r=alexcrichton
...
add DT_UNKNOWN
The `d_type` field of `struct dirent` can be `DT_UNKNOWN` if a
filesystem doesn't support returning the file type in directory entries.
Linux's readdir(3) man page, for example, says: "Currently, only some
filesystems [...] have full support for returning the file type in
d_type. All applications must properly handle a return of DT_UNKNOWN."
2018-01-20 01:14:13 +00:00
Bill Fraser
1ada396bde
add DT_UNKNOWN
...
The `d_type` field of `struct dirent` can be `DT_UNKNOWN` if a
filesystem doesn't support returning the file type in directory entries.
Linux's readdir(3) man page, for example, says: "Currently, only some
filesystems [...] have full support for returning the file type in
d_type. All applications must properly handle a return of DT_UNKNOWN."
2018-01-19 15:58:03 -08:00
gnzlbg
c099bb9ba3
add sys/auxv.h to build.rs
2018-01-19 12:11:14 +01:00
gnzlbg
049b43e720
make malloc_usable size take a *mut instead of *const
2018-01-19 12:09:12 +01:00
bors
5e290c57b3
Auto merge of #903 - gnzlbg:bsd_domainname, r=alexcrichton
...
Bsd domainname
Closes #868 .
2018-01-18 23:12:06 +00:00
bors
6d5c28b75d
Auto merge of #904 - alexcrichton:fix-ci, r=alexcrichton
...
Fix containers using ubuntu 17.04
Apparently 17.04 has gone away? Or updates are failing now?
2018-01-18 19:28:20 +00:00
Alex Crichton
ac4afe746f
Switch to sparc64 to debian:stretch
...
Looks like ubuntu 17.04 is broken now and it fails to link on 17.10 and 18.04.
It seems to work on stretch though!
2018-01-18 11:24:40 -08:00
Alex Crichton
1f29ac3167
Move some containers to ubuntu 18.04
...
Apparently 17.04 is broken now?
2018-01-18 11:21:30 -08:00
gnzlbg
9908dcea17
move to linux::other
2018-01-18 17:16:33 +01:00
gnzlbg
6c63b9d8b2
fix style
2018-01-18 17:11:20 +01:00
gnzlbg
c91864394e
Adds Linux's memfd_create
2018-01-18 17:07:32 +01:00
gnzlbg
b2cfdf22f9
remove getauxval and malloc_usable_size from musl
2018-01-18 17:05:59 +01:00
gnzlbg
7c074b85d4
remove gethosname, use proper types depending on bsd flavour
2018-01-18 17:02:07 +01:00
gnzlbg
f6b64f09c7
Disable mallinfo on musl
2018-01-18 16:54:49 +01:00
gnzlbg
dca8a31d00
Add gethostname.
...
Closes #868 .
2018-01-18 10:34:31 +01:00
gnzlbg
e4bc821548
Add {get,set}domainname
2018-01-18 10:33:37 +01:00
gnzlbg
a2c0da68c3
Adds Linux's mallinfo
...
Closes #901 .
2018-01-17 18:20:03 +01:00
gnzlbg
82188828e9
Adds Linux's malloc_usable_size.
...
Closes #900 .
2018-01-17 18:20:03 +01:00
gnzlbg
bfd3bf34bb
Adds Linux's remap_file_pages .
...
Closes #899 .
2018-01-17 18:20:02 +01:00
gnzlbg
f8db1a0f47
Adds Linux's getauxval
...
Closes #874 .
2018-01-17 18:19:48 +01:00
bors
041fd77ea7
Auto merge of #898 - Susurrus:sockaddr_ctl, r=alexcrichton
...
Add sockaddr_ctl on Mac
2018-01-15 16:11:26 +00:00
Bryant Mairs
46933f0311
Add sockaddr_ctl on Mac
2018-01-14 22:26:46 -08:00
bors
3ccb0750ff
Auto merge of #879 - SanchayanMaity:kill, r=alexcrichton
...
Add killpg
2018-01-13 18:01:39 +00:00
bors
1e80d93800
Auto merge of #896 - cneira:master, r=alexcrichton
...
added EPOLL(5) for Illumos (Solaris fork)
EPOLL(5) is being used in crates like mio and iovec , this change allows those crates and other that depends on EPOLL(5) to be built in illumos systems.
2018-01-12 22:12:26 +00:00
neirac
c6bb76abf2
revert changes
2018-01-12 19:41:27 +00:00
neirac
6406f18b9f
fix style
2018-01-12 19:38:07 +00:00
neirac
c1df963888
epoll create syscall table numer
2018-01-12 15:25:46 +00:00
bors
16a0f4a3d6
Auto merge of #895 - GuillaumeGomez:difftime, r=alexcrichton
...
Difftime
Once merged, can you update the crate too please?
2018-01-12 15:08:43 +00:00
Guillaume Gomez
e91769eceb
Update libc version
2018-01-11 23:32:27 +01:00
Guillaume Gomez
d5d0bdf414
Add difftime function
2018-01-11 23:32:27 +01:00
neirac
3a7294ad0e
pub mod unix
2018-01-11 22:06:34 +00:00
neirac
94608b85e0
illumos defines
2018-01-11 21:12:23 +00:00
neirac
02b5a926d6
solaris mod
2018-01-11 20:38:30 +00:00
neirac
3e3c292063
solaris defs missing
2018-01-11 20:28:37 +00:00
neirac
5b6bab01f7
solaris defs missing
2018-01-11 20:27:39 +00:00