summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Increase retries of Android downloadsgnzlbg2019-05-232-2/+2
| | | |
| * | | Fix musl build jobsgnzlbg2019-05-231-7/+16
| | | |
| * | | Fix Android build jobs: not allowed to fail anymoregnzlbg2019-05-231-3/+0
| | | |
| * | | Add i686-linux-android build jobgnzlbg2019-05-231-0/+2
| | | |
| * | | Document what is wrong with sighandler_tgnzlbg2019-05-231-3/+11
| | | |
| * | | Enable more tests on Androidgnzlbg2019-05-231-14/+2
| | | |
| * | | [breaking change] remove getdtablesize - removed in Android API 21gnzlbg2019-05-231-1/+0
| | | |
| * | | [breaking change] remove __prognamegnzlbg2019-05-232-13/+0
| | | |
| * | | Enable more tests (some related to issue 1272) on Androidgnzlbg2019-05-231-32/+8
| | | |
| * | | Test strerror_r on Android and Linuxgnzlbg2019-05-2312-6/+63
| | | |
| * | | [breaking change] personality takes a c_uint instead of c_ulong on Androidgnzlbg2019-05-231-2/+1
| | | |
| * | | [breaking change] set/getpriority who argument is of type id_t on Androidgnzlbg2019-05-231-2/+3
| | | |
| * | | [breaking change] recvfrom takes a mut pointer on Androidgnzlbg2019-05-231-1/+1
| | | |
| * | | [breaking change] mprotect takes a mut pointer on Androidgnzlbg2019-05-231-1/+1
| | | |
| * | | [breaking change] msync takes a mut pointer on Androidgnzlbg2019-05-231-1/+1
| | | |
| * | | [breaking change] madvise takes a mut pointer on Androidgnzlbg2019-05-231-1/+1
| | | |
| * | | [breaking change] pthread_key_t is signed on Androidgnzlbg2019-05-234-1/+3
| | | |
| * | | [breaking change] fix types of stat/stat64 structs, atime/mtime/ctime fields ↵gnzlbg2019-05-234-30/+31
| | | | | | | | | | | | | | | | on Android
| * | | Deprecate ENOATTR on Linux and Androidgnzlbg2019-05-233-4/+14
| | | |
| * | | Enable more tests on Androidgnzlbg2019-05-231-145/+37
| | | |
| * | | [breaking change] sigaction.sa_flags changed from c_ulong to c_int on 32-bit ↵gnzlbg2019-05-231-1/+1
| | | | | | | | | | | | | | | | Android
| * | | [breaking change] sigaction.sa_flags changed signedness on x86_64-androidgnzlbg2019-05-231-1/+1
| | | |
| * | | [breaking change] __sched_cpucount changed pointer mutability on x86_64-androidgnzlbg2019-05-231-1/+2
| | | |
| * | | Update FILENAME_MAX, L_tmpnam, MS_*, SYS_ and NFT* Android constantsgnzlbg2019-05-235-10/+17
| | | | | | | | | | | | | | | | Non-existent constants like SYS_syscalls have been removed
| * | | Update Android SDK, NDK (r19c), and API versions (arm:24,x86:28)gnzlbg2019-05-235-29/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update Android NDK to version r19c * Update Android API versions to: * API 24 on arm and aarch64 targets * API 28 on x86 and x86_64 targets * Unified headers were removed in NDK 16 * Refactor the NDK and SDK installation scripts * OpenJDK version 8 must be kept: it appears that the Android tools do not work with more modern OpenJDK versions.
* | | | Auto merge of #1357 - semarie:openbsd-pfstatus, r=gnzlbgbors2019-05-231-1/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openbsd: add KERN_PFSTATUS and update KERN_MAXID `KERN_PFSTATUS` has been recently added, and so `KERN_MAX` value has changed. Add it to avoid failure on (local) ci. While here, I added few blank lines to separated series of constants.
| * | | | openbsd: add KERN_PFSTATUS and update KERN_MAXIDSébastien Marie2019-05-231-1/+11
|/ / / /
* | | | Auto merge of #1351 - jbaublitz:nl_consts_pr, r=gnzlbgbors2019-05-223-0/+145
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | Netlink constants for use with the route netlink subsystem Reopening a PR to close #1059. I'll be adding a few more constants but want to make sure CI works on Github first.
| * | | Fix builds by moving the rest of the current constants to linux/other/mod.rs ↵John Baublitz2019-05-222-5/+8
| | | | | | | | | | | | | | | | to avoid breaking musl
| * | | Fix builds by moving some constants to linux/other/mod.rs to avoid breaking muslJohn Baublitz2019-05-212-11/+14
| | | |
| * | | Fix builds by adding trailing commasJohn Baublitz2019-05-211-2/+2
| | | |
| * | | Fix builds by including linux/rtnetlink.h and linux/if_addr.hJohn Baublitz2019-05-211-0/+2
| | | |
| * | | Add more neighbour.h constantsJohn Baublitz2019-05-171-0/+13
| | | |
| * | | Add NTF_ constsJohn Baublitz2019-05-171-0/+8
| | | |
| * | | Add NUD_ constsJohn Baublitz2019-05-171-0/+11
| | | |
| * | | Add RT_TABLE_ constsJohn Baublitz2019-05-171-0/+6
| | | |
| * | | RT_SCOPE_ constsJohn Baublitz2019-05-171-0/+6
| | | |
| * | | RTN_ and RTPROT_ constsJohn Baublitz2019-05-171-0/+19
| | | |
| * | | Add RTA_ const valuesJohn Baublitz2019-05-171-0/+29
| | | |
| * | | Commit for rtnetlink constsJohn Baublitz2019-05-172-0/+45
| | | |
* | | | Auto merge of #1355 - gnzlbg:openbsdlike, r=gnzlbgbors2019-05-227-516/+490
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor OpenBSD-like module into OpenBSD The only OpenBSD-like OS that we support after bitrig's removal is OpenBSD itself. cc @semarie
| * | | | Refactor OpenBSD-like module into OpenBSDgnzlbg2019-05-227-516/+490
|/ / / /
* | | | Auto merge of #1354 - gnzlbg:gettimeofday, r=gnzlbgbors2019-05-2217-31/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [breaking change] gettimeofday 2nd argument incorrect in some targets The second argument of `gettimeofday` was a `*mut c_void` on all targets, but that type is incorrect in the following targets, where it should be a `*mut timezone` instead: On these other targets it appears that the signature of gettimeofday was incorrect (it takes a time-zone pointer instead of a void pointer): *linux+gnu: http://man7.org/linux/man-pages/man2/gettimeofday.2.html *freebsd: https://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=2&manpath=FreeBSD+11.2-stable&arch=default&format=html *openbsd: https://man.openbsd.org/gettimeofday.2 *android: https://github.com/ricardoquesada/android-ndk/blob/master/usr/include/sys/time.h *dragonfly: https://www.dragonflybsd.org/cgi/web-man?command=gettimeofday&section=2 This commit corrects the type on these targets, which is a breaking change. Due to how this API is commonly used (e.g. passing `ptr::null_mut` to the second argument), breakage should be minimal or non-existent (AFAICT only `time`, `libstd`, and `parking_lot` use this API, and they all should compile after this change). Users wanting to support both versions can just write `ptr as *mut _` instead. Closes #1338. --- On these targets, the signature of `gettimeofday` was correct (the second argument is a `void*`): * macosx: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/gettimeofday.2.html * linux+musl: http://git.musl-libc.org/cgit/musl/tree/include/sys/time.h#n11 * linux+newlib: https://chromium.googlesource.com/native_client/nacl-newlib/+/99fc6c167467b41466ec90e8260e9c49cbe3d13c/newlib/libc/include/sys/time.h#74 * netbsd: http://netbsd.gw.com/cgi-bin/man-cgi?gettimeofday+2.i386+NetBSD-8.0 * newlib: https://github.com/devkitPro/newlib/blob/devkitA64/newlib/libc/include/sys/time.h#L370 * solaris/illumos: https://illumos.org/man/3C/gettimeofday * emscripten: https://chromium.googlesource.com/external/github.com/kripken/emscripten/+/1.35.20/system/include/libc/sys/time.h#11 cc @alexcrichton
| * | | | [breaking change] incorrect API of gettimeofdaygnzlbg2019-05-2217-31/+32
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The second argument of `gettimeofday` was a `*mut c_void` on all targets, but that type is incorrect in the following targets, where it should be a `*mut timezone` instead: On these other targets it appears that the signature of gettimeofday was incorrect (it takes a time-zone pointer instead of a void pointer): linux+gnu: http://man7.org/linux/man-pages/man2/gettimeofday.2.html freebsd: https://www.freebsd.org/cgi/man.cgi?query=gettimeofday&apropos=0&sektion=2&manpath=FreeBSD+11.2-stable&arch=default&format=html openbsd: https://man.openbsd.org/gettimeofday.2 android: https://github.com/ricardoquesada/android-ndk/blob/master/usr/include/sys/time.h dragonfly: https://www.dragonflybsd.org/cgi/web-man?command=gettimeofday&section=2 This commit corrects the type on these targets, which is a breaking change. Due to how this API is commonly used (e.g. passing `ptr::null_mut` to the second argument), breakage should be minimal. Users wanting to support both versions can just write `ptr as *mut _` instead. Closes #1338.
* | | | Auto merge of #1340 - ibabushkin:mmap_flags, r=gnzlbgbors2019-05-217-11/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Added MAP_FIXED_NOREPLACE and MAP_SHARED_VALIDATE consts. This addresses #1339 and #1315. I believe the location of the constants is correct as-is, as both flags are linux-specific additions. Let me know if I missed anything.
| * | | | Disabled MAP_SHARED_VALIDATE and MAP_FIXED_NOREPLACE on musl for now.Inokentiy Babushkin2019-05-214-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we cannot yet bring a more recent musl to the mips and mipsel architectures, we disable support for these constant until a cascading update with rust-lang/rust has been done.
| * | | | Revert "An attempt to use upstream musl on mips."Inokentiy Babushkin2019-05-211-31/+9
| | | | | | | | | | | | | | | | | | | | This reverts commit 1a1b170a022427e0409dd5b45a3a666258fd2d22.
| * | | | Revert "Fixed a typo in mips docker file."Inokentiy Babushkin2019-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 7b171fb15acbbd31d65cdfd2f68149c4b99c6f63.
| * | | | Fixed a typo in mips docker file.Inokentiy Babushkin2019-05-201-1/+1
| | | | |
| * | | | An attempt to use upstream musl on mips.Inokentiy Babushkin2019-05-191-9/+31
| | | | |