summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | syntax fixAlan Somers2018-10-301-2/+2
| | |
| * | Include <sys/extattr.h> during CIAlan Somers2018-10-301-0/+2
| | |
| * | Add extattr(2) and extattr(3) definitions for FreeBSD and NetBSDAlan Somers2018-10-302-0/+111
|/ / | | | | | | | | | | | | DragonflyBSD does define 3 of these 14 functions. But I elected not to add it to the PR because I can't find any evidence that these syscalls are used on Dragonfly, even in the base system. And by themselves, those three are insufficient for the xattr crate.
* | Auto merge of #1098 - andrewtj:atj-cmsg-macros, r=alexcrichtonbors2018-10-292-0/+74
|\ \ | | | | | | | | | | | | | | | Add CMSG macros for unix/bsd and unix/notbsd This adds the ["Ancillary Data Object Macros" from RFC 2292](https://tools.ietf.org/html/rfc2292#section-4.3). My C's weak but I think I've translated them faithfully. Tested on macOS and Linux/glibc.
| * | Add CMSG macros for unix/bsd and unix/notbsdAndrew Tunnell-Jones2018-10-192-0/+74
| | |
* | | Auto merge of #1111 - gnzlbg:xcode10, r=alexcrichtonbors2018-10-292-6/+6
|\ \ \ | | | | | | | | | | | | update osx builds to xcode10
| * | | update osx constants for xcode10gnzlbg2018-10-292-4/+4
| | | |
| * | | update osx builds to xcode10gnzlbg2018-10-291-2/+2
| | |/ | |/|
* | | Merge pull request #1112 from gnzlbg/ios_sim_killAlex Crichton2018-10-292-24/+3
|\ \ \ | |/ / |/| | remove the iOS simulator targets from CI / update ctest
| * | remove the iOS simulator targets from CIgnzlbg2018-10-292-24/+3
|/ /
* | Auto merge of #1107 - ignatenkobrain:patch-1, r=alexcrichtonbors2018-10-271-0/+1
|\ \ | | | | | | | | | exclude CI files from crates.io
| * | exclude CI files from crates.ioIgor Gnatenko2018-10-261-0/+1
|/ /
* | Auto merge of #1106 - AdelieLinux:master, r=alexcrichtonbors2018-10-261-45/+45
|\ \ | | | | | | | | | | | | | | | Finish correcting ioctl(2) interfaces on musl/ppc64 Last commit fixed the function definition but not the constants. Oops.
| * | Finish correcting ioctl(2) interfaces on musl/ppc64A. Wilcox2018-10-261-45/+45
|/ / | | | | | | Last commit fixed the function definition but not the constants. Oops.
* | Auto merge of #1099 - gnzlbg:update_ctest, r=alexcrichtonbors2018-10-201-1/+1
|\ \ | | | | | | | | | update ctest version
| * | update ctest versiongnzlbg2018-10-191-1/+1
| | |
* | | Auto merge of #1101 - koutheir:master, r=alexcrichtonbors2018-10-204-0/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added dup3() support on FreeBSD, NetBSD, OpenBSD and Solaris Added `dup3()` support on FreeBSD, NetBSD, OpenBSD and Solaris. The `dup3()` API is present in: - FreeBSD 10.0 an later. - NetBSD 6.0 and later. - OpenBSD 5.7 and later. - Solaris 11.4 and later.
| * | Added dup3() support on FreeBSD, NetBSD, OpenBSD and Solaris.Koutheir Attouchi2018-10-204-0/+8
|/ /
* | Auto merge of #1097 - AdelieLinux:master, r=alexcrichtonbors2018-10-191-1/+1
|\ \ | |/ |/| | | Correct ioctl(2) interface definition for musl/ppc64
| * Correct ioctl(2) interface definition for musl/ppc64A. Wilcox2018-10-181-1/+1
| |
* | Auto merge of #1095 - xoac:rs485_support, r=alexcrichtonbors2018-10-186-0/+18
|\ \ | |/ |/| | | | | | | Add TIOCGRS485 and TIOCSRS485 for musl #1094 I need help with adding `TIOCSRS485` and `TIOCSRS485` constants to libc.
| * Try fix mips constantsSylwester Rąpała2018-10-181-2/+2
| |
| * Remove mistake #endifSylwester Rąpała2018-10-171-1/+1
| |
| * Add TIOCGRS485 and TIOCSRS485 for musl #1094Sylwester Rąpała2018-10-166-1/+19
| |
* | Auto merge of #1096 - jmmv:truncate, r=alexcrichtonbors2018-10-171-0/+1
|\ \ | |/ |/| | | Add truncate(2) to Unix platforms
| * Add truncate(2) to Unix platformsJulio Merino2018-10-161-0/+1
|/
* Auto merge of #1093 - jabedude:acct, r=alexcrichtonbors2018-10-152-1/+1
|\ | | | | | | | | | | Add acct(2) to BSD module The `acct` syscall is supported on BSD platforms, the PR aims to add it to the BSD module.
| * Remove rumprun target from .travis.ymlJosh Abraham2018-10-151-1/+0
| | | | | | This patch removes the x86_64-rumprun-netbsd triple from Travis CI.
| * Add acct(2) to BSD treeJosh Abraham2018-10-151-1/+0
| |
| * Add acct(2) to BSD treeJosh Abraham2018-10-141-0/+2
|/
* Auto merge of #1091 - xd009642:ptrace-arch-specific, r=alexcrichtonbors2018-10-088-0/+48
|\ | | | | | | | | | | | | | | Arch specific ptrace commands for BSDs This PR is to add architecture specific ptrace requests etc. Don't merge this yet if it passes I want to go over the other BSDs and architectures to see if I've missed anything I'm just creating the PR to get that initial CI approval that it's right as I expect this bit to be more fiddly.
| * Added PT_FIRSTMACHxd0096422018-10-082-0/+4
| |
| * Added openbsdlike and fixed netbsd/x86_64.rsxd0096422018-10-083-4/+16
| |
| * Fixed importxd0096422018-10-084-4/+4
| |
| * Arch specific ptrace commands for netbsdxd0096422018-10-084-0/+32
|/
* Auto merge of #1090 - xd009642:master, r=alexcrichtonbors2018-10-066-0/+78
|\ | | | | | | | | | | | | | | Add ptrace for non-apple BSDs So yesterday I did a PR for ptrace for apple, I've now gone through the ptrace header files for the other BSDs supported by libc and added ptrace + constants for all of them. Given the lack of ptrace in any of them I don't know if the test has to be changed at all for the new functions so I'll tackle any CI errors that come up if and as they appear.
| * Add ptrace for non-apple BSDsxd0096422018-10-066-0/+78
|/ | | | * Added ptrace and constants for all freebsdlike and netbsdlike OSs
* Auto merge of #1089 - xd009642:apple_ptrace, r=alexcrichtonbors2018-10-051-0/+20
|\ | | | | | | | | | | Added ptrace constants for apple I noticed the ptrace constants were missing for apple so I've added them referencing this [header](https://opensource.apple.com/source/xnu/xnu-792.13.8/bsd/sys/ptrace.h). This doesn't add any new functions just constants so I haven't added any tests which seems to be correct.
| * Fixed TRACE_ME typoxd0096422018-10-051-1/+1
| |
| * Added ptrace constants for applexd0096422018-10-051-0/+20
|/
* Auto merge of #1086 - IsaacWoods:master, r=alexcrichtonbors2018-10-052-36/+22
|\ | | | | | | | | | | | | | | Revisit work on cvoid At the recommendation of @SimonSapin [here](https://github.com/rust-lang/rust/issues/53856#issuecomment-422932721), I have revisited the build script to check whether `core::ffi::c_void` resolves, instead of relying on a particular `rustc` version. This allows use on `1.30.x` builds with `core::ffi::c_void`. I also noticed that `c_void` is defined twice in this crate, once in `lib.rs` and again in `switch.rs`. This instead defines `c_void` for every target except `wasm32`. As far as I can tell, this shouldn't actually change functionality on any existing targets.
| * De-duplicate c_cvoid definitionsIsaac Woods2018-10-042-36/+22
| |
* | Auto merge of #1088 - m-hilgendorf:patch-1, r=alexcrichtonbors2018-10-031-0/+1
|\ \ | | | | | | | | | | | | | | | Add ftok on MacOS Provide a symbol for the `ftok` function declared in sys/ipc.h, for completeness and to allow calling `ftok` to generate the key value for `shmat`.
| * | Add ftok on MacOSm-hilgendorf2018-10-021-0/+1
| |/ | | | | Provide a symbol for the `ftok` function declared in sys/ipc.h, for completeness and to allow calling `ftok` to generate the key value for `shmat`.
* | Auto merge of #1087 - kalamay:bsd-fcntl-locks, r=alexcrichtonbors2018-10-031-0/+4
|\ \ | |/ |/| | | | | | | | | | | Add fcntl constants for advisory locking on BSDs For range-based locking POSIX fcntl locks are needed. This adds the constants F_RDLCK, F_UNLCK, and F_WRLCK for FreeBSD, NetBSD, OpenBSD, DragonFlyBSD, and macOS/iOS. Fortunately these values are defined the same across these platforms.
| * add missing semi-colonsJeremy Larkin2018-10-021-3/+3
| |
| * Add fcntl constants for advisory locking on BSDsJeremy Larkin2018-10-021-0/+4
|/ | | | | | For range-based locking POSIX fcntl locks are needed. This adds the constants F_RDLCK, F_UNLCK, and F_WRLCK for FreeBSD, NetBSD, OpenBSD, DragonFlyBSD, and macOS/iOS. Fortunately these values are defined the same across these platforms.
* Auto merge of #1085 - jmmv:freebsd-utimensat, r=alexcrichtonbors2018-09-281-0/+3
|\ | | | | | | | | | | | | | | Expose futimens and utimensat on FreeBSD and DragonFly Should have sent this out with #1084 but I didn't notice then that these were missing (see https://github.com/nix-rust/nix/pull/944). Haven't been able to test these locally as I do not have access to these platforms. Will rely on CI to verify these for me.
| * Expose futimens and utimensat on FreeBSD and DragonFlyJulio Merino2018-09-251-0/+3
|/
* Auto merge of #1084 - jmmv:apple-utimensat, r=alexcrichtonbors2018-09-251-0/+3
|\ | | | | | | | | | | Expose futimens and utimensat on Apple platforms Entries copy/pasted from `netbsdlike/mod.rs`.