Commit Graph

3051 Commits

Author SHA1 Message Date
Torbjørn Birch Moltu
2293748dfe Add FIODTYPE, FIGETLBA and FIODGNAME for DragonFly 2019-06-07 20:00:55 +02:00
Torbjørn Birch Moltu
a319b62fbd Generalize some FIO* constants to all BSDs
* Change the type of FIONCLEX on apple platforms from c_uint to c_ulong
* Add FIONCLEX, FIONREAD, FIOASYNC, FIOSETOWN and FIOGETOWN
  for DragonFly and OpenBSD
2019-06-07 20:00:55 +02:00
bors
d5a599ece7 Auto merge of #1393 - Susurrus:ptrace_detach, r=gnzlbg
Re-add PTRACE_DETACH for mips64 GNU targets

During the refactor in 4bd419eb, `PTRACE_DETACH` was accidentally removed on
these targets. This re-adds it.

Fixes brokenness encountered during nix-rust/nix#1035

CC @asomers
2019-06-07 12:48:46 +00:00
Bryant Mairs
1f27f5d247 Re-add PTRACE_DETACH for mips64 GNU targets
During the refactor in 4bd419eb, PTRACE_DETACH was accidentally removed on
these targets. This re-adds it.
2019-06-07 05:25:22 -07:00
bors
635ced10d3 Auto merge of #1388 - tormol:mq_time, r=gnzlbg
Add more posix message queue functions for Linux and all for solarish

I'm not able to run the tests locally (likely due to too old headers on Ubuntu 18.04), but I've tested my [posixmq crate](0decb7c82d) with these functions on Linux and OmniOS.
2019-06-07 11:14:25 +00:00
bors
9aa66dc0af Auto merge of #1390 - gnzlbg:ref_gnu, r=gnzlbg
Refactor the GNU module
2019-06-06 19:20:29 +00:00
gnzlbg
fbe38dd0ab Fix builds 2019-06-06 16:47:09 +02:00
gnzlbg
46dbf2d2e3 Fix siginfo_t in s390x 2019-06-06 16:29:44 +02:00
gnzlbg
090f873e2a Fix utmpx on s390x 2019-06-06 16:29:44 +02:00
gnzlbg
5e37553c4f Fix statfs 2019-06-06 16:29:44 +02:00
gnzlbg
f21d91fb38 Fix value of RLIM_INFINITY on mips32 2019-06-06 16:29:44 +02:00
gnzlbg
fc7c408bbe Fix formatting 2019-06-06 16:29:44 +02:00
gnzlbg
1c97b77cb3 Correct bugs in mips, mips64 and s390x 2019-06-06 14:35:44 +02:00
gnzlbg
4f78d5d420 Fix style 2019-06-05 11:51:24 +02:00
gnzlbg
b988e27498 Refactor linux x86_64 module 2019-06-05 11:35:00 +02:00
gnzlbg
60571f9143 Remove duplicated constants from x86_64 2019-06-05 11:32:56 +02:00
gnzlbg
d36963a0b8 Remove duplicated constants from s390x 2019-06-05 11:30:10 +02:00
gnzlbg
35ff8c2dbe Remove duplicated constnats from mips32 2019-06-05 10:28:11 +02:00
gnzlbg
4c3bc0dd62 Fix duplicated constants in x32 and not_x32 modules 2019-06-05 08:41:21 +02:00
Torbjørn Birch Moltu
bbcfd3cce2 Add posix message queue types and functions for solarish 2019-06-04 19:26:46 +02:00
Torbjørn Birch Moltu
25846bccc1 Add mq_timedsend() and mq_timedreceive() for Linux 2019-06-04 19:26:45 +02:00
gnzlbg
bf92b760cf Remove duplicated flock type in s390x 2019-06-04 18:35:07 +02:00
gnzlbg
4bd419ebec Move the mips module into the gnu module 2019-06-04 18:17:19 +02:00
gnzlbg
65f23e6aca Move s390x into the gnu module 2019-06-04 16:23:47 +02:00
bors
ce7e3a7e86 Auto merge of #1389 - gnzlbg:ref_linux2, r=gnzlbg
Rename the notbsd module to linux_like
2019-06-04 11:36:18 +00:00
gnzlbg
8f098a3e3a Rename the notbsd module to linux_like 2019-06-03 21:46:43 +02:00
bors
0e25493877 Auto merge of #1384 - gnzlbg:upgrade_rlimit_consts, r=gnzlbg
Upgrade rlimit consts

