bors
6b9d5099d1
Auto merge of #2584 - GuillaumeGomez:upgrade, r=Amanieu
...
Upgrade crate version to 0.2.110
2021-12-09 21:02:24 +00:00
bors
ba77f2627f
Auto merge of #2579 - devnexen:sd14_linux_sched_compat, r=Amanieu
...
freebsd 14 adding linux sched api compatibility fn.
2021-12-09 19:01:14 +00:00
bors
bd967ef69e
Auto merge of #2548 - Mek101:master, r=Amanieu
...
Add linux ioctl constansts: BLKSSZGET and BLKPBSZGET
Fixes #2500
2021-12-09 16:22:28 +00:00
bors
fb3dec2881
Auto merge of #2525 - qwandor:mlock2, r=Amanieu
...
Add mlock2 on Android and Linux.
Unfortunately the type of the flags parameter is different between Bionic and glibc for some reason.
2021-12-09 15:14:01 +00:00
Guillaume Gomez
9375fc7e46
Upgrade crate version to 0.2.110
2021-12-09 13:05:57 +01:00
Andrew Walbran
ab1013b027
Skip mlock2 for Android test.
...
It was added in API level 30 but tests use level 28 still.
2021-12-07 12:43:40 +00:00
David Carlier
d982ea6eee
linux add pidfd_open syscall mode
2021-12-06 07:55:21 +00:00
bors
b76911ecbd
Auto merge of #2522 - rtzoeller:dfly_handle_deprecations, r=JohnTitor
...
Fix/remove deprecated DragonFly items
These items were recently deprecated on DragonFly, either because the platform does not define them or because they were out of date.
2021-12-05 21:32:42 +00:00
bors
7f8d244223
Auto merge of #2578 - GuillaumeGomez:upgrade, r=Amanieu
...
Upgrade crate version to 0.2.109
r? `@Amanieu`
2021-12-04 14:16:58 +00:00
David CARLIER
75dad067bf
freebsd 14 adding linux sched api compatibility fn.
2021-12-04 08:59:30 +00:00
bors
1c07f7c321
Auto merge of #2568 - devnexen:dfbsd_ioctl_new_queries, r=Amanieu
...
dragonflybsd adding few new ioctl queries
2021-12-04 01:08:04 +00:00
Guillaume Gomez
9db545f59d
Upgrade crate version to 0.2.109
2021-12-03 20:07:36 +01:00
Guillaume Gomez
ac6e16b90f
Add devstat items
2021-12-03 18:02:08 +01:00
Mek101
733b5a80e1
Add more linux ioctl constansts: BLKSSZGET and BLKPBSZGET
2021-12-03 12:14:59 +01:00
Guillaume Gomez
ddc070ccf6
Update ctest2 dependency
2021-12-01 22:54:51 +01:00
David CARLIER
d2e88fd0e3
ptrace_coredump ptrace query addition for FreeBSD 14.
2021-12-01 20:32:29 +00:00
Guillaume Gomez
343db850c8
Add missing FreeBSD mount items
2021-11-30 15:00:48 +01:00
David Carlier
bbcd8c84ca
dragonflybsd adding few new ioctl queries
2021-11-25 06:48:02 +00:00
bors
3684bd3c55
Auto merge of #2562 - devnexen:dfbsd_kinfo, r=JohnTitor
...
kinfo_cputime/kinfo_file addition for dragonfly
2021-11-25 05:24:51 +00:00
Guillaume Gomez
4297ec1832
Add missing procstat items for FreeBSD
2021-11-23 10:00:39 +01:00
DC
9f818b878d
kinfo_cputime/kinfo_file addition for dragonfly
2021-11-22 12:40:29 +00:00
Guillaume Gomez
bab20a83e3
Add missing net/if.h and net/if_mib.h items
2021-11-22 10:39:44 +01:00
bors
72cf1803b6
Auto merge of #2541 - GuillaumeGomez:upgrade, r=JohnTitor
...
Upgrade crate version to 0.2.108
2021-11-20 11:14:41 +00:00
bors
73320c5f91
Auto merge of #2549 - GuillaumeGomez:more-freebsd, r=JohnTitor
...
Add more items for FreeBSD
2021-11-19 23:24:41 +00:00
David Carlier
cd79a4af0a
couple of ptrace query for openbsd
2021-11-19 18:12:08 +00:00
Guillaume Gomez
441f19576f
Mark consts to be ignored depending on freebsd version
2021-11-19 11:42:40 +01:00
Guillaume Gomez
652abf1b85
Add sys/proc.h header into libc-test import list
2021-11-19 10:44:27 +01:00
bors
d429fc4e5d
Auto merge of #2551 - devnexen:ctl_describe_query_netbsd, r=JohnTitor
...
netbsd add sysctldesc query.
2021-11-18 19:55:05 +00:00
bors
88027032c7
Auto merge of #2550 - de-vri-es:restore-ioctl-types, r=JohnTitor
...
Use libc specific type for architecture specific ioctl defines on Linux.
This PR should fix the type change of some ioctl constants on Linux introduced by #2530 .
It does this by adding a `#[doc(hidden)]` type called `Ioctl`, which is defined in libc specific modules and used in arch specific modules.
However, when doing this I noticed that when I added `TCGETS2`, `TCSETS2`, ... in #2508 , I unconditionally used `c_ulong`. This is inconsistent with the other ioctl constants for `musl` and `uclibc`. This PR also changes those to use the libc specific types. However, PR #2508 has already been released in 0.2.107, so technically that is also a semver incompatible change. The impact is limited to new constants introduced in the last release, and only on `musl` and `uclibc` targets.
So what is more important here? Consistency in the type of ioctl constants, or being very strict with backwards compatibility? If it is the latter, I'll revert `TCGETS2` etc to `c_ulong` for this PR.
2021-11-18 18:36:19 +00:00
bors
fd4fe30463
Auto merge of #2545 - JohnTitor:freebsd-14-ci, r=JohnTitor
...
Add FreeBSD 14 CI
r? `@ghost`
2021-11-18 17:23:45 +00:00
David Carlier
5f7cbfe769
netbsd add sysctldesc query.
2021-11-17 19:15:00 +00:00
Maarten de Vries
7c95819cb6
Use libc specific type for architecture specific ioctl defines on Linux.
2021-11-17 19:42:43 +01:00
Yuki Okushi
9f350fc117
Add FreeBSD 14 module
2021-11-17 14:53:50 +09:00
bors
49e6255f56
Auto merge of #2542 - devnexen:ftok_nbsd_obsd, r=JohnTitor
...
netbsd/openbsd ftok addition.
2021-11-17 05:39:36 +00:00
Yuki Okushi
65b16d9424
Detect FreeBSD 14
2021-11-17 14:00:45 +09:00
Yuki Okushi
d0a7b0f791
Ignore TIOCREMOTE
on macOS
2021-11-17 13:01:26 +09:00
David Carlier
c42379d669
netbsd/openbsd ftok addition.
2021-11-16 17:49:34 +00:00
Guillaume Gomez
182de294bd
Upgrade crate version to 0.2.108
2021-11-16 10:06:08 +01:00
bors
69b86ab012
Auto merge of #2529 - devnexen:fbsd_vmtotal, r=JohnTitor
...
freebsd add vmtotal sysctl query
2021-11-16 00:08:46 +00:00
bors
9742c75787
Auto merge of #2533 - devnexen:win32_stdio_more, r=JohnTitor
...
windows add printf/fprintf
close #2241
2021-11-15 17:59:26 +00:00
David Carlier
8bcbec216d
freebsd add vmtotal sysctl query
2021-11-15 17:49:39 +00:00
bors
4f74e6eb8f
Auto merge of #2530 - de-vri-es:tty-cleanup, r=JohnTitor
...
Move more ioctl constants and flags to linux::arch::* modules.
This PR moves a few things to `linux::arch::*` modules and out of libc specific modules. Specifically, it:
* Moves the `TIOCM*` ioclt constants and associated flags.
* Moves the `BOTHER` flag.
* Adds the `IBSHIFT` flag.
Without this PR, there are some arch+libc combinations that are missing some of these constants. Since these are all ioctl numbers or arguments to ioctls, they are not specific to any libc flavour. `BOTHER` and `IBSHIFT` don't even appear in glibc or musl headers.
2021-11-15 15:54:45 +00:00
Maarten de Vries
3fa2809e43
Add IBSHIFT constant for Linux and Android.
2021-11-14 00:20:58 +01:00
Maarten de Vries
3643f01db4
Move BOTHER flag to linux::arch::*
2021-11-14 00:19:18 +01:00
David Carlier
afc6eb54dd
linux ctermid addition.
...
close #1928
2021-11-13 15:01:35 +00:00
David Carlier
8c531bf6d4
windows add printf/fprintf
...
close #2241
2021-11-13 11:19:06 +00:00
bors
67bf22c2dd
Auto merge of #2526 - devnexen:sem_fbsd, r=Amanieu
...
freebsd sem api addition
2021-11-11 01:46:10 +00:00
David Carlier
2676fd3ea8
openbsd backtrace api addition
2021-11-10 17:54:01 +00:00
David Carlier
96fa9a67d6
freebsd sem api addition
2021-11-09 22:03:30 +00:00
bors
c781f0b25b
Auto merge of #2523 - devnexen:netbsd_uucred, r=JohnTitor
...
netbsd add uucred struct
2021-11-09 00:58:53 +00:00