|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
78d34c77 |
| 04-Oct-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Deduplicate SystemV IPC defines from amd64/linux
MFC after: 1 week
(cherry picked from commit 4fe779900b5d9359969426d44679d28d3178604e)
|
| #
95ee2897 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
3d0addcd |
| 18-May-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Make ptrace_pokeusr machine dependent
Differential Revision: https://reviews.freebsd.org/D40096 MFC after: 1 week
|
| #
dd2a6cd7 |
| 18-May-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Make ptrace_peekusr machine dependend
And partially implement it for x86_64.
Differential Revision: https://reviews.freebsd.org/D40095 MFC after: 1 week
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
| #
19973638 |
| 28-Apr-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Move dev_t type declaration under /compat/linux
As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer on all platforms. Move it into the MI linux.h under /compat/linu
linux(4): Move dev_t type declaration under /compat/linux
As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer on all platforms. Move it into the MI linux.h under /compat/linux.
show more ...
|
| #
e0bfe0d6 |
| 28-Apr-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Make struct newstat to match actual Linux one
In the struct stat the st_dev, st_rdev are unsigned long.
|
| #
56c5230a |
| 22-Apr-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Fix LINUX_AT_COUNT comments
Differential Revision: https://reviews.freebsd.org/D39645 MFC after: 1 month
|
| #
7d8c9839 |
| 22-Apr-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Deduplicate linux_copyout_auxargs()
Export default MINSIGSTKSZ value for the x86 until we do not preserve AVX registers in the signal context.
Differential Revision: https://reviews.freeb
linux(4): Deduplicate linux_copyout_auxargs()
Export default MINSIGSTKSZ value for the x86 until we do not preserve AVX registers in the signal context.
Differential Revision: https://reviews.freebsd.org/D39644 MFC after: 1 month
show more ...
|
|
Revision tags: release/13.2.0 |
|
| #
9e7f03e9 |
| 04-Mar-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Drop unncessary struct l_ifconf declaration from amd64/linux
Its needed only for amd64/linux32 Linuxulator.
Differential Revision: https://reviews.freebsd.org/D38793
|
| #
cabbfb60 |
| 04-Mar-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Reduce code duplication between MD files
Move struct ifnet definitions under compat/linux.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38791
|
| #
575e48f1 |
| 01-Feb-2023 |
Dmitry Chagin <[email protected]> |
linux(4): Deduplicate MI futex structures.
MFC after: 1 week
|
|
Revision tags: release/12.4.0 |
|
| #
d416ee86 |
| 22-Jun-2022 |
Dmitry Chagin <[email protected]> |
linux(4): To reuse MD linux.h hide kernel dependencies unde _KERNEL constraint
MFC after: 2 weeks
|
| #
2ca34847 |
| 30-May-2022 |
Dmitry Chagin <[email protected]> |
linux(4): Reduce duplication between MD parts of the Linuxulator
Move sigprocmask actions defines under compat/linux, they are identical across all Linux architectures.
MFC after: 2 weeks
|
| #
af557e64 |
| 15-May-2022 |
Dmitry Chagin <[email protected]> |
linux(4): Rework the definition of struct siginfo to match Linux actual one
Rework the defintion of struct siginfo so that the array padding struct siginfo to SI_MAX_SIZE can be placed in a union al
linux(4): Rework the definition of struct siginfo to match Linux actual one
Rework the defintion of struct siginfo so that the array padding struct siginfo to SI_MAX_SIZE can be placed in a union along side of the rest of the struct siginfo members. The result is that we no longer need the __ARCH_SI_PREAMBLE_SIZE or SI_PAD_SIZE definitions.
Move struct siginfo definition under /compat/linux to reduce MD part. To avoid headers polution include linux_siginfo.h in the MD linux.h
MFC after: 2 weeks
show more ...
|
| #
21f24617 |
| 15-May-2022 |
Dmitry Chagin <[email protected]> |
linux(4): Move sigframe definitions to separate headers
The signal trampoine-related definitions are used only in the MD part of code, wherefore moved from everywhere used linux.h to separate MD hea
linux(4): Move sigframe definitions to separate headers
The signal trampoine-related definitions are used only in the MD part of code, wherefore moved from everywhere used linux.h to separate MD headers.
MFC after: 2 weeks
show more ...
|
| #
ba279bcd |
| 15-May-2022 |
Dmitry Chagin <[email protected]> |
linux(4): Cleanup signal trampolines
This is the first stage of a signal trampolines refactoring.
From trampolines retired emulation of the 'call' instruction, which is replaced by direct call of a
linux(4): Cleanup signal trampolines
This is the first stage of a signal trampolines refactoring.
From trampolines retired emulation of the 'call' instruction, which is replaced by direct call of a signal handler. The signal handler address is in the register.
The previous trampoline implemenatation used semi-Linux-way to call a signal handler via the 'jmp' instruction. Wherefore the trampoline emulated a 'call' instruction to into the stack the return address for signal handler's 'ret' instruction. Wherefore handmade DWARD annotations was used.
While here rephrased and removed excessive comments.
MFC after: 2 weeks
show more ...
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
0bf8d5d5 |
| 09-Nov-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: Replace ifdefs in ptrace with per-architecture callbacks
It's a cleanup; no (intended) functional changes.
Sponsored By: EPSRC Reviewed By: kib Differential Revision: https://reviews.freebsd
linux: Replace ifdefs in ptrace with per-architecture callbacks
It's a cleanup; no (intended) functional changes.
Sponsored By: EPSRC Reviewed By: kib Differential Revision: https://reviews.freebsd.org/D32888
show more ...
|
| #
f0d9a6a7 |
| 30-Oct-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: make PTRACE_SETREGS use a correct struct
Note that this is largely untested at this point, as was the previous version; I'm committing this mostly to get rid of `struct linux_pt_reg`.
Sponso
linux: make PTRACE_SETREGS use a correct struct
Note that this is largely untested at this point, as was the previous version; I'm committing this mostly to get rid of `struct linux_pt_reg`.
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D32735
show more ...
|
| #
3417c298 |
| 23-Oct-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: Constify bsd_to_linux_regset()
No functional changes.
Reviewed By: emaste Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D32599
|
| #
1ca6b15b |
| 20-Jul-2021 |
Dmitry Chagin <[email protected]> |
Drop "All rights reserved" from my copyright statements.
Add email and fixup years while here.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D30912 MFC after: 2 weeks
|
| #
26795a03 |
| 22-Jun-2021 |
Dmitry Chagin <[email protected]> |
linux(4): Rework Linux ppoll system call.
For now the Linux emulation layer uses in kernel ppoll(2) without conversion of user supplied fd 'events', and does not convert the kernel supplied fd 'reve
linux(4): Rework Linux ppoll system call.
For now the Linux emulation layer uses in kernel ppoll(2) without conversion of user supplied fd 'events', and does not convert the kernel supplied fd 'revents'.
At least POLLRDHUP is handled by FreeBSD differently than by Linux. Seems that Linux silencly ignores POLLRDHUP on non socket fd's unlike FreeBSD, which does more strictly check and fails.
Rework the Linux ppoll, using kern_poll and converting 'events' and 'revents' values. While here, move poll events defines to the MI part of code as they mostly identical on all arches except arm.
Differential Revision: https://reviews.freebsd.org/D30716 MFC after: 2 weeks
show more ...
|
| #
19593f77 |
| 31-May-2021 |
Dmitry Chagin <[email protected]> |
linux(4); Retire unnecessary __packed attribute from some struct's definition.
Differential Revision: https://reviews.freebsd.org/D30482 MFC after: 2 weeks
|
| #
95c19e1d |
| 21-May-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: refactor bsd_to_linux_regset() out of linux_ptrace.c
This will be used for Linux coredump support.
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30365
|
| #
916f3dba |
| 06-May-2021 |
Edward Tomasz Napierala <[email protected]> |
linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes
This is largely a no-op, to make future debugging slightly easier.
Sponsored By: EPSRC Differential Revision: https://revie
linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes
This is largely a no-op, to make future debugging slightly easier.
Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30035
show more ...
|