bors
7600416f1c
Auto merge of #2543 - asomers:fspacectl, r=Amanieu
...
Add fspacectl, new in FreeBSD 14
2022-01-21 20:47:54 +00:00
Alan Somers
be392861b6
Add fspacectl, new in FreeBSD 14
2022-01-20 18:49:54 -07:00
bors
72e41512de
Auto merge of #2638 - devnexen:shm_create_largepage_fbsd, r=Amanieu
...
freebsd 13 non thp userspace fn.
2022-01-21 00:46:52 +00:00
bors
599fa5c8bf
Auto merge of #2637 - asomers:no-kern-stacktop, r=Amanieu
...
Fix the build on the latest FreeBSD 14 snapshot
* KERN_STACKTOP was recently removed upstream, and has never been included in a stable FreeBSD release
* The MNTK_ flags are for kernel use only and aren't visible to userland
cc `@GuillaumeGomez`
2022-01-20 23:43:24 +00:00
David CARLIER
0ee0aee6a7
freebsd 13 non thp userspace fn.
2022-01-20 14:00:05 +00:00
Alan Somers
c53bec491e
Delete FreeBSD's MNTK_ constants
...
These are only for the kernel's internal use and aren't exposed to
userland. They also aren't stable across versions, and may be changed
or deleted at any time. For example, by
4dcdf3987c
2022-01-19 17:53:45 -07:00
Alan Somers
ec4f56f9af
Remove KERN_STACKTOP
...
It got removed by upstream. This should not be considered a breaking
change, because KERN_STACKTOP has never been included in a released
version of FreeBSD.
1544f5add8
2022-01-19 17:29:30 -07:00
Jonah Petri
0fcf5b32c5
uclibc: fix O_TMPFILE value, un-pub some unused fields to fix libc-test
2022-01-19 15:26:14 -05:00
bors
df679e8075
Auto merge of #2631 - devnexen:fbsd13_upd_shm, r=Amanieu
...
shm api update from FreeBSD 13
2022-01-17 03:06:28 +00:00
David CARLIER
0a57541a71
shm api update from FreeBSD 13
2022-01-16 09:00:40 +00:00
David CARLIER
6cce830b96
macOs update backtrace api.
2022-01-15 11:59:06 +00:00
David Carlier
fc9854f0d3
linux GLIBC add FUSE_SUPER_MAGIC
...
close #2621
2022-01-12 15:19:59 +00:00
David Carlier
1dd86b2d91
linux add ptrace_syscall_info ptrace query.
...
closes #1920
2022-01-03 20:14:31 +00:00
David Carlier
57314125bb
linux/android add ptracec_peeksiginfo_args struct.
2021-12-29 18:35:02 +00:00
bors
4281f02b4f
Auto merge of #2417 - devnexen:user_regs_struct_arm64, r=Amanieu
...
linux/android aarch64 add user_regs_struct and user_fpsimd_struct
2021-12-29 11:33:57 +00:00
bors
172ebd09f2
Auto merge of #2583 - devnexen:fbsd14_fctnl_update, r=Amanieu
...
add new fcntl operation for freebsd 14.
2021-12-19 20:26:13 +00:00
David CARLIER
ed010bfd38
add new fcntl operation for freebsd 14.
2021-12-19 19:13:21 +00:00
bors
1c67e33e8c
Auto merge of #2598 - devnexen:linux_bpf_upd, r=Amanieu
...
linux BPF filters operands
2021-12-19 15:34:42 +00:00
David Carlier
75b6904875
linux BPF filters operands
2021-12-19 04:52:53 +00:00
Sébastien Marie
ef1787aa4b
EV_SYSFLAGS changed value on upcoming 7.1
2021-12-17 08:57:34 +00:00
bors
55c44a250d
Auto merge of #2590 - GuillaumeGomez:private-fields, r=Amanieu
...
Make some freebsd private struct fields public and upgrade crate version to 0.2.112
Otherwise we can't use the structs at all...
2021-12-13 17:39:49 +00:00
Guillaume Gomez
4b0433d295
Make some private struct fields public
2021-12-12 23:33:25 +01:00
David CARLIER
da089ce64f
freebsd proposal to move sockcred2 usage in the root mod while ignoring it for FreeBSD 12.
2021-12-12 10:36:07 +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
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
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
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
ac6e16b90f
Add devstat items
2021-12-03 18:02:08 +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
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
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
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
David Carlier
8bcbec216d
freebsd add vmtotal sysctl query
2021-11-15 17:49:39 +00:00
Maarten de Vries
3fa2809e43
Add IBSHIFT constant for Linux and Android.
2021-11-14 00:20:58 +01:00
bors
67bf22c2dd
Auto merge of #2526 - devnexen:sem_fbsd, r=Amanieu
...
freebsd sem api addition
2021-11-11 01:46:10 +00:00