Boris Faure
28d0afa657
Add setfsgid()/setfsuid() on linux
2016-11-05 21:19:53 +01:00
Boris Faure
da445b99f2
Fix typo in comment
2016-11-05 20:16:50 +01:00
Jeremy Soller
fe0eb1175d
Place structs inside of s!
2016-11-03 17:28:56 -06:00
Jeremy Soller
4ddaf1f4c1
Minimal liblibc for Redox
2016-11-03 16:53:22 -06:00
Alex Crichton
15950baa0a
Merge pull request #438 from alexcrichton/less-dox
...
Generate docs on 1.10.0
2016-10-28 23:22:22 -04:00
Alex Crichton
0df7e408ef
Generate docs on 1.10.0
...
Should help us keep the size explosion under control.
2016-10-28 06:57:03 -07:00
Alex Crichton
b347e64ab1
Merge pull request #437 from zethra/master
...
Added tcsetpgrp
2016-10-28 09:43:35 -04:00
zethra
c21a30c787
Added tcsetpgrp
2016-10-27 16:01:18 -04:00
Alex Crichton
7d9b71f097
Merge pull request #435 from raphlinus/aarch64
...
Enable musl with aarch64
2016-10-24 16:40:47 -07:00
Raph Levien
d6c3de8c52
Enable musl with aarch64
2016-10-24 11:47:59 -07:00
Alex Crichton
a8e4698c9d
Merge pull request #434 from dgreid/setresuid
...
Add setresuid/setresgid for linux
2016-10-22 16:17:50 -07:00
Dylan Reid
519ffa076c
Add setresuid/setresgid for linux
...
Signed-off-by: Dylan Reid <dgreid@chromium.org>
2016-10-21 16:36:30 -07:00
Alex Crichton
c95defce07
Merge pull request #432 from raphlinus/fuchsia
...
Add support for Fuchsia
2016-10-21 08:58:40 -07:00
Alex Crichton
80e83e6275
Merge pull request #433 from alexcrichton/update
...
Try to fix powerpc64 and update to crates.io ctest
2016-10-21 08:58:18 -07:00
Raph Levien
8c06e14b68
Revert "Simplify configuration of ai_addr"
...
This reverts commit 7ac91c6d01
.
2016-10-20 18:22:43 -07:00
Alex Crichton
78070bdf28
Try to fix powerpc64 and update to crates.io ctest
2016-10-20 17:23:23 -07:00
Raph Levien
7ac91c6d01
Simplify configuration of ai_addr
...
Merge two separate config blocks for conditionally including ai_addr
in the addrinfo struct for unix/notbsd.
2016-10-20 15:28:06 -07:00
Raph Levien
6d24c4be08
Remove unwind from link libs
...
The reference to the unwind lib belongs in libstd, not here. Also fix
lint error.
2016-10-20 10:04:26 -07:00
Raph Levien
517e86dfe6
Add support for Fuchsia
...
These patches add support for the Fuchsia operating system. For the
time being, it shares a lot of infrastructure with the Linux target,
because of the use of a musl-based libc.
2016-10-20 08:37:55 -07:00
Alex Crichton
4260022409
Merge pull request #431 from frozencemetery/pty
...
Add UNIX 98 pty functions
2016-10-18 23:08:48 -07:00
Robbie Harwood
b6dd4279a9
[squash] Move glibc-isms around
2016-10-18 22:12:11 -04:00
Robbie Harwood
b9f5c460fd
Add UNIX 98 pty functions
2016-10-18 20:53:42 -04:00
Alex Crichton
f608f06e33
Merge pull request #430 from alexcrichton/bump
...
Bump to 0.2.17
2016-10-15 00:46:25 -07:00
Alex Crichton
f75965646e
Bump to 0.2.17
2016-10-14 21:59:09 -07:00
Alex Crichton
b01a0fbe5f
Merge pull request #428 from alexcrichton/fixes
...
Add SO_REUSEPORT to mips64
2016-10-14 21:33:25 -07:00
Alex Crichton
0d9d572a28
Merge pull request #429 from alexcrichton/stable-docs
...
Go back to stable for rustdoc
2016-10-14 21:33:16 -07:00
Alex Crichton
dcf47d21ba
Add a number of constants to mips64
2016-10-14 16:36:40 -07:00
Alex Crichton
ff9366548b
Go back to stable for rustdoc
2016-10-14 14:54:50 -07:00
bors
ebeab042e6
Auto merge of #426 - alexcrichton:s390x, r=alexcrichton
...
Fix the build on s390x
2016-10-10 23:51:06 -07:00
Alex Crichton
8a9d8c2c98
Fix the build on s390x
2016-10-10 23:23:08 -07:00
bors
53d0961663
Auto merge of #425 - alexcrichton:appveyor-target, r=alexcrichton
...
pass --target on appveyor
2016-10-10 23:13:53 -07:00
Alex Crichton
dbc65bc463
pass --target on appveyor
2016-10-10 16:41:23 -07:00
bors
56b270454f
Auto merge of #424 - mmatyas:android_afnetlink, r=alexcrichton
...
Make the AF_NETLINK constant available for Android
Currently the `AF_NETLINK` constant is not available for Android, but [it has the same value as on Linux](https://android.googlesource.com/kernel/common/+/android-4.4.y/include/linux/socket.h#177 ). To fix it, this patch moves the definition to the common `notbsd/mod.rs`.
(this fixes an [issue we found in Servo](https://github.com/servo/servo/issues/13154#issuecomment-251325701 ))
2016-10-10 07:39:26 -07:00
Mátyás Mustoha
c52458c38c
Make the AF_NETLINK constant available for Android
2016-10-10 14:14:07 +02:00
bors
f3acbba633
Auto merge of #422 - alexcrichton:workspaces, r=alexcrichton
...
Use workspaces in this repo
Also cache on appveyor to speed up builds.
2016-10-08 17:41:37 -07:00
Alex Crichton
739edbc468
Use workspaces in this repo
...
Also cache on appveyor to speed up builds.
2016-10-08 17:26:56 -07:00
bors
c90d379866
Auto merge of #420 - kallisti5:master, r=alexcrichton
...
Haiku: Add missing EAI_SYSTEM const
2016-10-08 12:39:58 -07:00
bors
5a17b4a733
Auto merge of #421 - kali:master, r=alexcrichton
...
define more MSG_NOSIGNAL
follow-up on rust-lang/rust#36824
2016-10-08 11:01:21 -07:00
Mathieu Poumeyrol
a59d299645
define more MSG_NOSIGNAL
2016-10-08 12:51:53 +02:00
Alexander von Gluck IV
ecfb968100
Haiku: Add missing EAI_SYSTEM const
2016-10-07 09:18:44 -05:00
bors
9497f192e7
Auto merge of #419 - vojtechkral:patch-1, r=alexcrichton
...
Typo in unix/solaris/mod.rs
2016-10-06 08:47:29 -07:00
Vojtech Kral
7e5a2e52fe
Typo in unix/solaris/mod.rs
2016-10-06 16:50:56 +02:00
bors
a6ada0035f
Auto merge of #413 - zenhack:CLONE_NEWCGROUP, r=alexcrichton
...
Define CLONE_NEWCGROUP
Should be fairly self explanatory.
2016-10-05 16:08:44 -07:00
Ian Denhardt
cd03b14093
Fix musl-i686 CI failures.
...
* Override the compiler via CC; ./configure can't seem to detect it.
* Unset CROSS_COMPILE when running make. Per the comment, we otherwise
end up invoking commands like i686-ar.
2016-10-05 18:53:52 -04:00
Ian Denhardt
0ecafc3197
Consolidate and fix musl-specific definitions.
...
Musl 1.1.14 defined these incorrectly, and we followed suit. They're
fixed in 1.1.15, so we fix them here as well.
Since these are kernel ABIs, the correct values match other libc
implementations, so we move them up to the topmost module possible.
2016-10-05 18:53:52 -04:00
Ian Denhardt
8ff1c4172e
Test against newer c libraries
...
Specifically:
* Update the base docker images to ubuntu 16.10
* Update musl to version 1.1.15
This is necessary since the versions we were previously using do not
define CLONE_NEWCGROUP, so adding the symbol to the libc crate causes
test failures.
2016-10-05 18:53:51 -04:00
Ian Denhardt
2faafb3815
Define CLONE_NEWCGROUP
...
Currently restricted to non-Android Linux. In theory this should work on
Android as well (since it's a function of the kernel ABI), but the
released version of the NDK doesn't export it, so putting it in
`notbsd/mod.rs` makes Travis very unhappy.
2016-10-05 18:51:21 -04:00
bors
7c493967d9
Auto merge of #417 - valarauca:master, r=alexcrichton
...
Added all additional ptrace options.
Added additional PTrace Flags.
All the `PTRACE_O` are flags options values that are passed with `PTRACE_OPTION`.
The `PTRACE_PEEKSIGINFO_SHARED` is used for setting/fetching signal masks when interacting with thread groups not individual threads.
`SYSEMU` stuff I pulled from the kernel sources. As far as I can tell these flags haven't been added to `<sys/ptrace.h>`, which is weird because the two `SYSEMU` calls have been live on x64 since 2011. I'm starting a thread on kernel-newies about it.
2016-10-04 22:51:39 -07:00
William Laeder
12e1cd1896
Forgot the x86 changes
2016-10-05 02:58:58 +00:00
William Laeder
a114e91ba7
Removed SYSEMU flags until I get the stuff sorted out with sys mainters.
2016-10-05 02:55:45 +00:00