cc @aidanhs - this should fix the error you are seeing.
2019-06-02 09:14:49 +00:00
gnzlbg
5f7600c137 Bump patch version to 0.2.58 2019-06-02 10:32:35 +02:00
gnzlbg
d4cdc7c776 Upgrade target-dependent RLIMIT_ consts 2019-06-02 10:32:35 +02:00
gnzlbg
cdc48ea36d
Merge pull request #1382 from gnzlbg/rlimit_consts
Fix type of RLIMIT consts on linux gnu
2019-05-31 16:43:54 +02:00
gnzlbg
e07cd949b0 Bump patch version to 0.2.57 2019-05-31 15:22:58 +02:00
gnzlbg
f75483adf8 Fix type of RLIMIT constants or gnu linux targets 2019-05-31 14:35:46 +02:00
bors
0e39a5432f Auto merge of #1380 - gnzlbg:missing_tiors485, r=gnzlbg
Add missing TIOCGRS485, TIOCSRS485 constants to Linux

Closes #1094 .
2019-05-29 19:52:27 +00:00
bors
0e702c1b4e Auto merge of #1379 - gnzlbg:deprecate_fixed_width_ints, r=gnzlbg
Deprecate fixed width integer type aliases

cc @emilio - I think it makes sense to ensure that the latest released version of bindgen works properly with this change. That is, that even when asked to use C types from, e.g., `libc::`, it does not use aliases for the fixed-width integer C types (e.g. `libc::int64_t`) but uses Rust primitive types instead (e.g. `u64`).

Closes #1304 .
2019-05-29 18:13:57 +00:00
bors
e66b2a8758 Auto merge of #1378 - gnzlbg:statx, r=gnzlbg
Add statx on Linux

Closes #1178.
2019-05-29 15:56:14 +00:00
gnzlbg
bf1ab2b6a1 CI sparc64 glibc version does not have statx 2019-05-29 14:57:56 +02:00
gnzlbg
3c903c8d3c
Merge pull request #1375 from gnzlbg/deprecate_af_max
Deprecate AF_MAX and PF_MAX
2019-05-29 13:43:44 +02:00
gnzlbg
706b101cf8 Add missing TIOCGRS485, TIOCSRS485 constants to Linux
Closes #1094 .
2019-05-29 13:41:14 +02:00
gnzlbg
c5b72e3747 Use Rust types instead of fixed-width integer type aliases 2019-05-29 13:32:22 +02:00
gnzlbg
afa3edf86c Deprecates fixed-width integer type aliases
Closes #1304 .
2019-05-29 13:20:16 +02:00
gnzlbg
a0865265d4 Replace uses of fixed-width integer aliases with Rust types 2019-05-29 13:17:17 +02:00
gnzlbg
08a4519714 Refactor fixed-width integer types into its own module 2019-05-29 13:05:49 +02:00
gnzlbg
ed8b4cbbf6 Add statx on Linux
Closes #1178.
2019-05-29 12:55:37 +02:00
gnzlbg
a74b588ad2 Deprecate AF_MAX and PF_MAX 2019-05-29 12:24:47 +02:00
bors
b6ab2f056c Auto merge of #1374 - gnzlbg:cleanup_asmjs, r=gnzlbg
Cleanup asmjs
2019-05-28 23:07:30 +00:00
bors
08d448869e Auto merge of #629 - Susurrus:tcflag_t, r=gnzlbg
Correct datatype for various termios constants

This was a part of #625, but I moved it to a separate PR as it's a breaking change and those are currently blocked for Tier 1 platforms.
2019-05-28 20:28:33 +00:00
bors
c9fbd00633 Auto merge of #1372 - tklauser:f-seal-future-write, r=gnzlbg
Add F_SEAL_FUTURE_WRITE on Linux/Android

This was added in Linux 5.1 and will only show up in the next glibc
release, thus skip in tests.
2019-05-28 17:18:53 +00:00
gnzlbg
558d892c43 Bump libc version to 0.2.56 2019-05-28 18:19:35 +02:00
gnzlbg
504e10ec45 Re-enable asmjs on CI 2019-05-28 18:19:35 +02:00
Tobias Klauser
73643694b3 Add F_SEAL_FUTURE_WRITE on Linux/Android
This was added in Linux 5.1 and will only show up in the next glibc
release, thus skip in tests.
2019-05-28 16:33:01 +02:00